only allowing web in pre definne time slotes

Jack Challen jack_challen at ocsl.co.uk
Wed Nov 2 13:37:57 UTC 2005


lasa wrote:
> browsing only at 8.00-9.00am in the morning, 12.00-1.00pm in the afternoon
> and 5.00-7.00pm only. Is there any way to config this in the dhcpd.conf or
> in squid.conf file by editing the parameters of it. Pls specify the way of

Don't do anything to your dhcp configuration.
Edit squid.conf to add a time-based acl (Search squid.conf for "time")

something like

acl yourdefinition M 08:00-09:00

is a place to start.

You'll also want to check that your gateway/router allows only your 
proxy access to the web, otherwise clients could bypass the proxy and 
your rules.

jack




More information about the redhat-list mailing list