How To Install CSF Firewall on WHM/cPanel?

  • Log in to the WHM panel.
  • Select the Server Configuration option.
  • Click on Terminal.
  • Copy/enter this code in the Terminal window.
cd /usr/local/src/
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
  • Use the ConfigServer Security & Firewall interface in WHM by navigating to WHM » Home » Plugins » ConfigServer Security & Firewall.
  • Click on the csf tab.
  • Scroll down to the csf – ConfigServer Firewall section and click the Firewall Configuration button.
  • You will find all the options for firewall configurations. Here is a quick rundown of the important settings to get you started.

Was this article helpful?

Related Articles