Introduction
This article provides the steps needed to open a port with CSF in WHM.
Please note that CSF isn't provided or installed by cPanel. CSF is developed and supported by ConfigServer. Please refer to their development at ConfigServer Security and Firewall for any issues.
Procedure
- Log into WHM as the 'root' user.
- Navigate to "Home / Plugins / ConfigServer Security & Firewall."
- In the "csf -ConfigServer Firewall" section, click the "Firewall Configuration" button.
- Scroll down to "Allow incoming TCP ports."
- Enter the incoming TCP port to open in the "TCP_IN" textbox.
- Scroll down to "Allow outgoing TCP ports."
- Enter the outgoing TCP port to open in the "TCP_OUT" textbox.
- Scroll down to "Allow incoming UDP ports."
- Enter the incoming UDP port to open in the "UDP_IN" textbox.
- Scroll down to "Allow outgoing UDP ports."
- Enter the outgoing UDP port to open in the "UDP_OUT" textbox.
- Scroll to the bottom of the page and click the "Change" button.
- Click the "Firewall Restart" button.