Re: iptables
From: Keith Keller (kkeller-usenet_at_wombat.san-francisco.ca.us)
Date: 09/09/05
- Next message: Kenneth: "Re: firewall blocking"
- Previous message: kenz: "firewall blocking"
- In reply to: kenz: "iptables"
- Next in thread: kenz: "Re: iptables"
- Reply: kenz: "Re: iptables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 8 Sep 2005 15:49:43 -0700
On 2005-09-08, kenz <kenlec@gmail.com> wrote:
> is anyone know iptables can bind with time like squid to control the
> time of surfing ??
iptables itself can't, but cron can. Just write two firewall scripts:
one to block ''surfing'', one to allow it. Then put into crontab,
something like so:
# let folks browse starting midnight
0 0 * * * /path/to/firewall.browsingOK
# cut off browsing starting 12:01am
1 0 * * * /path/to/firewall.browsingBad
--keith
-- kkeller-usenet@wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom see X- headers for PGP signature information
- Next message: Kenneth: "Re: firewall blocking"
- Previous message: kenz: "firewall blocking"
- In reply to: kenz: "iptables"
- Next in thread: kenz: "Re: iptables"
- Reply: kenz: "Re: iptables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|