create_nat_onetoone_mapping
Create a 1:1 NAT mapping on pfSense, translating a public external subnet to an internal source network, with options for destination filtering and immediate application.
Instructions
Create a 1:1 NAT mapping
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | NAT type (e.g., "binat") | |
| descr | No | Optional description | |
| source | Yes | Internal source network/address to map | |
| disabled | No | Whether the mapping starts disabled | |
| external | Yes | External subnet (the public/translated address or subnet) | |
| interface | Yes | Interface for the mapping (wan, lan, opt1, etc.) | |
| destination | No | Destination filter for the mapping | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||