On fre, 2007-09-21 at 05:37 -0700, hk- wrote:
> I have configured squid to run on a single computer like a transparent proxy.
> I used this mail from the archive as a install guide.
> http://www.mail-archive.com/squid-users@squid-cache.org/msg48149.html
>
> Adding this as a iptables rule
> iptables -t nat -A OUTPUT -o eth0 -p tcp --dport 80 -m owner --uid-owner
> root -j ACCEPT
This needs to be your cache_effective_user, not root... (default nobody
if you are using a standard Squid source build)
> iptables -t nat -A OUTPUT -o eth0 -p tcp --dport 80 -j REDIRECT --to-port
> 3128
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT