WHAT'S NEW?
Loading...

How to install CSF Firewall in cPanel/WHM

How to install CSF Firewall to Secure your Server ?

* Login to SSH Using putty with your root login details
* Copy and paste the following commands 1 by 1  :

cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

Now the installed has been completed :) But the Firewall will run in Test mode by Default.How to enable firewall and running to block IP Address which are abusing on the server..

Login to WHM Root > Plugins >  ConfigServer Security & Firewall  > Firewall Configuration

1 . Search for "TESTING =" and Set Value "0"
2 . Search for "RESTRICT_SYSLOG =" Set the Value "3"

Now come to end of the page "Click on Change" then Restart csf + lfd

The firewall was enabled and running :)

0 comments: