[squid-users] ACL allowing a specific IP range

From: Hunter, Jess <JHunter@dont-contact.us>
Date: Thu, 3 Feb 2005 07:49:05 -0600

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.

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

Any help would be greatly appreciated.

Jess

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005
 
Received on Thu Feb 03 2005 - 06:53:42 MST

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