Re: [squid-users] acl rules

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 13 Apr 2001 11:49:53 +0200

Andrei B. wrote:
>
> > > --------------
> > > acl localip src 10.1.1.0/24
> > > acl special src 10.2.1.10
> > > http_access allow localip special
> >
> > Should not work at all. A station cannot match both localip and
> > special at the same time.
>
> You're right. But how about the following?
> acl localip1 src 10.1.1.0/24
> acl localip2 src 10.2.1.0/24
> acl isp1 myip x.y.w.z
> acl isp2 myip a.b.c.d
> http_access allow localip1 isp1
> http_access allow localip2 isp2

Should be fine if your purpose is to allow 10.1.1.0/24 to connect to the
proxy using IP x.y.w.z, and 10.2.1.0/24 connect to the proxy using IP
a.b.c.d

--
Henrik Nordstrom
Squid Hacker
Received on Fri Apr 13 2001 - 04:01:47 MDT

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