-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set up NAT gateway for private Cloud Networks #947
Labels
Existing tutorial
Changes on an existing tutorial
Comments
Optionally, you can use this #cloud-config
write_files:
- path: /etc/systemd/network/10-enp7s0.network
content: |
# Custom network configuration added by cloud-init
[Match]
Name=enp7s0
[Network]
DHCP=yes
Gateway=10.0.0.1
append: true
- path: /etc/systemd/resolved.conf
content: |
# Custom network configuration added by cloud-init
DNS=1.1.1.1 FallbackDNS=8.8.8.8 # Cloudflare and Google Fallback
append: true
runcmd:
- reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Reason
A Hetzner Ubuntu 24.04 CX22 has network interface named
enp7s0
, notens10
mentioned in the current version of the document.Suggested Fix
Tested with Ubuntu 24.04 CX22
enp7s0
(can be double-checked withifconfig
output)The text was updated successfully, but these errors were encountered: