update_nat_onetoone_mapping
Update an existing 1:1 NAT mapping in pfSense by specifying its ID and new parameters, with optional immediate application.
Instructions
Update an existing 1:1 NAT mapping by ID
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 | |||