2 Oct
2001
2 Oct
'01
22:59
Hi all I'm configuring SuSEFirewall2 to masquerade an internal network, and to redirects requests to port 80 to an internal box. Masquerading works fine, but redirects not. I have tried too much and doesn't work : ( - These are the variables that i have used FW_FORWARD="0/0,10.0.0.X,tcp,80" or FW_FORWARD_MASQ="0/0,10.0.0.X,tcp,80,80" - In addition i have tried with configuring the firewall2-custom.rc.config script, with this lines: iptables -A PREROUTING -t nat -p tcp -d REAL_IP --dport 80 -j DNAT --to 10.0.0.X:80 or iptables -A POSTROUTING -t nat -p tcp -i eth0 -j DNAT --to 10.0.0.X:80 Any idea ?? thanks a lot !! Alfredo