Installing and Configuring CSF Firewall
Steps to Install CSF Firewall on Centos 7 Step 1: Downloading CSF Firewall Dependencies yum install wget vim perl-libwww-perl.noarch perl-Time-HiRes Step 2: Install CSF Go to /usr/src #cd /usr/src Download CSF Firewall #wget https://download.configserver.com/csf... #tar -xvf csf.tar #cd csf #sh install .sh Step 3: Checking CSF Working on server or not #cd /usr/local/csf/bin/ #perl csftest.pl If you see the test results as shown below, then CSF is running without problems on your server: RESULT: csf should function on this server Step 4: Configuring CSF Firewall on Centos 7 1. Stop Firewalld #systemctl stop firewalld 2. Disable/Remove firewalld from the startup: #systemctl disable firewalld 3. Then go to the CSF Configuration directory "/etc/csf/" and edit the file "csf.conf" with the vim editor: #cd /etc/csf/ #vim csf.conf 4. Change line 11 "TESTING " to "0" for applying the firewall configuration. TESTING = "0" 5. By default CSF a