What is CSF?
CSF or Config server firewall is a firewall for Linux operating system. CSF has many features like login failure detection, intrusion, flood detection, messenger services, IP redirection, pro knocking, IP block list etc. CSF is providing and GUI for cPanel users we can controle the firewall from there.
How to install CSF?
Download CSF from their official website.
wget https://download.configserver.com/csf.tgz
We will get a zip file, uncompress the file using following command.
tar -xzf csf.tgz
Note: if you are using ay other firewlal please turn off it.
then
cd csf
we will get an instlaltion script. Run the script using following command.
sh install.sh
CSF is running now. You can edit the configurations in /etc/csf/csf.conf file.
Click here to see the video tutorial for the same.