hi,
I tried to forward a port to another server temporarily:
iptables -t nat -A PREROUTING -p tcp -d SERVER_1_IP --dport 33919 -j DNAT --to-destination SERVER_2_IP:33919
iptables -t nat -A POSTROUTING -p tcp -d SERVER_2_IP--dport 33919 -j SNAT --to-source SERVER_1_IP
this worked, until I enabled pve firewall, which sets bridge-nf-call-iptables to 1.
what rules need to be set in this case to make it work again?
thanks
I tried to forward a port to another server temporarily:
iptables -t nat -A PREROUTING -p tcp -d SERVER_1_IP --dport 33919 -j DNAT --to-destination SERVER_2_IP:33919
iptables -t nat -A POSTROUTING -p tcp -d SERVER_2_IP--dport 33919 -j SNAT --to-source SERVER_1_IP
this worked, until I enabled pve firewall, which sets bridge-nf-call-iptables to 1.
what rules need to be set in this case to make it work again?
thanks