Here is a simple ip ban script I made using iptables to ban and unban IPS from your server.
Download Download IPBan.rar for free on Filesonic.com
Extract and upload to /root of your server
Change file permissions on both to 755
Now when want to ban an ip you just type in command line
./ban_ip IPADDRESS and its banned using iptables
to unban type
./unban_ip IPADDRESS and its now unbanned
To make it stick so it dont remove itself after restarting server
Type
service iptables save
service iptables restart
Hope you find it useful, is easier to remember than the actual commands to do the same thing






