Hi there,
I own a server which has a Public IPv4, usually my Proxmox set-up's run out of the box and I am able to configure NAT/bridged networks automatically. But this time it doesn't seem to want to work.
I have the following inside /etc/network/interfaces:
I have created vmbr1, but whenever I try to spin up a Ubuntu VM, it never is able to pick up an IP through the interface of vmbr1. Any help would highly be appreciated so I can create this NAT setup
I own a server which has a Public IPv4, usually my Proxmox set-up's run out of the box and I am able to configure NAT/bridged networks automatically. But this time it doesn't seem to want to work.
I have the following inside /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
iface enp67s0f3 inet manual
iface enp67s0f0 inet manual
iface enp67s0f1 inet manual
iface enp67s0f2 inet manual
auto vmbr0
iface vmbr0 inet static
address 109.xx.xxx.xx/29
gateway 109.xx.xxx.xx
bridge-ports enp67s0f3
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/16
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/16' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/16' -o vmbr0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
I have created vmbr1, but whenever I try to spin up a Ubuntu VM, it never is able to pick up an IP through the interface of vmbr1. Any help would highly be appreciated so I can create this NAT setup
Last edited: