LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   transparent proxy server setup for isp (http://www.linuxquestions.org/questions/linux-server-73/transparent-proxy-server-setup-for-isp-752566/)

bhumika 09-04-2009 01:10 AM

transparent proxy server setup for isp
 
i have configured transparent proxy squid-2.6-stable21 from squid-cache.org squid running fine but iptables not working properly.how to write iptables rule in /etc/rc.local.please details transparent proxy setup in centos 5.3 final.

shii_va 09-05-2009 05:32 AM

Quote:

Originally Posted by bhumika (Post 3669173)
i have configured transparent proxy squid-2.6-stable21 from squid-cache.org squid running fine but iptables not working properly.how to write iptables rule in /etc/rc.local.please details transparent proxy setup in centos 5.3 final.


iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8008


All times are GMT -5. The time now is 08:12 PM.