Overview
This article provides instructions for managing the Juggernaut Firewall state directly from the command line interface (CLI). Use these procedures to temporarily disable or re-enable firewall protection as required by your operational workflow.
Prerequisites
- Root or sudo access to the target server
- Juggernaut Firewall (csf) installed and configured
Disabling and Enabling the Firewall
Execute the following commands in your terminal to modify the firewall status:
- To disable the firewall:
csf -x
- To re-enable the firewall:
csf -e
Viewing Available Commands
To retrieve a complete list of command-line options, flags, and usage syntax, execute the following:
csf --help
Troubleshooting & Common Issues
- Command not found: Verify that Juggernaut Firewall is properly installed and that the executable directory is included in your system's PATH environment variable.
- Permission denied: Ensure you are executing commands with elevated privileges. Prefix commands with sudo or switch to a root shell if necessary.
- Firewall fails to restart: Check the csf configuration files for syntax errors and review system logs for dependency conflicts before re-running the enable command.