In this guide we will walk you through installing and configuring CSF – Config Server Firewall, a popular alternative to APF. CSF comes with LFD and works with or without cPanel.
The wonderful part is that CSF will allow you to configure everything from within your WHM interface and also has a security analyzer that will evaluate the security of your server and suggest corrective measures to lock it down.
ConfigServer Firewall (csf)
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
Removing csf and lfd is even more simple:
On cPanel servers:
cd /etc/csf
sh uninstall.sh
On DirectAdmin servers:
cd /etc/csf
sh uninstall.directadmin.sh
On generic linux servers:
cd /etc/csf
sh uninstall.generic.sh
ConfigServer Explorer (cse)
To install or upgrade cse simply do the following from the root shell via SSH:
rm -fv cse.tgz
wget http://www.configserver.com/free/cse.tgz
tar -xzf cse.tgz
cd cse
sh install.sh
cd ..
rm -Rfv cse/ cse.tgz
Then login to WHM and scroll to the bottom of the left hand menu and you should see “ConfigServer Explorer”
If you want to uninstall, simply:
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cse.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cseversion.txt
ConfigServer Mail Queues (cmq)
1. Upload the cmq.tgz file to your server:
http://www.configserver.com/free/cmq.tgz
2. Untar the distribution:
tar -xzf cmq.tgz
3. cd into the directory created and run the install script:
cd cmq/
sh install.sh
4. Login to WHM and scroll to the bottom of the left hand menu and you should see “ConfigServer Mail Queues”
If you want to uninstall, simply:
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmq.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmqversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmq/
ConfigServer Mail Manage (cmm)
1. Upload the cmm.tgz file to your server
http://www.configserver.com/free/cmm.tgz
2. Untar the distribution:
tar -xzf cmm.tgz
3. cd into the directory created and run the install script:
cd cmm/
sh install.sh
4. Login to WHM and scroll to the bottom of the left hand menu and you should see “ConfigServer Mail Manage”
If you want to uninstall, simply:
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmm/
Be the first to comment