How to run Squid as Transparent Proxy Server?

How to run Squid as Transparent Proxy Server?
How to configure squid transparent proxy server ?
squid transparent proxy server configuration ?
Benefit of setting transparent proxy is you do not have to setup individual browsers to work
with proxies on client computer.

step 1 : Edit http_port 3128 as blow

#vi /etc/squid/squid.conf

http_port 192.168.0.22:3128 transparent

#service squid restart

now add firewall rules in iptables

#iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3128
#iptables -t nat -A POSTROUTING -j MASQUERADE

Now Set Gateway (your squid proxy server IP) on client side.

it’s ready to go now.

invoke internet browser from any of the client on which gateway IP address has set to proxy server IP

How to run Squid as Transparent Proxy Server?
How to configure squid transparent proxy server ?
squid transparent proxy server configuration ?

 

 

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk