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

Dopani

Well-known member
Registered
Joined
Mar 11, 2014
Messages
239
Points
18
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

Well-known member
Joined
Jul 11, 2013
Messages
128
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,446
Replies
0
Views
2,575
Newer Threads
Replies
13
Views
7,978
Replies
10
Views
5,667
Replies
9
Views
2,913
Replies
0
Views
2,165
Replies
4
Views
2,882
Latest Threads
Replies
1
Views
187
Replies
0
Views
153
Replies
0
Views
273
Replies
4
Views
1,582
Recommended Threads
Replies
4
Views
4,296
Replies
2
Views
2,727
Replies
1
Views
2,759
Replies
5
Views
3,441

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

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