update_nat_outbound_mapping
Update an existing outbound NAT mapping by ID, changing source, destination, interface, translation target, ports, protocol, or disabled state and applying changes immediately.
Instructions
Update an existing outbound NAT mapping by ID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mapping_id": "<mapping_id>"
},
"name": "update_nat_outbound_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Description | |
| source | No | Source network/address | |
| target | No | Translation target type | |
| dstport | No | Destination port or port range | |
| disabled | No | Whether the mapping is disabled | |
| poolopts | No | Pool options for multiple addresses | |
| protocol | No | Protocol (tcp, udp, tcp/udp, etc.) | |
| targetip | No | Translation target IP address | |
| interface | No | Interface for the mapping | |
| mapping_id | Yes | Mapping ID (from search_nat_outbound_mappings) | |
| sourceport | No | Source port or port range | |
| destination | No | Destination network/address | |
| targetip_subnet | No | Translation target subnet mask | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||