Install Uninstall ConfigServer Security and Firewall csf

CSF Installation:

To Install the CSF Login to your server vis SSH root Access and run the following :

cd /usr/src

rm -fv csf.tgz

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

tar -xzf csf.tgz

cd csf

sh install.sh

Next, test whether you have the required iptables modules:

perl /usr/local/csf/bin/csftest.pl

Don’t worry if you cannot run all the features, so long as the script doesn’t

You should not run any other iptables firewall configuration script. For example, if you previously used APF+BFD you can remove the combination (which you will need to do if you have them installed otherwise they will conflict):

sh /usr/local/csf/bin/remove_apf_bfd.sh

After the successful installation of CSF you need to disable the TESTING mode to work the CSF properly on your server.
You can change it from the configuration file itself.

vi /etc/csf/csf.conf

Then change the value of ‘TESTING’ from 1 to 0

 

CSF Uninstallation:

To Uninstall the CSF Login to your server vis SSH root Access and run the following :

to Remove csf and lfd :

cd /etc/csf

sh uninstall.sh

2,086 total views, 4 views today

Install Uninstall ConfigServer Security and Firewall csf
4.5 (90%) 2 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

*