This article provides a guide to install ConfigServer Firewall (CSF) in cPanel Server. This guide requires root-level access on cPanel VPS or cPanel dedicated server.
Install CSF in cPanel Server
To install ConfigServer Firewall (CSF) in cPanel server, follow the steps below:
- Login to SSH as Root user
- Run the following commands:
cd /usr/src rm -fv csf.tgz wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh
- Login to WHM
- Access ConfigServer Security & Firewall in WHM (WHM -> Plugins -> ConfigServer Security & Firewall)
You can now configure and manage CSF firewall from WHM/cPanel.