Re: How to setup both Transpaent Proxy and firewall on the same Machine.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks, By now I have solved it.


>  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.


U R RIGHT. eth0 is connected to INTERNET.

I changed it to eth2.





--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux