RE: only allowing web in pre definne time slotes

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

 



One solution would be to setup cron jobs to start and stop Squid at the appropriate times. Like this:

0 8 * * * /etc/init.d/squid start
0 9 * * * /etc/init.d/squid stop
0 12 * * * /etc/init.d/squid start
0 13 * * * /etc/init.d/squid stop
0 17 * * * /etc/init.d/squid start
0 19 * * * /etc/init.d/squid stop

You may also want to check your firewall rules and make sure that users cannot bypass your Squid proxy and still access the Internet.


-----Original Message-----
From:	redhat-list-bounces@xxxxxxxxxx on behalf of lasa
Sent:	Wed 11/02/2005 06:59 AM
To:	redhat mailing list
Cc:	
Subject:	only allowing web in pre definne time slotes
Hi all,
I need to config in my RH 9.0 proxy and DHCP server to start Internet
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
it..............?

--
Lasantha Amarasinghe
Sri Lanka
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux