update_nat_onetoone_mapping
Update an existing 1:1 NAT mapping by ID to change its interface, source, destination, external subnet, description, or disabled state, with optional immediate application.
Instructions
Update an existing 1:1 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_onetoone_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | NAT type (e.g., "binat") | |
| descr | No | Description | |
| source | No | Internal source network/address | |
| disabled | No | Whether the mapping is disabled | |
| external | No | External subnet | |
| interface | No | Interface for the mapping | |
| mapping_id | Yes | Mapping ID (from search_nat_onetoone_mappings) | |
| destination | No | Destination filter | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||