SQUID transparent proxy

 SQUID 2.6.STABLE3 的 transparent proxy 設定
很簡單,

http_port 3128 transparent

acl ithome src 192.168.124.0/24 192.168.123.0/24

http_access allow ithome

Port redirection

iptables -t nat -A PREROUTING -p TCP –dport 80 -j REDIRECT –to-port 3128