Installing, configuring and allow ports in WHM firewall with ConfigServer Security & Firewall (CSF)

Config Server Firewall (CSF) is a Stateful Packet Inspection (SPI) firewall and Security application for Linux servers. CSF will protect your server against attacks, such as brute force, and improve server security and many more.

CSF will work as a WHM plugin and is free. Follow these instructions to complete a basic CSF installation:

STEP 1: INSTALL CSF

Login with your ssh access then run the following commands.

cd /usr/local/src/
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf 
sh install.sh

After installation complete You will see “Installation Completed” as status.

cd ..
rm -Rfv csf/ csf.tgz

STEP 2: OPEN PORT IN CSF FIREWALL THROUGH WHM

  1. Login to WHM.
  2. Type firewall in Find bar and click on ConfigServer Security&Firewall link.
  3. At this page, click on the Firewall Configuration button.
  4. Scroll down and find out Allow incoming TCP ports section. Enter the port you wish to open and click on the Change button at the bottom to save your changes. Then after, you will need to restart csf by clicking on Restart csf+lfd button.

If you will face any issues with install Ultimate SMS on ubuntu instance then please let me know through my email akasham67@gmail.com or create an account with https://support.codeglen.com or with contact us through support form  https://ultimatesms.codeglen.com/support/