Skip to content

Commit

Permalink
fix: missing firewall activation in node-nulink.md
Browse files Browse the repository at this point in the history
:bravo:
  • Loading branch information
BoboTiG committed Feb 10, 2024
1 parent 124805c commit e3e0cae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions sources/blockchain/node-nulink.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Installe le pare-feu, puis redémarre :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 22-25
:lines: 22-26
:language: shell
```

Expand All @@ -171,7 +171,7 @@ Installe Docker :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 27-34
:lines: 28-35
:language: shell
```

Expand All @@ -181,15 +181,15 @@ Pré-requis pour la prochaine étape :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 36-39
:lines: 37-40
:language: shell
```

Enfin, installe NuLink :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 41-42
:lines: 42-43
:language: shell
```

Expand All @@ -205,13 +205,13 @@ Enregistre les mots de passe pour plus tard :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS) ✍️
:lines: 44
:lines: 45
:language: shell
```

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS) ✍️
:lines: 45
:lines: 46
:language: shell
```

Expand All @@ -227,15 +227,15 @@ Reconnecte toi, et teste que les mots de passe sont visibles (tu devrais voir 3

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 47-49
:lines: 48-50
:language: shell
```

Initialise NuLink (remplace `FICHIER_CLEF_PRIVEE` par le nom du fichier contenant la clef privée du compte *worker* ["UTC--xxx"] et `ADRESSE_WORKER` par l'adresse publique du compte *worker*) :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS) ✍️
:lines: 51-64
:lines: 52-65
:language: shell
:emphasize-lines: 7,12
```
Expand All @@ -248,7 +248,7 @@ Depuis ton PC, récupère une copie de la clef privée (remplace `ADRESSE_IP` pa

```{literalinclude} snippets/node-nulink.sh
:caption: 🖥️ Ordinateur (PC) ✍️
:lines: 66-68
:lines: 67-69
:language: shell
:emphasize-lines: 1
```
Expand All @@ -261,7 +261,7 @@ Et c'est parti, démarre le nœud :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 69-77
:lines: 70-78
:language: shell
```

Expand Down Expand Up @@ -290,7 +290,7 @@ Action à faire dans l'ordre :

```{literalinclude} snippets/node-nulink.sh
:caption: ☁️ Serveur (VPS)
:lines: 79-82
:lines: 80-83
:language: shell
```

Expand Down
1 change: 1 addition & 0 deletions sources/blockchain/snippets/node-nulink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ apt update \
apt install -y ufw \
&& ufw allow ssh \
&& ufw allow 9151/tcp \
&& ufw enable \
&& reboot

curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc \
Expand Down

0 comments on commit e3e0cae

Please sign in to comment.