Search squid archive

[squid-users] Re: ACL allowing a specific IP range

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

 



Hunter, Jess said:
> I am running Squid with a banned.txt file. However there are a few
> WebPages
> on the banned list that I want to be able to open up to a certain IP range
> (i.e.. 192.168.1.201,    192.168.1.210,    192.168.1.250). I am wanting to
> allow these select few the ability to access pages such as mail.yahoo.com
> while the rest of the network would still be denied.

You can either open up the whole list or nothing on the list, not 'a few
pages in the list'.

> Here is how I have my ACL's set up:
>
> acl MYLAN src 192.168.0.1-192.168.10.253/255.255.255.0
> acl banned dstdomain "path/to/banned/file/banned.txt"

> http_access deny banned
> http_access allow MYLAN
> http_access deny all

http_access allow banned MYLAN
http_access deny banned
http_access deny all

Joost


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

  Powered by Linux