> Can anyone tell me how to create acl's for
> time restrictions.
> I need to create time restrictions for some users
> ( alowing using proxy only from 8:00 to 17:00)
To restrict usage for all, in squid.conf you just declare
acl BUSINESSHOURS time M T W H F A S 08:00-17:00
http_access allow BUSINESSHOURS
http_access deny all
To restrict it for certain ip's:
acl BUSINESSHOURS time M T W H F A S 08:00-17:00
acl BOSS src 1.2.3.4/255.255.255.255
acl LAB src 10.10.10.0/255.255.255.0
http_access deny BOSS !BUSINESSHOURS
http_access deny LAB !BUSINESSHOURS
http_access allow all
Jussi
-- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Jussi Torhonen / Internet: jussi.torhonen@tietosavo.fi Tietosavo Oy / AX.25: OH7DC@OH7RBA.#KUO.FIN.EU P.O.Box 1582 / X.400: C=fi;ADMD=elisa;PRMD=tsnet;O=tietosavo; FIN-70461 KUOPIO / S=torhonen; G=jussi FINLAND / Tel: +358-17-193 231, Fax: +358-17-193 355 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Received on Sat Nov 29 1997 - 07:21:25 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:45 MST