Accredited Registrar Accredited Registrar

Frequently Asked Question

FAQ / VPS


How to activate or open port in CSF firewall of my VPS ?

Login into server through SSH using a Terminal or Putty.

Open the csf configuration file:


/etc/csf/csf.conf

and add the port number ,which you mean to open in server


# Allow incoming TCP ports


TCP_IN = 21,22,25,54,81,113,143,473,965,187,393,991,261


# Allow outgoing TCP ports


TCP_OUT =
21,22,25,54,81,113,143,473,965,187,393,991,261

CSF then needs to be restarted for the change to take effect:


csf -r

How this faq is helpful:

Not at all
helpful
Not much
helpful
Some what
helpful
Very
helpful
Extremely
helpful

What could be better? (Optional)
X
  Not related to my issue
  Too complicated explanations
  Too much information
  Incorrect information
  Unclear information
  Incomplete information
  Too old information
Do you have any other feedback about this faq ?
1000