Config Server Firewall is a very handy tool to manage iptables.
Instead of learning or having to remember much more difficult commands for iptables you can use CSF and it’s graphic environment in order to achieve your goals.
But even if you find command line much more easy…csf is here to help.
We already talked about unblocking an IP using CSF command line, here’s how we can also block an IP using CSF from Command Line.
First it’s always better to check if the IP is blocked already, using the following command line:
If not…and we need to block that IP (the real one) then you can fire the following command:
That’s it…the next screen will show you that the above IP is now blocked.
If you want to try this on a Linux Server you can always order your Best Performance VPS on GOZEN Host from here: VPS Servers