Search squid archive

Re: Acl List Order

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

 



On Thu, Sep 08, 2005 at 05:55:48PM +0930, Mark Day wrote:
> How could I extend the following lines to allow groups of IP's
> 
> acl restrictedusers src 192.168.100.127/255.255.255.255
> acl unrestrictedusers src 192.168.100.45/255.255.255.255

A bit complicated. This does the same:

acl restrictedusers src 192.168.100.127
acl unrestrictedusers src 192.168.100.45

If you want multiple IPs you can either put them on the same line like
this:

acl group-of-ips src 192.168.100.126 192.168.100.129 192.168.100.5

...or use external files...

acl group-of-ips src "/etc/squid/ips.txt"

And create that file with one IP address or network per line.

See also the documentation at www.squid-cache.org about ACLs
or my Wiki entry at workaround.org/moin/HowSquidAclsWork

 Christoph
-- 
~
~
~
".signature" [Modified] 3 lines --100%--                3,41         All

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

  Powered by Linux