Amelia
New Member
Code:
[SIZE=16px] how to install csf firewall ? [/SIZE]
-> So, login to your server via ssh and let’s start CSF installation by retrieving the package files using wget command:
# wget [URL="http://configserver.com/free/csf.tgz"]http://configserver.com/free/csf.tgz[/URL]
Unpack the archive:
# tar xfz csf.tgz
Navigate to the uncomperssed csf directory:
# cd csf
Run the installer:
# sh install.sh
It will create configuration file and add all required cPanel services to allow list. Let’s disable testing mode by editing main CSF configuration file. Open the file using any editor (vi, nano, etc):
# nano /etc/csf/csf.conf
and change
TESTING = “1?
to
TESTING = “0?
When done, restart CSF:
# csf -r
Now CSF is installed and ready. You can simply manage it via cPanel WHM interface WHM > Config Security & Firewall:
Last edited by a moderator: