.. _vyos.rest.vyos_nat_module: ****************** vyos.rest.vyos_nat ****************** **Manage NAT configuration on VyOS devices using REST API** Version added: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- - Manages NAT configuration on VyOS devices via the REST API. - Supports source, destination, static, CGNAT, NAT64, and NAT66. - Uses REST API (``connection=httpapi``) instead of CLI. - Targets VyOS 1.5+. Parameters ---------- .. raw:: html
| Parameter | Choices/Defaults | Comments |
|---|---|---|
|
config
dictionary
|
NAT configuration.
|
|
|
state
string
|
|
The desired state of the NAT configuration.
|