Re: [squid-users] squid and x-forwarded for with dg

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 17 Jul 2007 20:30:33 +0200

tis 2007-07-17 klockan 07:43 -0400 skrev Dave:
> Hello,
> I've had squid going as a transparent proxy without issue. Now i've
> added dansguardian to the picture and after some debugging internet access
> is being denied. I am getting squid access denied messages, squid is saying
> access control configuration prevents the page from being displayed. In the
> logs the request is coming from the localhost address. I read in the faq
> that this would occur and the fix was to add the x-forwarded-for option I
> did this specifically:
>
> x-forwarded-for allow localhost

follow_x_forwarded_for allow localhost
acl_uses_indirect_client on (default)

and your Squid needs to be built with --enable-follow-x-forwarded-for

Regards
Henrik

Received on Tue Jul 17 2007 - 12:30:45 MDT

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