source /etc/network/interfaces.d/*auto loiface lo inet loopbackiface lo inet6 loopbackauto enp0s31f6iface enp0s31f6 inet static address 168.119.39.103/26 gateway 168.119.39.65 up route add -net <<publicIP>> netmask 255.255.255.192 gw <<GATEWAY>> dev enp0s31f6 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up iptables -t nat -A PREROUTING -i ens33 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.12 post-up iptables -t nat -A PREROUTING -i ens33 -p udp -j DNAT --to 10.10.10.12auto vmbr1iface vmbr1 inet static address 192.168.100.253/24 bridge-ports none bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094auto vmbr99iface vmbr99 inet static address 10.10.10.10/24 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.10.10.0/24' -o enp0s31f6 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o enp0s31f6 -j MASQUERADE