Provides a vCloud Director DNAT resource. This can be used to create, modify, and delete destination NATs to map an external IP/port to an internal IP/port.

Example Usage

resource "vcd_dnat" "web" {
  edge_gateway = "Edge Gateway Name"
  external_ip  = ""
  port         = 80
  internal_ip  = ""
  translated_port = 8080

Argument Reference

The following arguments are supported:

  • edge_gateway - (Required) The name of the edge gateway on which to apply the DNAT
  • external_ip - (Required) One of the external IPs available on your Edge Gateway
  • port - (Required) The port number to map
  • internal_ip - (Required) The IP of the VM to map to

© 2018 HashiCorpLicensed under the MPL 2.0 License.