You can install config-server firewall on a Linux server with the following steps :

  1. Run the following command :
    rm -fv csf.tgz
    wget http://www.configserver.com/free/csf.tgz
    tar -xzf csf.tgz
    cd csf
    sh install.sh
  2. If you would like to disable APF+BFD (If you have them installed then you will require it else they will conflict horribly):
    sh disable_apf_bfd.sh
  3. Now, you have to configure csf and lfd in WHM, or edit the files
    directly in /etc/csf/*
  4. CSF provides a pre-configured setup for the cpanel servers, it automatically configures all the relevent ports in csf which are used for the proper working of cpanel.
  5. If you want to add some additional ports or want to change the CSf setting, it can be done from file /etc/csf/csf.conf in server or from WHM >> Plugins >> ConfigServer Firewall >> Firewall configuration.
  6. If you are using CSF in VPS, Please make sure to enable klogd and check /etc/init.d/syslog .
  7. CSF is previously configured to work on a cPanel server with all the regular cPanel ports open. It also auto-configures your SSH port if it is not good on installation.
  8. See the readme.txt file for more information.

* If any case you want to Uninstall it then you have to follow the following steps :

Removing csf and lfd is even more simple:

cd /etc/csf
sh uninstall.sh

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

Benefits of Managed Services for Business Website

Most businesses have gone digital, with the digitization of current technologies and the COVID-19 Pandemic.…

Everyone Wants to be in the Cloud

The cloud has become more than just a buzzword—it’s now the backbone of modern business…

Bzip Install On VPS Server

bzip2 is a very useful option for a VPS server owner. If anyone wants to…