Hi, I have given this argu in my iptables.. -A INPUT -p tcp -m tcp -s 0/0 -i eth1 --dport 21 -time --timestart 16:30 --timestop 16:35 --days Mon,Tue,Wed,Thu,Fri -j ACCEPT but when i applyed it its giving the error .. [EMAIL PROTECTED] root]# /etc/init.d/iptables restart Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter mangle nat [ OK ] Unloading iptables modules: [ OK ] Applying iptables firewall rules: iptables-restore v1.2.8: Unknown arg `--timestart' Error occured at line: 26 Try `iptables-restore -h' or 'iptables-restore --help' for more information. [FAILED] i did my best to get help from google but i din't get any answere can u guide me ??
-Manish Popli On 11/14/05, Subu_G <[EMAIL PROTECTED]> wrote: > > On 11/14/05, Tom Cooper <[EMAIL PROTECTED]> wrote: > > Hi Manish, > > > > Take a look at shorewall. I'm sure it can do it for you. > > > > HTH > > > > Tom > > Manish Popli wrote: > > > > >Hi All, > > > I want give access to my some users for some perticuler time let say > in the > > >morning and in the evening. > > >on my linux server ..rite now they are able to access 24*7 which i > dunno > > >want For that i want to schdule the IPtable > > >so it will autometicaly start and stop so that some perticuler users > will > > >get access for perticuler time > > >and rest should continue with there work without any intreption... how > can i > > >do that ? > > Hi Manish > You should really be using the netfilter extensions if you want to > limit accesss based on time (though not by user logins but by IPs) by > using the time patch. Check out patch-o-matic for your needs. Here is > the URL pointing you probably to your needs: > > > http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-3.html#ss3.19 > > HTH > - sg > > _______________________________________________ > ilugd mailinglist -- [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/[email protected]/ > > -- Manish Popli _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
