[CentOS] How to setup both Transpaent Proxy and firewall on the same Machine.

Robert Spangler lazydog at zoominternet.net
Thu Jun 14 02:01:06 UTC 2007

On Tue June 12 2007 03:50, Indunil Jayasooriya wrote:

>  And, Then, I did below command.
>  iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
>  --to-port 3128

Which side is eth0 pointing to?  LAN or Internet?  If it's the Internet side 
then you need to change the above to the LAN side.

You don't give enough information about you setup to give you a totally 
correct answer.



Smile... it increases your face value!

More information about the CentOS mailing list