You should have basic knowledge on accessing SSH to proceed any further. Read the PuTTY Setup And SSH Access article for assistance in setting up PuTTY / SSH access.
Follow the instructions provided to install ConfigServer on your WHM/cPanel based server.
- Login to SSH.
- If you have any other iptables based firewalls, uninstall them now, otherwise you may have software conflictions.
- Make sure you’re in the top directory. Type cd in the console and press Enter.
- Issue Command: rm -fv csf.tgz. Press Enter.
- Issue Command: wget http://www.configserver.com/free/csf.tgz. Press Enter.
- Issue Command: tar -xzf csf.tgz. Press Enter.
- Issue Command: cd csf. Press Enter.
- Issue Command: sh install.sh. Press Enter.
- Issue Command: perl /etc/csf/csftest.pl to test if you have necessary iptables modules to run ConfigServer. Press Enter.
ConfigServer is now installed. Let’s see if WHM recognizes ConfigServer.
- Navigate via browser to your WHM control panel. If you’re already on the page, refresh the page.
- Scroll down to the very bottom in the vertical navigation menu.
- You should see ConfigServer Security&Firewall. This means ConfigServer is installed on your server.
Congratulations! ConfigServer is successfully setup and you can start systematically blocking malicious attackers / abusers. By default, the IP that has installed ConfigServer is added to the white list. You can configure ConfigServer as necessary.