Re: [squid-users] ACL rules allow localhost, but I still get an Access Denied in transparent setup...

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 30 Jul 2007 15:56:11 +0200

On mån, 2007-07-30 at 14:46 +0300, GoogleGuy wrote:

> The weird thing is, if I manually configure Firefox to access the Web
> via localhost:3128, it works fine, no matter whether I use the
> "transparent" keyword or not. The ACL rule that allows localhost is
> in effect in this case, since if I change

It's not so strange. When intercepted the source ip for the request is
your real IP, not localhost..

> However, adding a rule like this:
>
> acl ME src 1.2.3.4
> http_access allow ME
>
> doesn't help at all.

Make sure you add it before the "deny all".. http_access rules is order
sensitive..

Regards
Henrik
Received on Mon Jul 30 2007 - 07:56:23 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT