Overview
Juggernaut Firewall provides a command-line interface (CLI) designed for automated deployments, bulk server configuration, and integration with infrastructure management tools such as Ansible. For complete reference documentation, visit the official CLI guide: Juggernaut CLI Documentation.
Syntax and Configuration Rules
- Assign option values using the equals sign (=).
- Enclose values containing spaces or semicolons in single quotes.
- If a value requires literal single quotes, wrap it in single quotes and escape internal quotes by replacing each with
'\''. - All options are case-sensitive.
Available Tasks
To display the full list of supported tasks and usage details, execute the following command:
Usage:
juggernaut --task={task} --option1=value1 --option2=value2
Where {task} is one of the following:
* application:about
* application:application
* application:dashboard
* application:geolocation
* application:license
* application:maintenance
* application:maintenance:database
* application:networktools
* application:permissions
* application:setup
* application:update
* firewall:disableserverips
* firewall:docker
* firewall:general
* firewall:initial
* firewall:logging
* firewall:port
* firewall:portflood
* firewall:portipredirection
* firewall:portknocking
* firewall:smtp
* help
* lfd:allow
* lfd:clustering
* lfd:country
* lfd:directorywatching
* lfd:directorywatching:paths
* lfd:globallists
* lfd:ignore
* lfd:ipblocklists
* lfd:loginfailureblocking
* lfd:loginfailurecustomtriggers
* lfd:logscanner
* lfd:logscanner:logs
* lfd:messenger
* lfd:netblock
* lfd:rblcheck
* lfd:reporting
* lfd:statistics
* lfd:tracking:account
* lfd:tracking:connection
* lfd:tracking:distributedattack
* lfd:tracking:login
* lfd:tracking:portscan
* lfd:tracking:process
* lfd:tracking:userid
* other:binarylocations
* other:cloudflare
* other:cloudflare:users
* other:debug
* other:loglocations
* other:port
* webserver:policy
* webserver:policy:webmail
For more information on what a task does and usage details execute:
juggernaut --task={task} --help
Configuration Examples
The following examples demonstrate common CLI operations:
// install the juggernaut extension
plesk bin extension --install-url https://www.danami.com/clients/downloads/juggernaut.zip
// Run the setup wizard to active the extension license, run the application installer, and configure the application
juggernaut --task=application:setup --license_key=XXXXXX
// add a hostname to rdns ignore then restart the firewall and login failure daemon
juggernaut --task=lfd:ignore --oper=rdns_add --value='test.example.com' --comment='this is a comment' --restart=yes
Troubleshooting and Common Issues
- Syntax Errors: Verify that all option values use the equals sign (=) and that special characters are properly quoted or escaped according to the syntax rules above.
- Task Not Found: Ensure the specified task matches the exact case-sensitive naming convention listed in the available tasks output.
- Detailed Task Help: If a command fails or requires additional parameters, run
juggernaut --task={task} --helpto view specific usage instructions for that module. - Service Restarts: When modifying firewall rules or daemon configurations, explicitly include the --restart=yes flag if immediate application of changes is required.