How can I disable the firewall from the command line?

You can disable and enable the firewall from the command line using the following commands:

To disable the firewall:
csf -x
To re-enable the firewall:
csf -e
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I fix the error: The licensing server was invalid or could not be reached ?

Many times this error can be fixed by restarting the Plesk panel: /etc/init.d/psa restart Make...

How can I fix the error: The VPS iptables rule limit (numiptent) is too low?

This error means that your service provider is limiting the amount if iptables rules (numiptent)...

How can I fix the error: The domain limit of this license key has been reached?

The admin and pro versions of our products are limited to the number of domains you can have in...

How can I fix the error: Class 'pm_Context' not found (Loader.php:32)

Jugggernaut 2.XThis is fixed in Juggernaut 2.0+. If using Juggernaut 1.X then we recommmend that...

How can I fix the watchdog error: Error: the executable does not exist '<lfd_start>'?

You see this error when restarting the watchdog extension: Error: Unable to process...