I want to add a rule to ipfw which activate from 3AM to 3PM : says: ipfw 05000 add deny all from 192.168.1.21 to any
How to run the scripts? thro crontab I fixed my crontab to 0 3 * * * /path/deny.sh 0 15 * * * /path/enable.sh
Marwan, are these scripts running as root? Perhaps you could modify the scripts to do
ipfw -a list
when they end, and put their outputs in a file e.g.
0 3 * * * /path/deny.sh >> /root/ipfwJob 0 15 * * * /path/enable.sh >> /root/ipfwJob
Also add
echo deny (or enable) starting
to the top of each script then post back with the contents of /root/ipfwJob after they've both run.
Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
