Re: [squid-users] Howto protect one network using ACL?

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Tue, 8 Jan 2002 13:46:31 +1000 (EST)

Hi,

Let's go back to your original ACLs. What you probably wanted was

acl localnet10 src 192.168.10.0/255.255.255.0
acl yahoo url_regex ^http://http.msg.yahoo.com
acl WORKING time MTWHF 08:00-17:00
acl LUNCH time MTWHF 12:00-13:00

Now restrict combinations of these, ie:

http_access allow localnet10 yahoo LUNCH
http_access allow localnet10 yahoo !WORKING
http_access deny localnet10

I suspect that's what you were originally trying to achieve: allow
localnet10 access only to yahoo and only at lunchtime and not during
"working" hours.

Colin
Received on Mon Jan 07 2002 - 20:46:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:40 MST