Ina&Frank wrote: > > I added it in /etc/crontab (as root, using crontab -e) and added the line > 0 23 * * * root iptables -I FORWARD -s <ip-address> -j DROP > > Fooks, where am I missing the point? Why it won't edit the firewall at > 23:00hrs??
Check the syslog and see what it says? /var/log/syslog Instead of running the command there, perhaps you could run a script instead and then in the script you could run the command. That gives you a lot more debugging options. In the script you would log that the cron actually ran. You could look to why the command is failing. Once you had things debugged you could always go back to the single cron line. However, I think the script has long term advantages too. Bob
msg31405/pgp00000.pgp
Description: PGP signature