Re: [squid-users] squid acl help needed

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 18 Sep 2003 15:28:27 +0200 (CEST)

On Thu, 18 Sep 2003, Payal Rathod wrote:

> Hi,
> I am at a loss to configure squid acl meeting the following
> requirements.
>
> 1. All clients must have internet access throughout the day.

acl my_network src 192.168.10.0/24 ...

[used below]

> 2. Clients 192.168.10.1, 192.168.10.2, 192.168.10.5 (can be
> changed to something appropriate if you wish) will have access to all
> sites throughout the day.

acl special_clients src 192.168.10.1 ...
http_access allow special_clients

> 3. Rest all can access net/other sites throughout but can access yahoo.com and
> hotmail.com *only* during 1:00 pm to 2:00 pm

acl webmail dstdomain .yahoo.com .hotmail.com
acl lunchbreak time 13:00-14:00

http_access deny !lunchbreak webmail
http_access allow my_network

in the order given, where instructed to by the comments in
the default squid.conf.

Regards
Henrik
Received on Thu Sep 18 2003 - 07:28:30 MDT

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