Open ports in WHM/SSH firewall with this handy guide from Bobcares.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team recently helped a customer open ports in WHM/SSH firewall in a breeze.
How to open ports in WHM/SSH firewall
If you are looking for a way to open ports in WHM or SSH firewall, you have come to the right place. This handy guide by our Support Techs is a lifesaver!
How to open port in CSF Firewall via SSH
- First, we have to log in to the Linux server via SSH. Then we will open the csf.conf file located at /etc/csf/csf.conf via any text editor.
- Then, we have to add the port we plan on opening.
# Allow incoming TCP ports TCP_IN = "20,443,465,21,22,587,993,25,53,80,110,143,995" # Allow outgoing TCP ports TCP_OUT = "20,21,443,587,22,25,80,110,43,53"
- Next, we have to restart CSF with the following command to allow the changes to come into effect.
csf -r
How to open port in CSF Firewall via WHM
- First, we will log in to WHM.
- Then, we will enter firewall in the search bar and click ConfigServer Security & Firewall as seen below:
- Next, we will click the Firewall Configuration button.
- After that, we have to scroll down to the Allow incoming TCP ports section. Here, we will enter the port we want to open and click the Change button and save the changes made.
- Finally, we have to restart CSF by selecting, Restart csf + lfd button.
[Need assistance with a different query? We are available 24/7.]
Conclusion
In essence, the skilled Support Engineers at Bobcares demonstrated how to open ports in WHM or SSH firewalls.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments