To Install the CSF Login to your server vis SSH root Access and run the following :
rm -fv csf.tgz
tar -xzf csf.tgz
Next, test whether you have the required iptables modules:
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):
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.
To Uninstall the CSF Login to your server vis SSH root Access and run the following :
to Remove csf and lfd :