Monday, January 31, 2011

How to install CSF Firewall on Linux server?

You can install CSF [ConfigServer Firewall] on Linux server using below mentioned steps via SSH:

    1) Login to SSH as a root user.
    2) Execute below mentioned commands:

        rm -fv csf.tgz (It will remove any existing csf.tgz file)
        wget http://www.configserver.com/free/csf.tgz
        tar -xzf csf.tgz
        cd csf
        sh install.sh
        sh disable_apf_bfd.sh

    You will be able to see ConfigServer Firewall listed under Plugins option of WHM. You can easily configure your firewall settings from there. You can also configure CSF and lfd directly from SSH in /etc/csf/*