I have followed the instructions at http://help.directadmin.com/item.php?id=380 on automatically blocking Brute Force Attacks. The blocked IP Addresses are listed in /root/blocked_ips.txt but I don't think iptables is working properly.
If I issue the following command (as root): /etc/init.d/iptables restart I get the following output:
[root@redacted init.d]# iptables restart
Bad argument `restart'
Try `iptables -h' or 'iptables --help' for more information.
I have the Brute Force threshold set at 20, but there are many, many more from the same IP Address.
I'm new to CentOS and DirectAdmin. Any help is GREATLY appreciated.
Thanks,
-Joe
If I issue the following command (as root): /etc/init.d/iptables restart I get the following output:
[root@redacted init.d]# iptables restart
Bad argument `restart'
Try `iptables -h' or 'iptables --help' for more information.
I have the Brute Force threshold set at 20, but there are many, many more from the same IP Address.
I'm new to CentOS and DirectAdmin. Any help is GREATLY appreciated.
Thanks,
-Joe