Remove port forwarding rule
remove_port_forwardingDelete port forwarding rules by index or port, with dry-run enabled by default. Refuses ambiguous matches and protected ports.
Instructions
Delete a port forwarding rule, selected by index (from get_port_forwarding) or by port. Refuses ambiguous matches and protected ports. dry_run is TRUE by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | External port, if index is unknown | |
| index | No | Rule index hash | |
| dry_run | No | Default true | |
| protocol | No | Narrow a port match to tcp/udp |