I really got tired of dealing with spammers so I just started blocking IP address from these people who just want to submit garbage to our forms on the websites. Here is how I block and IP address.
1. Log into the root account.
2. Enter the code below at the command prompt:
iptables -A INPUT -s x.x.x.x -j DROP
To list what is in the iptables:
iptables -L
That is pretty much it, and they should be shut-down from the server completely!
No comments:
Post a Comment