ConfigServer Firewall, or CSF, is a common Linux security suite. Log in to your VPS as the root user and run the following commands to install CSF:
# rm -fv csf.tgz
# wget https://download.configserver.com/csf.tgz
# tar -xzf csf.tgz
# cd csf
# sh install.sh
If WHM/cPanel is installed on your server, you can configure CSF from WHM, otherwise edit the files in /etc/csf.
* OpenVZ servers require certain iptables modules to be loaded on the host server. If you receive errors while starting CSF, please copy them into a support ticket, and we will assist you.
For more information, see: https://configserver.com/cp/csf.html