squid as a transparent proxyPut this in /etc/squid/squid.conf: httpd_accel_host virtual httpd_accel_port 80 ... httpd_accel_with_proxy on ... httpd_accel_uses_host_header on ... header_access Via deny all header_access X-Forwarded-For deny all ..then do this: $ iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128 Thanks to Don for this. $Revision: 1.2 $, $Date: 2006/04/11 04:43:07 $ |