9 responses to Install CSF/LFD Firewall on your Linux Server

  1. Can I ask why denyhosts, fail2ban or cPanel’s cPHulk need to be disabled/uninstalled first?

    • Sorry – I should have laid out that it is totally up to the admin of the server, but I wouldn’t recommend running any other security suite that may try and write iptables rules while running CSF.

      denyhosts doesn’t use iptables (it uses /etc/allow and /etc/deny), but why have it running if csf is a better solution?

      fail2ban does update iptables rules

      cPHulk uses its own database to block logins and some like to use them side by side, but I see it as unneeded overhead and would rather only have one place to allow/block access to the server.

      This is from the CSF install text:

      You should not run any other iptables firewall configuration script. For example, if you previously used APF+BFD you can remove the combination (which you will need to do if you have them installed otherwise they will conflict horribly)

  2. thank you very much sir noe i can adminstrate my linux seve properly

  3. Next, let’s make sure we have all of the IPs you’ll be connecting from whitelisted. Edit /etc/csf/csf.allow and /etc/csf/csf.ignore and add them.

  4. Hey, I am totally new to the whole Linux thing so pardon me for maybe some stupid questions.

    I read that Linux more or less is so secure that it actually isn’t necessary to install a firewall. What do you think about this?

    • On a personal computer maybe you don’t need one but on a server you definitely need a firewall; years back I was surprised seeing hundreds of attempts to bruteforce my servers within just a few days but thanks to firewall & changing ssh port away from the default has deny them access to my servers, I hope haha

Trackbacks and Pingbacks:

  1. Links 27/6/2013: Kubuntu to Deviate Further From Canonical, New Debian Derivatives | Techrights - July 7, 2013

    […] Install CSF/LFD Firewall on your Linux Server […]

  2. Learn the CSF command line options - Linux Brigade - July 23, 2013

    […] to do most things.  (If you don’t have it installed yet, you can read our article on how to install csf).  BUT – knowing the csf (ConfigServer Firewall) flags will help you to quickly get things […]

  3. Someone really wanted to hack into my network jesus - Page 2 - January 28, 2014

    […] Install CSF/LFD Firewall on your Linux Server | Linux BrigadeInstall CSF/LFD Firewall on your Linux … get on it just passing through…. […]

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">