Skip to content

Commit c8fc3f2

Browse files
authored
📝 Add note in "How to set up NAT gateway for private Cloud Networks" (#1331)
1 parent 67eac36 commit c8fc3f2

2 files changed

Lines changed: 24 additions & 10 deletions

File tree

tutorials/how-to-set-up-nat-for-cloud-networks/01.de.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Das Gateway sollte die IP des NAT-Servers sein, auf dem wir Masquerading konfigu
115115

116116
**Um den Client-Server zu konfigurieren,** müssen wir nur eine Standardroute hinzufügen.
117117

118+
> Um Probleme mit dem DHCP-Client zu vermeiden, deinstalliere oder deaktiviere `hc-utils` wie [hier](https://docs.hetzner.com/de/networking/networks/server-configuration#auto-konfigurationspaket-deinstallieren-oder-deaktivieren) erklärt.
119+
118120
- Zum Beispiel so:
119121

120122
```bash
@@ -206,6 +208,8 @@ Für die Konfiguration von Debian und Ubuntu wird in diesem Tutorial `vim` verwe
206208

207209
- **Auf dem Client-Server**
208210

211+
> Um Probleme mit dem DHCP-Client zu vermeiden, deinstalliere oder deaktiviere `hc-utils` wie [hier](https://docs.hetzner.com/de/networking/networks/server-configuration#auto-konfigurationspaket-deinstallieren-oder-deaktivieren) erklärt.
212+
209213
Da die Route auch persistent sein soll, bearbeiten wir die folgende Datei:
210214

211215
```bash
@@ -287,6 +291,8 @@ Für die Konfiguration von Debian und Ubuntu wird in diesem Tutorial `vim` verwe
287291

288292
- **Auf dem Client-Server**
289293

294+
> Um Probleme mit dem DHCP-Client zu vermeiden, deinstalliere oder deaktiviere `hc-utils` wie [hier](https://docs.hetzner.com/de/networking/networks/server-configuration#auto-konfigurationspaket-deinstallieren-oder-deaktivieren) erklärt.
295+
290296
Da die Route auch persistent sein soll, bearbeiten wir die folgende Datei:
291297

292298
> Führen Sie `ifconfig` aus, um den Namen vom Interface zu prüfen und ersetzen Sie falls nötig `enp7s0` mit `ens10`.
@@ -357,6 +363,8 @@ Für die Konfiguration von Debian und Ubuntu wird in diesem Tutorial `vim` verwe
357363

358364
- **Auf dem Client-Server**
359365

366+
> Um Probleme mit dem DHCP-Client zu vermeiden, deinstalliere oder deaktiviere `hc-utils` wie [hier](https://docs.hetzner.com/de/networking/networks/server-configuration#auto-konfigurationspaket-deinstallieren-oder-deaktivieren) erklärt.
367+
360368
Erstellen Sie die Datei:
361369

362370
```bash
@@ -431,11 +439,7 @@ Für die Konfiguration von Debian und Ubuntu wird in diesem Tutorial `vim` verwe
431439

432440
- **Auf dem Client-Server**
433441

434-
> CentOS Stream 8 / 9, Rocky Linux 8 / 9 und Fedora 36 / 37 benötigen zusätzlich:
435-
> ```bash
436-
> yum remove hc-utils -y
437-
> ```
438-
> Dies gilt auch für andere Methoden zum Hinzufügen einer Route zum Betriebssystem.
442+
> Um Probleme mit dem DHCP-Client zu vermeiden, deinstalliere oder deaktiviere `hc-utils` wie [hier](https://docs.hetzner.com/de/networking/networks/server-configuration#auto-konfigurationspaket-deinstallieren-oder-deaktivieren) erklärt.
439443

440444
Erstellen Sie die Datei:
441445

@@ -523,6 +527,7 @@ Wenn Sie die Routen nicht manuell hinzufügen möchten, können Sie beim Erstell
523527
append: true
524528
525529
runcmd:
530+
- apt remove -y hc-utils
526531
- reboot
527532
```
528533

@@ -579,6 +584,7 @@ Wenn Sie die Routen nicht manuell hinzufügen möchten, können Sie beim Erstell
579584
append: true
580585
581586
runcmd:
587+
- apt remove -y hc-utils
582588
- reboot
583589
```
584590

@@ -636,6 +642,7 @@ Wenn Sie die Routen nicht manuell hinzufügen möchten, können Sie beim Erstell
636642
append: true
637643
638644
runcmd:
645+
- dnf remove -y hc-utils
639646
- reboot
640647
```
641648

tutorials/how-to-set-up-nat-for-cloud-networks/01.en.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ The gateway should be the IP address of the NAT server on which you configure ma
115115

116116
**To configure the client servers**, we only need to add a default route.
117117

118+
> To avoid issues with the DHCP client, make sure `hc-utils` is disabled or deinstalled as explained [here](https://docs.hetzner.com/networking/networks/server-configuration#uninstalling-or-deactivating-the-auto-configuration-package).
119+
118120
- For example, like this:
119121

120122
```bash
@@ -206,6 +208,8 @@ The example commands below for Debian and Ubuntu use `vim`, which can be install
206208

207209
- **On the client servers**
208210

211+
> To avoid issues with the DHCP client, make sure `hc-utils` is disabled or deinstalled as explained [here](https://docs.hetzner.com/networking/networks/server-configuration#uninstalling-or-deactivating-the-auto-configuration-package).
212+
209213
Since we also want the route to be persistent, we edit the following file:
210214

211215
```bash
@@ -287,6 +291,8 @@ The example commands below for Debian and Ubuntu use `vim`, which can be install
287291

288292
- **On the client servers**
289293

294+
> To avoid issues with the DHCP client, make sure `hc-utils` is disabled or deinstalled as explained [here](https://docs.hetzner.com/networking/networks/server-configuration#uninstalling-or-deactivating-the-auto-configuration-package).
295+
290296
Since we also want the route to be persistent, we edit the following file:
291297

292298
> Run `ifconfig` to check the interface name and replace `enp7s0` with `ens10` if needed.
@@ -357,6 +363,8 @@ The example commands below for Debian and Ubuntu use `vim`, which can be install
357363

358364
- **On the client servers**
359365

366+
> To avoid issues with the DHCP client, make sure `hc-utils` is disabled or deinstalled as explained [here](https://docs.hetzner.com/networking/networks/server-configuration#uninstalling-or-deactivating-the-auto-configuration-package).
367+
360368
Create the file:
361369

362370
```bash
@@ -431,11 +439,7 @@ The example commands below for Debian and Ubuntu use `vim`, which can be install
431439

432440
- **On the client servers**
433441

434-
> CentOS Stream 8 / 9, Rocky Linux 8 / 9, and Fedora 36 / 37 additionally require:
435-
> ```bash
436-
> yum remove hc-utils -y
437-
> ```
438-
> This also goes for other methods to add a route to the OS.
442+
> To avoid issues with the DHCP client, make sure `hc-utils` is disabled or deinstalled as explained [here](https://docs.hetzner.com/networking/networks/server-configuration#uninstalling-or-deactivating-the-auto-configuration-package).
439443

440444
Create the file:
441445

@@ -523,6 +527,7 @@ If you don't want to setup the routes manually, you can use cloud-init and add t
523527
append: true
524528
525529
runcmd:
530+
- apt remove -y hc-utils
526531
- reboot
527532
```
528533

@@ -581,6 +586,7 @@ If you don't want to setup the routes manually, you can use cloud-init and add t
581586
append: true
582587
583588
runcmd:
589+
- apt remove -y hc-utils
584590
- reboot
585591
```
586592

@@ -638,6 +644,7 @@ If you don't want to setup the routes manually, you can use cloud-init and add t
638644
append: true
639645
640646
runcmd:
647+
- dnf remove -y hc-utils
641648
- reboot
642649
```
643650

0 commit comments

Comments
 (0)