The CSF firewall is commonly known as ConfigServer Security and Firewall. It has become one of the most popular firewalls not just because it is easy to use but it also provides a cPanel interface and can be easily installed and tuned by any novice users. If your website is hosted on a cPanel hosting plan without a firewall, then it is recommended to have a CSF firewall, considering the security aspects of your server. CSF is an advanced version of firewall as it provides the user with a wide range of configuration options in comparison to the other firewalls. It is simple enough to install and configure and even a novice user can easily install it.
As far as server security is concerned, it basically relates to the firewall and the filters connecting the servers. On a daily basis, there are many malicious activities and brute force attacks that a server encounters, you can check such activities in the servers logs. Therefore the server and your data is constantly under threat if not protected with a reliable firewall. CSF can be easily integrated with WHM/cPanel and it is considered to be one of the most reliable firewalls, therefore it is widely preferred by the website hosting companies for protecting the Linux hosting servers.
The process of installing CSF Firewall in cPanel is mentioned below:
The basic attribute is to have a SSH access of the server first of all. You may get this access with VPS, dedicated and cloud hosting.
STEP 1: SSH in your server
STEP 2: Download CSF from https://download.configserver.com/csf.tgz
STEP 3: The download file has to be extracted now
tar -xzf csf.tgz
STEP 4: Once the file is extracted, you can proceed with installing CSF with the following command
cd csf sh install.sh
When the CSF firewall is installed, it can be located in the WHM’s menu – Plugins – ConfigServer Security & Firewall.
When you access the CSF page, you must proceed according to the guidelines mentioned in the wizard. It is essential to configure the Firewall level depending on your requirements. Once the process is completed, you can turn On the CSF from the Firewall Configuration and set “TESTING” to 0.