auto loiface lo inet loopbackauto enp34s0iface enp34s0 inet static address xxx.xxx.xxx.xxx/26 gateway xxx.xxx.xxx.xxx post-up sysctl -w net.ipv4.ip_forward=1 post-up iptables -t nat -A PREROUTING -i enp34s0 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.2 post-up iptables -t nat -A PREROUTING -i enp34s0 -p udp -j DNAT --to 10.10.10.2auto vmbr0iface vmbr0 inet static address 10.10.10.1/30 bridge-ports none bridge-stp off bridge-fd 0 post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/30' -o enp34s0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/30' -o enp34s0 -j MASQUERADE#OpnSense WAN - Proxmox LANauto vmbr1iface vmbr1 inet manual ovs_type OVSBridge#VM Net mit VLANSauto vmbr2iface vmbr2 inet manual ovs_type OVSBridge#Service Bridge
Protocol Source Port Destination Port Gateway Schedule Pass IPv4 UPP * * WAN address 51820 * *
Protocol Source Port Destination Port Gateway Schedule Pass IPv4* WG1 net * * * * *
[Interface]PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAddress = 10.10.12.2/32[Peer]PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAllowedIPs = 10.10.12.0/24Endpoint = xxx.xxx.xxx.xxx:51820