How To Install CSF (Config Server Firewall) for WHM

Login as the root user to SSH and run the following commands to install CSF: # wget http://www.configserver.com/free/csf.tgz # tar -xzf csf.tgz # cd csf # sh install.sh If you would like to disable APF+BFD (which you will need to do to avoid conflicts): # sh disable_apf_bfd.sh Now, you can then configure csf and lfd Read more about How To Install CSF (Config Server Firewall) for WHM[…]

Add IP and Port to iptables

How to add an IP to access the plesk panel and ssh Open flle /etc/sysconfig/iptables: # nano /etc/sysconfig/iptables -A INPUT -s 72.177.xxx.xxx/32 -p tcp -m tcp –dport 8443 -j ACCEPT -A INPUT -s 66.226.xx.xx/32 -p tcp -m tcp –dport 10222 -j ACCEPT Save and restart iptables service iptables restart