Block / unblock IPs on Linux servers


Warning: Undefined array key "socialize_RedditWidget" in /home/phpacd/websites/shkodenko.com/wp-content/plugins/socialize/frontend/socialize-services.php on line 166

There is several ways to block / unblock IPs on linux servers.

It can be done using IPTables firewall rules, server configuration files /etc/hosts.deny, using route.

I have written simple shell scripts to block / unlbock IPv4 which can be used on any Linux distribution if you have root administrator access.

You can get them for a small price:

Linux bash scripts to block/unblock IPv4 using route