Friday 10 August 2012

ConfigServer Firewall (CSF) Installation

ConfigServer Firewall (CSF) Installation
===========

ConfigServer Firewall (csf) is a Stateful Packet Inspection (SPI) iptables firewall which is simple, straight-forward, easy and flexible to configure and secure with more checks to ensure smooth operation.

Installation.

Installation is straightforward, follow these steps:-

1. wget http://www.configserver.com/free/csf.tgz

2. tar -xzf csf.tgz

3. cd csf

4. sh install.sh

If APF+BFD is already enabled, then you have to disable it. Otherwise both (CSF and APF) will conflict.
To disable APF, use the following script.

  sh disable_apf_bfd.sh

csf is preconfigured to work on a cPanel server with all the standard cPanel
ports open. To configure CSF modify the config files in /etc/csf/ directory.

You should ensure that kernel logging daemon (klogd) is enabled.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.