# 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 loiface lo inet loopbackiface lo inet6 loopbackauto enp4s0iface enp4s0 inet static address x.x.1x.x/26 gateway x.x.x.1 up route add -net 94.130.161.0 netmask 255.255.255.192 gw 94.130.161.1 dev enp4s0 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 enp4s0 -p tcp -m multiport ! --dport 22535,8006 -j DNAT --to 10.10.10.1 post-up iptables -t nat -A PREROUTING -i enp4s0 -p udp -j DNAT --to 10.10.10.1# route x.x.x.0/26 via 94.130.161.1iface enp4s0 inet6 static address 2a01:xxxx:xxxx:f300::1/128 gateway fe80::1iface enp4s0 inet6 static address 2a01:xxxx:xxxx:2b1d::/64 gateway fe80::1iface eth0 inet manualauto vmbr0iface vmbr0 inet static address 10.10.10.0/31 bridge-ports none bridge-stp off bridge-fd 0 post-up iptables -t nat -A POSTROUTING -s '10.10.10.1/31' -o enp4s0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.1/31' -o enp4s0 -j MASQUERADE#OPNSense WAN - Proxmox LANiface vmbr0 inet6 static address 2a01:xxxx:xxxx:f300::1336/127 up ip -6 route add 2a01:xxxx:xxxx:f300::/56 via 2a01:xxxx:xxxx:f300::1337 dev vmbr0auto vmbr1iface vmbr1 inet manual ovs_type OVSBridge#VM Net
IPv6 address: 2a01:xxxx:xxxx:f300::1337/127Gateway: 2a01:xxxx:xxxx:f300::1336Block bogon networks checked
IP address: 2a01:xxxx:xxxx:f301::1/64Gatewaay: Auto-detectNothing else is checked
Protocol Source Port Destination Port Gateway Schedule Description IPv6 ICMP * * * * * * Allow ICMP
PING 2a01:4f8:13b:f301::1337(2a01:4f8:13b:f301::1337) 56 data bytesFrom 2a01:4f8:13b:2b1d:: icmp_seq=1 Destination unreachable: Address unreachable