How to uninstall and install new CSF firewall

If CSF Firewall causing any issue then do as below  steps :-

Login as a Root :-

First remove previous firewall

1. How to unistall CSF firewall from the Linux server

[root@server1 ~]# cd /etc/csf
[root@server1 ~]# sh —–> to uninstall .

2. How to install csf firewall on the server.
[root@server1 ~]# cd /usr/local/src/
[root@server1 ~]# rm -fv csf.tgz
[root@server1 ~]# wget
[root@server1 ~]# tar -xzf csf.tgz
[root@server1 ~]# cd csf
[root@server1 ~]# sh

3.After installing the firewall it goes to testing mode by default follow this steps to bring it normal mode.

[root@server1 ~]# vi /etc/csf/csf.conf
TESTING = “1″ Change the value from 1 to 0 after that restart and now your firewall done.

[root@server1 ~]# csf -r

That’s it 😀