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

From: Joost de Heer <sanguis@dont-contact.us>
Date: Fri, 4 Feb 2005 09:38:21 +0100 (CET)

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
Received on Fri Feb 04 2005 - 01:35:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST