IP Ban with Iptables
698
You can block any IP address which is trying to reach your server by "iptables".
IP Ban:
iptables -A INPUT -s 192.168.2.1 -j DROP
This makes immediately disconnect on IP.
IP Ban Removal:
iptables -X INPUT -s 192.168.2.1 -j DROP
Both cases, you will use IP you would like to block instead of "192.168.2.1"
If you are looking for consultation, fill the Contact Form below.
Be alone, that is the secret of invention; be alone, that is when ideas are born.
Haluk YAMANER
Founder @ Future Software UAE
Founder @ Future Linux
Click here for more about me »