Re: [squid-users] Squid, redirect user by ip from 06 to 18:00 to you are not allowed to surf page

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Wed, 20 Apr 2005 19:45:32 +0200

Robert Becskei wrote:

>
> I would like to redirect a certain group of ip addresses
> (192.168.1.40-192.168.1.80) from 6:00 till 18:00 to a banned.html
> webpage, so they will only be able to surf the internet after
> workhours 18:00 till 06:00 .
>

Don't bother using a redirector. Use deny_info instead.

First, check out this example from the FAQ (time acl):
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.17

And then this one (deny_info):
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.24

/Andreas
Received on Wed Apr 20 2005 - 11:45:25 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT