Sure.
The aim is to deploy OPNsense on hetzner and route all traffic (in particular public) through it.
Each node will just have a private interface (no public ip).
In other words:
- node > OPNsense > internet
At the moment I am configuring the node via cloud-init:
The aim is to deploy OPNsense on hetzner and route all traffic (in particular public) through it.
Each node will just have a private interface (no public ip).
In other words:
- node > OPNsense > internet
At the moment I am configuring the node via cloud-init:
Code Select
#cloud-config
users:
- name: admin
shell: /bin/bash
sudo: ALL=(ALL) NOPASSWD:ALL
ssh_authorized_keys:
- <key>
write_files:
- path: /etc/resolv.conf
content: |
nameserver 10.0.0.10
- path: /etc/network/interfaces
content: |
auto enp7s0
iface enp7s0 inet static
address 10.0.0.20
netmask 255.255.255.0
network 10.0.0.0
gateway 10.0.0.10
dns-nameservers 10.0.0.10
- path: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
content: |
network:
config: disabled
runcmd:
- ip route add default via 10.0.0.1