update_nat_port_forward
Update an existing NAT port forwarding rule by its ID to modify source, target, ports, protocol, interface, or NAT reflection settings. Apply changes immediately if needed.
Instructions
Update an existing NAT port forwarding rule by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source address filter | |
| target | No | Internal host IP address or alias | |
| disabled | No | Whether the rule is disabled | |
| protocol | No | Protocol (tcp, udp, tcp/udp) | |
| interface | No | Interface for the rule (wan, lan, etc.) | |
| local_port | No | Single port (80), range (8080-8090), or alias name | |
| description | No | Rule description | |
| destination | No | External address (e.g., "wanip", "any", or specific IP/alias) | |
| nat_reflection | No | NAT reflection mode (enable, disable, purenat) | |
| port_forward_id | Yes | Port forward rule ID (array index from search_nat_port_forwards) | |
| destination_port | No | Single port (80), range (8080-8090), or alias name | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||