Re: [squid-users] cache.log states ALLOWED, returned page states Access Denied

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 13 Feb 2005 00:57:48 +0100 (CET)

On Sat, 12 Feb 2005 linux_user98765@yahoo.com wrote:

> With the help of my LUG I was able to setup squid as a transparent
> proxy:
>
> iptables -t nat -F
> iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT
> --to-port 3128

Ok.

> iptables -t nat -A OUTPUT -m owner --cmd-owner proxy -j ACCEPT
> iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports 3128

This is most likely your problem.

your access.log indicates Squid is being redirected back on itself when it
tries to go to the Internet.

Regards
Henrik
Received on Sat Feb 12 2005 - 16:58:00 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST