* Christopher Mahmood
* Patrick Shanahan (WideGlide@MyRealBox.com) [030319 12:01]:
Thanks, but I guess I do not know how to write the script as this does not work: iptables -A INPUT -j DENY -d 24.208.133.143
iptables -A INPUT -s the_bad_ip -d 0/0 --proto all -j DROP
tks, but had problems. Made changes to both files, SuSEfirewall2 to use the SuSEfirewall2-custom, and added the iptables line above to SuSEfirewall2-custom. ... rcSuSEfirewall2 reload failed The line in SuSEfirewall2 to load the custom file is not correct. Changed from: /etc/sysconfig/SuSEfirewall2-custom to: /etc/sysconfig/scripts/SuSEfirewall2-custom I did *not* put the address of the custom file in SuSEfirewall2, it was a commented line. Just happened to notice the difference. tks again, will report success. 24.208.133.143 tries to access every hour, that will be in about 20 minutes. -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org