How To Install CSF (Config Server Firewall) for WHM

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

# wget
# 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/*