Jan Johansson (12.11.2002 11:04):>> Does Shorewall support for time limitation=3F > >No, not as such. > >> How to configure like that=3F please give me suggest > >Create multiple rule files, and replace them / restart shorewall with a >cron job.Use the latest version of shorewall (min. 1.3.10) with dynamic zone support. Deny access to internet from local. Create empty zone with access to internet. Create crontab for root with: shorewall add interface[:host] zone and =20 shorewall delete interface[:host] zone For example you''ve got: internal interface eth1 some empty zone "goodboyz" (zone "goodboyz" has access to the internet) you want to allow 192.168.1.15 between 7:00 - 11:00 Put the following entry in your root crontab: 00 07 * * * shorewall add eth1:192.168.1.15 goodboyz 00 11 * * * shorewall delete eth1:192.168.1.15 goodboyz Enjoy and sorry for my english, TimeLord
Dear all, Does Shorewall support for time limitation? for example I want to create rule for someone only has access internet between 7.00am - 11.00am? How to configure like that? please give me suggest Regards
> Does Shorewall support for time limitation?No, not as such.> How to configure like that? please give me suggestCreate multiple rule files, and replace them / restart shorewall with a cron job.
Since Shorewall supports dynamic allows/drop/deny from the command line, why not some simple crontab commands? JCS -----Original Message----- From: shorewall-users-admin@shorewall.net [mailto:shorewall-users-admin@shorewall.net] On Behalf Of warsono@unitedtractors.com Sent: Tuesday, November 12, 2002 1:27 AM To: shorewall-users@shorewall.net Subject: [Shorewall-users] time resticted Dear all, Does Shorewall support for time limitation? for example I want to create rule for someone only has access internet between 7.00am - 11.00am? How to configure like that? please give me suggest Regards _______________________________________________ Shorewall-users mailing list Shorewall-users@shorewall.net http://www.shorewall.net/mailman/listinfo/shorewall-users