How do i enable/disable ports in dedicated servers firewall?
Linux dedicated servers comes with full root access and we can install firewall to make entire server to run in a secured manner.A firewall is a software used to maintain the security of entire server. Firewall blocks unauthorized access and which is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. Firewall supports different kinds of protocols and which will be used to function various services which are presented in the server.
A computer port is a connection point or interface between a computer and an external or internal device. A port number is a way to identify a specific process to which an Internet or other network message is to be forwarded when it arrives at a server.
Most commonly used protocols in firewall are,
TCP
UDP
SMTP
FTP
To enable ports in firewall,
1.Login to the WHM as root
2.Click on ConfigServer Security & Firewal under plugins
3.Give the port number which you want to allow in the text boxes of TCP_IN, TCP_OUT, TCP6_IN, TCP6_OUT
4.Click on change Restart csf+lfd
To disable ports in firewall,
1.Login to the WHM as root
2.Click on ConfigServer Security & Firewal under plugins
3.Remove the port number which you want to disable from the text boxes of TCP_IN, TCP_OUT, TCP6_IN, TCP6_OUT
4.Click on change Restart csf+lfd