Hi everybody!!!
I have Squid running very smoothly on my machine. It blocks a lot of domains wich I don´t want my clients to access. I want squid running as is but I´d like to put an extra rule that would prevent clients to connect to known unproductive sites on the working hours. They can connect to these sites before work hours, on the lunch hour and after working hours are finished. The sites I would like to prohibit are sites for chatting, playing games online etc.
I found this rule on the web and was trying to understand, so I could fit it to my needs. Here it is.
Code:
acl restricted_access time MTWHF 12:00-14:00
http_access allow localnet restricted_access
I can see that the first line defines the acl on a timed schedule and the second prevents all the machines on the localnet from accessing sites.
But what I really want is that everybody can access permitted sites at any given moment. But I want time access restriction to sites that are considered unproductive.
Can this be done?
Thanks!!!
