Tutorials

:: CSF on WHM / cPanel

:: What is csf
csf is ConfigServer Security&Firewall made by configserver
 
:: How to install and integrated to WHM / cPanel
+ download and install

/etc/init.d/iptables stop
cd /usr/local/src
wget //www.configserver.com/free/csf.tgz
tar xzf csf.tgz
cd csf
sh install.sh

+ configure csf

vi /etc/csf/csf.conf
#### change to non testing mode if you are sure csf running correcly.
####
TESTING = “0″

## checking on standart for cPanel port
##############
# Allow incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,143,443,465,953,993,995,2077,2078,2082,2083,2087″
# Allow outgoing TCP ports
TCP_OUT = “20,21,22,25,37,43,53,80,110,113,443,587,873,953,2087,2089,2703″
# Allow incoming UDP ports
UDP_IN = “20,21,53,953″
# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = “20,21,53,113,123,873,953,6277″

+ start / restarting csf

csf -s
csf -r

+ setup on runlevel

chkconfig iptables off
chkconfig csf on

+ restaring cPanel

/etc/init.d/cpanel restart

checking ConfigServer Security & Firewall on Home – Plugins – ConfigServer Security & Firewall

 
:: Links
+ Google
+ Serveridol

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *