How to Open a Port in CSF Firewall via WHM/cPanel ?

  • Log into WHM.
  • Select the Plugins option from the navigation menu.

  • Click on ConfigServer Security & Firewall.

  • The ConfigServer Security & Firewall panel will appear.
  • Go to the csf tab and click on the Firewall Configuration button in the csf-ConfigServer Firewall section.

  • Select the IPV4 port Settings section from the dropdown list.
  • Copy/enter the following port numbers in the Allow incoming TCP ports and Allow outgoing TCP ports fields.
Allow incoming TCP ports:
Allow outgoing TCP ports:

  • we recommend these port numbers, you can enter other port numbers as per the requirement.
  • Click the Change button at the end.

It will save the changes you made to the firewall configuration.

  • Click on Restart csf+lfd.

  • It will restart the csf firewall and apply the changes.

Was this article helpful?

Related Articles