create_nat_outbound_mapping
Create an outbound NAT mapping on a pfSense firewall to translate source traffic from a specific network via an interface, with options for target IP, ports, protocol, and immediate application.
Instructions
Create an outbound NAT mapping
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Optional description | |
| source | Yes | Source network/address (e.g., "192.168.1.0/24", "any") | |
| target | No | Translation target type | |
| dstport | No | Destination port or port range | |
| disabled | No | Whether the mapping starts disabled | |
| poolopts | No | Pool options for multiple addresses (round-robin, etc.) | |
| protocol | No | Protocol (tcp, udp, tcp/udp, etc.) | |
| targetip | No | Translation target IP address | |
| interface | Yes | Interface for the mapping (wan, lan, opt1, etc.) | |
| 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 | |||