Files
terraform-provider-unifi/docs/resources/port_forward.md
Mateusz Filipowicz 325d7b7f20 feat: initialize Terraform Plugin Framework (#23)
* feat: initialize Terraform Plugin Framework

* fix docker-compose path for tests

* fix: ensure documentation can be generated with old provider SDK and new plugin framework

* lint
2025-02-24 00:11:41 +01:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
unifi_port_forward Resource - terraform-provider-unifi unifi_port_forward manages a port forwarding rule on the gateway.

unifi_port_forward (Resource)

unifi_port_forward manages a port forwarding rule on the gateway.

Schema

Optional

  • dst_port (String) The destination port for the forwarding.
  • enabled (Boolean, Deprecated) Specifies whether the port forwarding rule is enabled or not. Defaults to true. This will attribute will be removed in a future release. Instead of disabling a port forwarding rule you can remove it from your configuration.
  • fwd_ip (String) The IPv4 address to forward traffic to.
  • fwd_port (String) The port to forward traffic to.
  • log (Boolean) Specifies whether to log forwarded traffic or not. Defaults to false.
  • name (String) The name of the port forwarding rule.
  • port_forward_interface (String) The port forwarding interface. Can be wan, wan2, or both.
  • protocol (String) The protocol for the port forwarding rule. Can be tcp, udp, or tcp_udp. Defaults to tcp_udp.
  • site (String) The name of the site to associate the port forwarding rule with.
  • src_ip (String) The source IPv4 address (or CIDR) of the port forwarding rule. For all traffic, specify any. Defaults to any.

Read-Only

  • id (String) The ID of the port forwarding rule.