Have you tried to set the FW_REDIRECT= variable? Avi
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 -- Avi Schwartz avi@CFFtechnologies.com
"I have to share the credit. I invented it, but Bill made it famous." - IBM engineer Dave Bradley describing the control-alt-delete reboot sequence