Installing and Configuring CSF Firewall

ConfigServer Firewall & Security. A Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection.

This article demonstrates how to install and configure the CSF (configserver) firewall. CSF can be used on a wide range of Linux systems, including those running cPanel.

cd /tmp
wget http://www.configserver.com/free/csf.tgz
tar zxf csf.tgz
cd csf
sh install.sh

To configure CSF modify the config files in /etc/csf/ - or if you are running WHM you can modify the CSF settings in there. By default CSF opens the standard cPanel ports.

If you have APF + BFD you will need to disable it, you can use the following to do so:

sh disable_apf_bfd.sh

One Response to “Installing and Configuring CSF Firewall”

  1. 2accusingon 12 Jan 2022 at 9:26 pm

    2portentous…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.