nat_outbound
Manage outbound source NAT rules by creating, listing, deleting, and toggling them, while switching between automatic and hybrid rule generation to control traffic translation.
Instructions
Outbound source NAT rules and how they are generated. Call action='help' for each action's fields and rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | [mode] When setting: one of automatic, hybrid | |
| uuid | No | Record to act on, identified by a list action. | |
| apply | No | Apply now rather than leaving the change staged. The default differs by action; action='help' reports each one. | |
| action | Yes | Operation to run. 'help' lists fields. | |
| target | No | [create] Translation address; empty means the interface address | |
| confirm | No | Token returned by the previous call, to confirm. | |
| enabled | No | Target state, set explicitly rather than flipped. | |
| interface | No | [create] Outgoing interface, usually wan | |
| source_net | No | [create] Source network or alias name to translate | |
| action_mode | No | [mode] get or set (default get) | |
| description | No | Free-text note stored on the record. | |
| static_port | No | [create] Preserve the source port | |
| destination_net | No | [create] Destination to match (default any) |