How to whitelist IP from server firewall

To whitelist this on the other servers you can run the command:

apf -a

It will first need to be removed from the deny list first if it is being

To remove the entry:

Run this command 

nano /etc/apf/deny_hosts.rules
Press control w to start a search, then enter the IP

Once you find the location remove the two lines that the IP consist of, then
exit and save the file with control x and then y to save and exit.

After this run the command to restart the firewall:

/etc/init.d/apf restart