How To Install CSF (Config Server Firewall) for WHM

Login as the root user to SSH and run the following commands to install CSF:

# <span class="crayon-e">wget </span><span class="crayon-v">https</span><span class="crayon-o">:</span><span class="crayon-c">//</span>
# tar -xzf csf.tgz
# cd csf
# sh

If you would like to disable APF+BFD (which you will need to do to avoid conflicts):

# sh

Now, you can then configure csf and lfd in WHM, or edit the files directly in /etc/csf/*

To Configure the CSF Firewall
1. Go back to the Home of your WHM dashboard and select the Plugins option from the navigation menu.

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.