Login to the server
for ip tables -
iptables -A INPUT -s -j DROP
For APF firewall is installed -
after rebooting, the ban will be removed and in case if you have APF, to open the deny host files, type in the following -
At the bottom, put in the IP address, thereafter save changes.
To restart APF,