Please refer the following steps to install CSF firewall on your server:
1. SSH into your dedicated or cloud server
2. Download CSF from “http://www.configserver.com/free/csf.tgz”
# wget http://www.configserver.com/free/csf.tgz
3. You must now extract the downloaded file
# tar -xzf csf.tgz
4. After the extraction, you must proceed with installing csf using the following command
# cd csf
# sh install.sh
You can check it under the WHM’s menu >> Plugins >> ConfigServer Security&Firewall.