Wednesday 7 December 2011

install firewall to the server

From our experience, if you are using cPanel control panel then it will be better if you go for an csf firewall. Csf firewall installation guideline is as follows.


1. Download the tar file from the configserver.com website.

root@server# wget http://www.configserver.com/free/csf.tgz

2. Untar the downloaded file.


root@server# tar -xzf csf.tgz


3. Navigate to csf directory.


root@server# cd csf


4. Install csf firewall by using the following command.


root@server#sh install.sh
 
That's it:) You have installed csf firewall in your server

For plesk control panel, the apf firewall will be the good option. Here are the details 
for the installation of apf firewall.


1. Download the tar file from rfxn.com website.


root@server# wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz
2. Untar the downloaded file.

root@server# tar -zxvf apf-current.tar.gz;
 
 3. Navigate to apf directory.
 
 root@server# cd apf*
4. Install apf firewall by using the following command.
 
root@server# sh ./install.sh


That's it:) You have successfully installed apf firewall in your plesk server.


No comments: