:: What is csf
csf is ConfigServer Security&Firewall made by configserver
:: How to install and integrated to WHM / cPanel
+ download and install
|
1 2 3 4 5 6 |
/etc/init.d/iptables stop
cd /usr/local/src
wget http://www.configserver.com/free/csf.tgz
tar xzf csf.tgz
cd csf
sh install.sh |
+ configure csf
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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
|
1 2 |
csf -s
csf -r |
+ setup on runlevel
|
1 2 |
chkconfig iptables off
chkconfig csf on |
+ restaring cPanel
|
1 |
/etc/init.d/cpanel restart |
checking ConfigServer Security & Firewall on Home – Plugins – ConfigServer Security & Firewall
:: Links
+ Google
+ Serveridol