/etc/network/interfaces
source /etc/network/interfaces.d/*auto loiface lo inet loopbackauto enp0s31f6iface enp0s31f6 inet static address 94.130.x.x/26 gateway 94.130..x.xauto vmbr0iface vmbr0 inet static address 10.10.10.1/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 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 1auto vmbr1iface vmbr1 inet static address 172.16.0.1/24 bridge-ports none bridge-stp off bridge-fd 0
domain localdomainnameserver 172.16.0.1nameserver 10.10.10.1search localdomain