8 Aug
2006
8 Aug
'06
3:56 p.m.
1. tcp_outgoing_address <ip address of the cache server> 2. http_port 3128 tproxy
tproxy is a separate option. Provided that you actually patched squid to include tproxy support.
3. iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j TPROXY --on-port 80
--on-port 3128
Tried changing the proxy port to 80 and 3128 but no luck.
Jan Engelhardt --