Hi,
since switching to Proxmox VE 8 Postrouting SNAT (Unfortunately I must use NAT) in combination with the Proxmox Firewall is not working anymore even with conntrack zones enabled.
In Proxmox VE 7 it worked after adding
to the /etc/network/interfaces.
This is how my /etc/network/interfaces looks like
Any feedback is much appreciated.
Best regards
since switching to Proxmox VE 8 Postrouting SNAT (Unfortunately I must use NAT) in combination with the Proxmox Firewall is not working anymore even with conntrack zones enabled.
In Proxmox VE 7 it worked after adding
Code:
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
to the /etc/network/interfaces.
This is how my /etc/network/interfaces looks like
Code:
auto eno1
iface eno1 inet static
address <Main public IP>/26
gateway <Gateway IP>
auto vmbr0
iface vmbr0 inet static
address <Main public IP>/32
bridge-ports none
bridge-stp off
bridge-fd 0
#fix for SNAT and VE Firewall
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
#SNAT for Backup
post-up iptables -t nat -A POSTROUTING -s <internel IP Backup>/32 -o eno1 -j SNAT --to-source <Main public IP>
post-down iptabels -t nat -D POSTROUTING -s <internel IP Backup>/32 -o eno1 -j SNAT --to-source <Main public IP>
Any feedback is much appreciated.
Best regards