Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

How to install csf firewall ?

- - - - -

  • Please log in to reply
No replies to this topic

#1
OFFLINE   Miley

Miley

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

How to install csf firewall ?

 

 

 

-> So, login to your server via ssh and let’s start CSF installation by retrieving the package files using wget command:

# wget http://configserver.com/free/csf.tgz

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:     :)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users