Search squid archive

Re: time ACL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never mind, found it.

AclDefnitions

    acl abc src 172.161.163.85
    acl xyz src 172.161.163.86
    acl asd src 172.161.163.87
    acl morning time 06:00-11:00
    acl lunch time 14:00-14:30
    acl evening time 16:25-23:59

Access Controls

    http_access allow abc morning
    http_access allow xyz morning lunch
    http_access allow asd lunch


Thanks


> How do I write the acl in such a way if all users IP is 192.169.10.0/32
> but from Monday-Friday 192.168.10.6 and 192.168.10.7 can only use it from
> 10AM to 12PM.
>
> Thank you
>
>
>> Yes, there's an acl named time that's described in squid.conf.
>>
>> #       acl aclname time     [day-abbrevs]  [h1:m1-h2:m2]
>> #           day-abbrevs:
>> #               S - Sunday
>> #               M - Monday
>> #               T - Tuesday
>> #               W - Wednesday
>> #               H - Thursday
>> #               F - Friday
>> #               A - Saturday
>> #           h1:m1 must be less than h2:m2
>>
>> You can make it work in conjunction with other acls.
>>
>>
>> Regards,
>>
>> Isnard
>>
>>
>> Em Qui, 2007-07-12 às 07:04 -0400, Monah Baki escreveu:
>>> Hi all,
>>>
>>> Is there a way to restrict some users access to the internet at a
>>> particular time or this is glabol, applies to everyone who has their
>>> proxy setting pointed to the server.
>>>
>>> Thank you
>>>
>>>
>>> BSD Networking, Microsoft Notworking
>>>
>>>
>>>
>>
>
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux