# network interface settings; autogenerated # Please do NOT modify this file directly, unless you know what # you're doing. # # If you want to manage parts of the network configuration manually, # please utilize the 'source' or 'source-directory' directives to do # so. # PVE will preserve these directives, but will NOT read its network # configuration from sourced files, so do not attempt to move any of # the PVE managed interfaces into external files! source /etc/network/interfaces.d/* auto lo iface lo inet loopback iface lo inet6 loopback auto enp0s31f6 iface enp0s31f6 inet static address 94.130.**.***/26 gateway 94.130.**.*** up route add -net 94.130.**.*** netmask 255.255.255.192 gw 94.130.**.*** dev enp0s31f6 # route 94.130.**.***/26 via 94.130.**.*** iface enp0s31f6 inet6 static address 2a01:4f8:10b:****::2/128 gateway fe80::1 auto vmbr0 iface 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 1 iface vmbr0 inet6 static address 2a01:4f8:10b:2119::***/127 up ip -6 route add 2a01:4f8:10b:***::/64 dev vmbr1 auto vmbr1 iface vmbr1 inet manual bridge-ports none bridge-stp off bridge-fd 0 iface vmbr1 inet6 manual bridge-ports none bridge-stp off bridge-fd 0