Customer Support

  1. Support
  2. How can I install a firewall on my server?
  1. Home
  2. Dedicated / VPS Management
  3. How can I install a firewall on my server?
  1. Home
  2. myTophost Panel
  3. Management
  4. How can I install a firewall on my server?
  1. Home
  2. myTophost Panel
  3. How can I install a firewall on my server?

How can I install a firewall on my server?

If you want to install a firewall on your Linux server, follow the steps below:

1. Connect to your server via the SSH service with the access information (Username / Password) found in the hosting activation email.

2. In the console that will open, run the following commands:

cd /usr/src

rm -fv csf.tgz

wget https://download.configserver.com/csf.tgz

tar -xzf csf.tgz

cd csf

sh install.sh

3. To check that you have correctly installed the Firewall on your server, run the following command:

perl /usr/local/csf/bin/csftest.pl

Note: During installation, the Firewall runs in Testing mode

I have it installed. How do I activate it?

Using a text editor, open the following file: /etc/csf/csf.conf and change the TESTING = "1" entry to

TESTING = "0"

Save the file and restart the program by running the following command:

csf -r


You haven't found what you are looking for?

Contact our experts, they will be happy to help!

Contact us