[squid-users] ACL and http_access
squid3 at treenet.co.nz
Fri Nov 13 08:42:59 UTC 2015
On 13/11/2015 8:31 p.m., Magic Link wrote:
> What i want if it's possible is : Users can't access Internet, except
> during two periods each day i 'll define. During these two periods,
> they can access only a few sites i define in the file (basic url http
> or https per line)I have to know if it's possible with Squid ? or
> Squidguard ? Or not at all ? Thank you !
The answer is "Yes".
Anthony already gave you the config that does it.
>> From: Antony.Stone
>> I would suggest (assuming your regex list is good) trying:
>> http_access allow localhost
>> http_access allow network working_hours whitelist
>> http_access allow network out_working_hours whitelist
>> http_access deny all
>> The above should allow access from 10.2.0.0/16 to the sites in your regex list
>> between the hours 09:30-10:30 and 17:30-18:30 M-F
More information about the squid-users