firewall:disableserverips

A list of server configured IP addresses for which you do not want to allow any incoming or outgoing traffic.

juggernaut --task=firewall:disableserverips --oper=<serverip_add|serverip_del>
Option Value Description
--oper <string> The operation you want to perform. Operations: serverip_add, serverip_del
--value <string> The value you want to add or delete.
--restart <yes> Restart the service after saving settings.

Examples

// add the IP address
juggernaut --task=firewall:disableserverips --oper=serverip_add --value=203.0.113.1

// remove the IP address
juggernaut --task=firewall:disableserverips --oper=serverip_del --value=203.0.113.1

// block all traffic to a compromised secondary IP and restart the firewall
juggernaut --task=firewall:disableserverips --oper=serverip_add --value=203.0.113.5 --restart=yes

Related Pages