auto loiface lo inet loopbackauto ens18iface ens18 inet manualauto vmbr0iface vmbr0 inet static bridge-ports ens18 bridge-stp off bridge-fd 0# address x.x.x.x/24# gateway x.x.x.x#WANauto vmbr1iface vmbr1 inet static address 10.10.0.2/24 post-up ip route add default via 10.10.0.1 bridge-ports none bridge-stp off bridge-fd 0#LAN Externalauto vmbr100iface vmbr100 inet static address 10.100.0.0/24 bridge-ports none bridge-stp off bridge-fd 0#Firewall HA Bridgeauto vmbr2iface vmbr2 inet static address 10.20.0.2/24 bridge-ports none bridge-stp off bridge-fd 0#LAN Internalroot@pve:~# ip route showdefault via 10.10.0.1 dev vmbr110.10.0.0/24 dev vmbr1 proto kernel scope link src 10.10.0.210.20.0.0/24 dev vmbr2 proto kernel scope link src 10.20.0.210.100.0.0/24 dev vmbr100 proto kernel scope link src 10.100.0.0
auto loiface lo inet loopbackiface lo inet6 loopbackauto enp8s0iface enp8s0 inet static address x.y.z.86/32 gateway x.y.z.65 post-up echo 1 > /proc/sys/net/ipv4/ip_forward #post-up echo 1 > /proc/sys/net/ipv4/conf/enp8s0/proxy_arp post-up echo 1 > /proc/sys/net/ipv6/conf/enp8s0/forwarding post-up iptables -t nat -A PREROUTING -i enp8s0 -p tcp -d x.y.z.86 -m multiport ! --dport 22,3128,8006 -j DNAT --to 172.30.30.1 post-up iptables -t nat -A PREROUTING -i enp8s0 -p udp -d x.y.z.86 -j DNAT --to 172.30.30.1iface enp8s0 inet6 static address 2a01:x:y:z:1234::15/128 address 2a01:x:y:z:172::15/128 gateway fe80::1auto vmbr0iface vmbr0 inet static address x.y.z.86/32 bridge-ports none bridge-stp off bridge-fd 0 up ip route add x.y.z.87/32 dev vmbr0 up ip route add x.y.z.88/32 dev vmbr0#Proxmox WAN Bridgeiface vmbr0 inet6 static address 2a01:x:y:z:1234::15/80auto vmbr1iface vmbr1 inet static address 172.30.30.0/31 bridge-ports none bridge-stp off bridge-fd 0 post-up iptables -t nat -A POSTROUTING -s '172.30.30.1/31' -o enp8s0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '172.30.30.1/31' -o enp8s0 -j MASQUERADE#OPNsense WAN - Proxmox LANiface vmbr1 inet6 static address 2a01:x:y:z:172::815/80 post-up ip -6 route add 2a01:x:y:z:124::/80 via 2a01:x:y:z:172::1 post-up ip -6 route add 2a01:x:y:rr00::/56 via 2a01:x:y:z:172::1auto vmbr2iface vmbr2 inet static address 10.0.0.2/24 bridge-ports none bridge-stp off bridge-fd 0 post-up ip route add 10.0.0.0/8 via 10.0.0.2 dev vmbr2#LAN bridgeiface vmbr2 inet6 staticsource /etc/network/interfaces.d/*