Re: [squid-users] acl rules

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

http_port can be listed multiple times if you like.

http_port 10.1.1.1:3128 10.2.1.1:3128

this way Squid will listen on both IP addresses.

The "myip" ACL type matches the IP address where Squid accepted the
request.

--
Henrik Nordstrom
Squid Hacker
Andrei B. wrote:
> 
> > > 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
> >
> 
> Oh, so this is what it refers to.
> I meant like this:
> http_port 10.1.1.1 3128
> ------------------------
> eht0: x.y.w.z
> eth1: a.b.c.d
> eth2: 10.1.1.1, 10.2.1.1
> 
> =====
> ing. Andrei Boros
> Centrul pt. Tehnologia Informatiei
> Societatea Romana de Radiodifuziune
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
Received on Fri Apr 13 2001 - 06:11:30 MDT

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