[EMAIL PROTECTED] wrote:
*************************************************
This message has been scanned by IMSS NIT-Silchar



Thwn how do i set time for the hostel people to access the net.   ??

http_access


Is it necessary to not to use the name twice in tow type of acls ??


I need the solution ?



# define who the students are ...
acl stud_hostel src 10.0.0.0/8

# define when they are/aren't allowed access ...
acl stud_time time MTWHF 06:00-18:00

# link ACLs to prevent students browsing at certain times
http_access deny stud_hostel stud_time

# .. alternativly let them through to anywhere on other times...
http_access allow stud_hostel !stud_time

Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE8

Reply via email to