Squid question

M.W. Chang mwchang
Mon May 17 11:57:14 PDT 2004


just use iptables to redirect port 80 to 3128 will do:

iptables -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port 3128

where $INTIF is the internal interface.

> Doesn't look like I can use transparent proxy with the squid package provided 
> by Fedora. At least the instructions I found at tldp didn't work. :-(
> 

-- 
  .~.    Might, Courage, Vision. In Linux We Trust.
 / v \   http://www.linux-sxs.org
/( _ )\  Linux 2.4.22-xfs
  ^ ^    12:38pm up 4 days, 23:08, 0 users, load average: 0.99, 0.97, 0.98


More information about the Linux-users mailing list