
STEP2: Get to the directory where the configuration file is for CSF
Open the configuration file so that we can edit it. Something like "Vim" or vi editor vim csf.conf or vi csf.conf
Find TCP_IN Line on the file csf.conf
Once you have the file open, you will see a "TCP_IN" and "TCP_OUT" section. It will look like this:
TCP_IN = "20,21,1122, 25, 26, 53, 80, 110, 143, 443, 465, 587, 993, 995, 2077, 2078, 2082, 2083, 2086, 2087, 2095, 2096, 8010"
TCP_IN = "20,21,1122, 25, 26, 53, 80, 110, 143, 443, 465, 587, 993, 995, 2077, 2078, 2082, 2083, 2086, 2087, 2095, 2096, 8010"
All those numbers there are ports that are currently "open". Yours may look different so don't panic! It all depends on your configuration.
Save and get out of this file (:wq!) Restart the firewall so that your changes take effect! csf -r
Stopping CSF csf -x
Related Open Port other Panel:
Refer the below links for Port Plesk Panel,
https://www.wiki.hostingsewa.in/firewall/how-to-block-and-allow-port-in-windows-server
Refer the below links for Port Cpanel Panel,
https://help.hostingsewa.in/hr-panel/security/how-to-enable-disable-firewall
Refer the below links for Port Hrpanel Panel,
https://help.hostingsewa.in/hr-panel/manager/csf/how-to-enable-port-number-in-whm-panel
Advertisement