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: