How to Enable/Disable CSF installed on the server via command line?

Dopani

Active member
Joined
Mar 11, 2014
Messages
324
Points
28
I have a small vps, it is unmanaged vps, I installed csf (firewall) on it but now I want to disable this function or enable when needed.
How to do that?
 

arindamb

Member
Joined
Jul 11, 2013
Messages
255
Points
18
You can use these commands to enable/disable or remove it from your server.

Turn on you Putty or any SSH programs and type this

Enable CSF:

Code:
csf -e
Disable CSF

Code:
csf -x
To restart the CSF, you can use the following command

Code:
csf -r
To remove csf:

Code:
cd /etc/csf
sh uninstall.sh

Hope it helps!
 
Older threads
Replies
9
Views
3,301
Replies
0
Views
3,091
Newer threads
Replies
9
Views
4,139
Replies
10
Views
3,155
Replies
9
Views
2,902
Replies
0
Views
4,539
Replies
4
Views
2,707
Latest threads
Replies
2
Views
108
Replies
1
Views
187
Replies
6
Views
407
Replies
11
Views
544
Replies
2
Views
236
Recommended threads
Replies
14
Views
5,004
Replies
3
Views
2,108
Replies
3
Views
1,141
Replies
6
Views
2,535

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top