Search squid archive

Re: [squid-users] Making ACL for an IP range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



acl vip src 192.168.1.1-192.168.1.10/255.255.255.255
http_access allow vip
http_access deny all

> Dear Ivan 
>                For and IP to IP you can define as follow
> 
> acl pc1 src 192.168.1.30/255.255.255.255
> http_access allow pc1
> acl pc2 src 192.168.1.31/255.255.255.255
> http_access allow pc2
> 
> regrds
> Maham
> Pakistan
> 
> On 5/10/05, Ivan Petrushev <ivanatora1@xxxxxx> wrote:
> > Hello :-) That's my first mailist posting but I hope I'll get the
> > basics soon. Please excuse my poor english.
> > The problem I'm trying to solve is how to make ACL responding for a
> > range of IPs (not the whole subnet). If I wanted to make the ACL
> > responding for the whole subnet I would use CIDR or dotted notation
> > like:
> > acl mynetwork src 192.168.1.1/255.255.255.0
> > or
> > acl mynetwork src 192.168.1.1/24
> > I want that acl 'mynetwork' to respond only for IPs 192.168.1.30 -
> > 192.168.1.47 (for example). That is neither a subnetwork and can't be
> > done via the upper examples. So can I use (from IP) (to IP) range in
> > squid.conf and what is the exact syntaxis? I haven't seen anything
> > like that in the online documentation, but that doesn't mean it
> > doesn't exist :-)

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux