source /etc/network/interfaces.d/*auto loiface lo inet loopbackiface lo inet6 loopbackauto enp8s0iface enp8s0 inet static address 65.109.xxx.xxx/26 gateway 65.109.xxx.xxx post-up sysctl -w net.ipv4.ip_forward=1 post-up sysctl -w net.ipv6.conf.all.forwarding=1 post-up iptables -t nat -A PREROUTING -i enp8s0 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.1 post-up iptables -t nat -A PREROUTING -i enp8s0 -p udp -j DNAT --to 10.10.10.1#route 65.108.xxx.xxx/26 via 65.108.xxx.xxxiface enp8s0 inet6 static address 2a01:4f9:xxxx:xxxx:xxxx::1/128 gateway fe80::1auto vmbr0iface vmbr0 inet static address 10.10.10.0/29 bridge-ports none bridge-stp off bridge-fd 0 post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/29' -o enp8s0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.1/29' -o enp8s0 -j MASQUERADE#OPNSENSE WAN - Proxmox LANiface vmbr0 inet6 static address 2a01:4f9:xxxx:xxxx:xxxx::xxxx/127 up ip route add 2a01:4f9:xxxx:xxxx::/64 via 2a01:4f9:xxxx:xxxx:ffff::ffffauto vmbr1iface vmbr1 inet manual ovs_type OVSBridge#VM Net
auto vmbr0iface vmbr0 inet static address 212.89.XX.XX/24 gateway 212.82.XX.XX bridge-ports ens3 bridge-stp off bridge-fd 0 post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to-destination 10.1.1.2 post-up iptables -t nat -A PREROUTING -i vmbr0 -p udp -j DNAT --to-destination 10.1.1.2auto vmbr1iface vmbr1 inet static address 10.1.1.1/30 bridge-ports none bridge_stp off bridge_fd 0 post-up iptables -t nat -A POSTROUTING -s '10.1.1.0/30' -o vmbr0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.1.1.0/30' -o vmbr0 -j MASQUERADEauto vmbr2iface vmbr2 inet static address 192.168.99.1/24 bridge-ports none bridge_stp off bridge_fd 0