Command to start/stop/restart CSF firewall rules and CSF Firewall

How to Start CSF firewall rules on linux server

root@localhost[~]$ csf -s

How to Stop/Flush CSF firewall rules on linux server

root@localhost[~]$ csf -f


How to Restart CSF firewall rules on linux server

root@localhost[~]$ csf -r


How to Quick restart CSF firewall on linux server

root@localhost[~]$ csf -q


How to Disable csf firewall and lfd on linux server

root@localhost[~]$ csf -x


How to Enable csf firewall and lfd if previously disabled on linux server

root@localhost[~]$ csf -e


How to Show csf firewall version on linux server

root@localhost[~]$ csf -v

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

How can I create a database from an sql backup file ?

First, create the database.. /path/to/bin/mysqladmin -u $mysqlusername -p$mysqlpassword create...

How can I see all running processes from my server?

Type the following command from shell prompt.It will display the currently running processes. ps...

Connecting to your Windows server

To connect to your Windows VPS or Dedicated server, you use Remote Desktop Connection. Go to:...

Connecting to your Linux server

To connect to your Linux VPS or Dedicated Server, you need a ssh client.  We recommend...

Memory usage seems too high inside a VPS

There are cases when you may notice that the memory usage is too high inside your VPS without a...