how to setup squid transparent proxy in centOS 6.4
i have search over the number of forums about transparent proxy in centOS but i cannot still solve my problem....
someone please explain me in brief about setting up a transparent proxy in my centOS proxy server. ethernet_internet - 192.168.1.13 ethernet_LAN - 10.180.5.2(as proxy server) Thank You |
So what is not working?
|
Quote:
And the very first hit in Google for "how to configure squid as a transparent proxy server on centos" is: http://xmodulo.com/squid-transparent...ntos-rhel.html Did you try looking this up? |
i configured the settings as given below, but when i access internet from client computer(removing the proxy settings from browser) i cannot access internet....but when i set the proxy settings(Address-10.180.5.2 port 3128) i can access the internet....
My aim is to make my proxy server(10.180.5.2) as transparent so that i don't have to configure proxy on client browser iptables *filter :INPUT ACCEPT [86:39104] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [77:37515] -A INPUT -s 10.180.5.2/32 -p tcp -m tcp --dport 3128 -j ACCEPT -A INPUT -s 10.0.0.0/8 -p tcp -m tcp --dport 3128 -j ACCEPT -A FORWARD -s 10.180.5.2/32 -i eth1 -j ACCEPT COMMIT *nat :PREROUTING ACCEPT [76:6891] :POSTROUTING ACCEPT [8:2751] :OUTPUT ACCEPT [8:2751] -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.180.5.2:3128 -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-port 3128 COMMIT squid.conf acl mylan src 10.180.5.2/32 http_access allow mylan http_access deny all http_port 3128 intercept |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:02 AM. |