Trusted by 500+ Happy Users Worldwide. Create secure and speedy web server in less than 10 mins without much technical skills.
Contact Us

Allow the port through CSF

How to allow the port through CSF?

Follow the below steps to allow CSF through CSF.

Step 1: Open the Terminal or Putty.

Step 2: Connect to the 'server' using SSH.

Step 3: Open the csf config file using the command,

vi /etc/csf/csf.conf

Step 4: Under the heading # Allow incoming TCP ports, there will be a list of port numbers like as displayed below.

TCP_IN = 80,443,22,21, .

Step 5: Add the port number after the final digit.

Step 6: Finally, enter the command

/etc/init.d/csf restart

to restart the 'CSF'.