Installing Firewall using csf(ConfigServer Security & Firewall) on DirectAdmin

Installing Firewall using csf(ConfigServer Security & Firewall) on DirectAdmin

CSF is SPI iptables firewall that is comprehensive, straight-forward, easy and flexible to configure

It is very easy to install in DirectAdmin and very easy to setup your iptables without complicated settings.

Here is the command that I use while installing csf in the shell

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


If you see this error, you can install the perl-libwww-perl to continue

Configuring for OS

Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) and then install csf

yum install perl perl-libwww-perl

 

Test and make sure all without error.

perl /etc/csf/csftest.pl

Remove the old one in iptables to prevent mess up.

sh /etc/csf/remove_apf_bfd.sh

Open DirectAdmin Directly

After this, you can login to your DirectAdmin directly.

 

You can see the ConfigServer Firewall&Security at the bottom of your main Admin page, Extra Features there.

 

 

It will help you generate the iptables, so you no need to worry and think about it.


Tags: , , , , , , , , , , , , , , ,

Translate

Buy me a Caffè Latte

Thank you for the Caffè Latte

2013/02/15 saw art
2013/01/25 Parul Patel
2012/11/20 Barbara Nicholas $10
2012/10/08 Amy Stockman $5
2012/07/15 siewho chang $ 50
2012/06/08 Susan Hampton $10
2012/05/11 Chris Grima $10