How to install/uninstall CSF firewall?

Back

CSF is a common used software firewall for linux based on iptables. They have a plugin available for Cpanel and we'll explain you how to install.
First make sure you are logged in as root and have no other firewall installed.


- Download the CSF files:

wget https://download.configserver.com/csf.tgz

- Extract the files on your server and enter the csf directory:

tar -xvf csf.tgz && cd csf

- Install CSF for Cpanel:

sh install.cpanel.sh


That's it, CSF has now been installed! You will notice it will show CSF on the left bottom side of your WHM so you can manage it from within Cpanel / WHM.


Remark: by default, the CSF firewall is running in 'testing' mode, you have to alter it by editing the file '/etc/csf/csf.conf' by changing TESTING = "0" into TESTING = "1"

- Uninstall CSF for Cpanel:

# cd /etc/csf
# sh uninstall.sh


Sales

Contact our Sales Team for Customised Quote:

sales[@]host-palace.com Send Email to HostPalace Web Solution Private Limited Sales

Support

Email our support team, We're here to help 24x 7x 365:

support[@]host-palace.com Send Email to HostPalace Web Solution Private Limited Support

Updates

Follow us throughout the web and stay Updated with the latest news:

Mobile App

Download HostPalace Mobile App to access your Services/Tickets from Mobile.

Download HostPalace IOS App