Modify or add following squid directives to /etc/squid/squid.conf
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.1.1 192.168.2.0/24
http_access allow localhost
http_access allow lan
Where,
httpd_accel_host virtual: Squid as an httpd accelerator
httpd_accel_port 80: 80 is port you want to act as a proxy
Wednesday, April 7, 2010
How to Setup a transparent proxy with Squid in three easy steps
Posted on 10:50 PM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment