firewall_vip_create
Creates a virtual IP object for DNAT or port forwarding, mapping external to internal IPs with optional port translation.
Instructions
Create a new Virtual IP (DNAT/port-forward) object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | VIP name. | |
| external_ip | Yes | External (public) IP address or range. | |
| mapped_ip | Yes | Internal (mapped) IP address or range. | |
| interface | No | External interface (default: any). | any |
| portforward | No | Enable port forwarding: enable or disable. | disable |
| external_port | No | External port(s) (e.g. '8080' or '8080-8090'). | |
| mapped_port | No | Internal mapped port(s). | |
| protocol | No | Protocol for port forwarding: tcp, udp, or sctp. | tcp |
| comment | No | Comment. | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||