ESDS Knowledge Base

13
Jan

How to install CSF and LFD

CSF and LFD is a firewall (firewall and anti-brute-force), which monitors the logs for potential attackers to block access, it is very powerful, flexible and yet easy to configure.

Download

  • cd  / tmp
  • wget http://www.configserver.com/ free / csf.tgz

Unzip

  • tar  -xzf csf.tgz

Install

  • cd  csf
  • sh install . sh

Set

  • vi  / etc / csf / csf.conf

For details on open ports:

  • fuser nmap localhost

Change the values of TCP_IN, TCP_OUT, UDP_IN, UDP_OUT your needs.

Leave a Reply