Firewall is known as a security wall which protects the server from unknown access and hackers. It is a network security device that controls incoming and outgoing traffic and only allows the traffic that fulfills the security rules. It works by blocking or restricting network ports. Firewalls are commonly used to help prevent unauthorized access and protects both client sides and server-side from hackers.
Steps to open port in CSF firewall through WHM:
CSF (Config Server Firewall) is an advanced firewall used in Linux distributions and Linux based VPS servers. It offers several advantages that include protection against Denial of Service. SYN Flood and other common attacks. Its plugin feature for WHM panel helps to quickly access firewall settings and common tasks through a graphical interface.
Sometimes, it is necessary to open ports in the firewall to run certain applications. We can use either WHM or SSH access to open ports in our Linux VPS servers. Now, follow the below step by step procedures to open ports in WHM.
Step 1: Login to Web Host Manager(WHM).
Step 2: Navigate to plugin option.
Step 3: Select the option “ConfigServer Security & Firewall“.
Step 4: You will see a new page, click on the Firewall Configuration button.
Step 5: Scroll down to IPv4 Port Settings section and locate Allow incoming TCP ports and Allow outgoing TCP ports option. Enter the port number you want to open.
Step 6: Scroll down and click on the Change button at the bottom to save your changes.
Step 7: A new page will appear and need to restart the csf by clicking the Restart csf+lfd button.