Search squid archive

Re: Restrict Access based on time

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

 



On Mon, May 22, 2006 at 03:54:45PM +0545, Harish Pokharel wrote:
> How can I restrict a particular ip to access for a certain duration of time?
> I am using a transparent proxy.
> 
> I have done following
> #---------------------------------------------------
> acl testuser src 192.168.2.100/255.255.255.255
> acl testtime time D 07:00-08:55
> http_access allow testuser testtime
> #------------------------------------------------------

Add a:

 http_access deny testuser

I assume you are allowing access anyway below this line. So if the user
is not caught by your http_access line it would be granted access later.

Kindly
 Christoph
-- 
Please reply to the list - not to me personally. Personal replies are ignored.

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

  Powered by Linux