I add the following to WHM when i setup a server, not really security related but adds new functions. (I removed the non free ones)

You dont really need to install the ddos script as CFS firewall has protection now, but I run both.


Winrar is used to pack/unpack files for remote uploading and rapidleech/torrentflux now supports rar/unrar.

Code: 
wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
tar -zxvf rarlinux-3.8.0.tar.gz
cd rar
cp rar unrar /bin
 
csf firewall
http://www.configserver.com/free/csf/install.txt
--------------------------------------------------------------------------------
Informations:
When you run this Perl script, it will then run an netstat command check how many times each IP is connected and if there are more then the number of connections you specified then it will automatically run a command in APF for the IP to be banned.
--------------------------------------------------------------------------------
Installing:
wget http://www.inetbase.com/scripts/ddos/install.sh
chmod 0700 install.sh
./install.sh
 
Config mail que
http://www.configserver.com/free/cmq.tgz
1. Upload the cmq.tgz file to your server
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/
 
Config Mail Manage
http://www.configserver.com/free/cmm.tgz
1. Upload the cmm.tgz file to your server
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/
 
Config Explorer
http://www.configserver.com/free/cse.tgz
1. Upload the cmm.tgz file to your server
2. Untar the distribution:
tar -xzf cse.tgz
3. cd into the directory created and run the install script:
cd cse/
sh install.sh
4. Login to WHM and scroll to the bottom of the left hand menu and you should see "ConfigServer Mail Manage"
 
LogView Installation  
Login to your server as a root user
wget http://www.logview.org/logview-install
chmod +x logview-install
./logview-install
Wait for install complete message
rm -f logview-install
Gavo Reviewed by Gavo on . Protect your Server. The Basics! (cPanel) Well I take NO credit for the scripts provided herein I merely hope to share some things I have found to help me when I setup my VPS... First of all we need to install a firewall, even if you don’t start this service this nifty script do's a security AUDIT for you... To install ConfigServer Firewall SSH into your root and then "cd" into the main directory (normally "cd ..") and now follow the script belowrm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgz cd Rating: 5