[Fwbuilder-discussion] Time Limitations
Brought to you by:
mikehorn
From: Doug L. <su...@dr...> - 2005-04-27 23:18:47
|
Anybody know of a way to get time restrictions for a weekend period? Setting up FWBuilder to have a start day of 6 (Saturday) and a end day of 0 (Sunday) produces: $IPTABLES -A INPUT -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days -j ACCEPT $IPTABLES -A OUTPUT -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days -j ACCEPT $IPTABLES -A FORWARD -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days -j ACCEPT Whereas, a start day of 5 (Friday) and a end day of 6 (Saturday) produces: $IPTABLES -A INPUT -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days Fri,Sat -j ACCEPT $IPTABLES -A OUTPUT -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days Fri,Sat -j ACCEPT $IPTABLES -A FORWARD -s 192.168.145.0/24 -m state --state NEW -m time --timestart 09:00 --timestop 19:00 --days Fri,Sat -j ACCEPT Current os: WinXP Pro SP2 Current build: v2.07 build 582 Suggestions? Doug |