How to enable firewall in whm

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68

PlatinumServerM

Well-Known Member
PartnerNOC
Jul 10, 2005
400
3
168
New Jersey, USA
cPanel Access Level
Root Administrator

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
Hi, im new to WHM how or where do i goto run the wget etc. ? and the commands to install it.

Many thanks
You can run the command through SSH. If you have an root access to your server then you can get through SSH and run the wget command.
 

kiefer

Registered
Aug 13, 2009
2
0
51
when i goto into whm i cant see any ssh access . only get it through a cpanel user which then means its not the main root ?

i have ssh root access but dont seem to be able to find in whm to access
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
You will need to install putty (command line) and need to configure on your machine and through putty you can get the SSH access.
 

linux7802

Well-Known Member
Dec 14, 2007
232
1
68
cPanel Access Level
Root Administrator
Solution

To install firewall on your server basically 1st you need to logged into shell with the root login details....once you logged into shell as root user then run the following command one by one..

wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

once you installed csf you can configure it as per your requirement from your WHM >> Plugins >> ConfigServer Security&Firewall


Note : For shell access you need to install putty software on your local machine

PuTTY Download Page