Re: Squid 2.2 always_direct ACL

From: Thilo Manske <Thilo.Manske@dont-contact.us>
Date: Mon, 7 Jun 1999 04:56:21 +0200

On Mon, Jun 07, 1999 at 12:24:38PM +1000, Fred wrote:
> I am trying to set up the equivalent of the old local_ip directive in squid
> 2.2STABLE3
>
> I see the example in the config file:
> # acl local-servers dstdomain my.domain.net
                      ^^^
> # always_direct allow local-servers

> acl local-servers src x.x.1.0/24
                    ^^^
> acl local-servers2 src x.x.2.0/24
                     ^^^
> always_direct allow local-servers
> always_direct allow local-servers2

"src" will catch your client adresses.
This is not what you want, is it?

So try:
acl local-servers dst x.x.1.0/24
                  ^^^
BTW: You probably don't want to cache your
local servers, so you should add

no_cache deny local-servers

to fully emulate local_ip.

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.
Received on Sun Jun 06 1999 - 20:35:01 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:46 MST