iptables port80 forward and snat
I have a RH ES4 box with 3 eth.ports and safesquid installed.
Safesquid listens on port 8080.
Eth0 = 18.104.22.168 (Internet connection)
Eth1 = 22.214.171.124
Eth2 = 192.168.1.1 (needs to be sNATted)
How do I setup iptables to:
1- Snat traffic coming in on eth2
2- port forward http traffic coming in on eth1 to port 8080 (so it will hit the safesquid running on the box)
Thanks for any help.