[KLUG Members] ipcop ipchains rules

Rusty Yonkers members@kalamazoolinux.org
Wed, 20 Feb 2002 10:50:03 -0500


I want to shutdown my ipcop firewall at 11 at night when the teens are to be 
in bed and start it up the next morning.  The web site says I should be able 
to put in a cron job that would have the following lines....

0 23 * * * /sbin/ipchains -I ethernetout 1 -i eth1 -j DENY
0 23 * * * /sbin/ipchains -I ethernetin 1 -i eth1 -j DENY

0 6 * * * /sbin/ipchains -D ethernetout 1 -i eth1
0 6 * * * /sbin/ipchains -D ethernetin 1 -i eth1

When I type the /sbin/ipchains part of the listings in  at the command prompt 
I first get the error "ethernetout chain name too long must be 8 characters 
or less" 

I change the name to etherout and run the command again and get the error "no 
target by that name".    

Any suggestions on what I am doing wrong??

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com