Search squid archive

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

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

 



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


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

  Powered by Linux