A list of port and/or IP address assignments to direct traffic to alternative ports/IP addresses.
juggernaut --task=firewall:portipredirection --oper=<redirection_add|redirection_del>
Option |
Value | Description |
---|---|---|
--oper |
<string> | The operation you want to perform. Operations: redirection_add, redirection_del |
--value |
<string> | The value you want to add or delete. |
--restart |
<yes> | Restart the service after saving settings. |
// Add an entry
juggernaut --task=firewall:portipredirection --redirection_add='192.168.254.62|*|10.0.0.1|*|tcp' --restart=yes
// Remove an entry
juggernaut --task=firewall:portipredirection --redirection_del='192.168.254.62|*|10.0.0.1|*|tcp' --restart=yes