resource "azurerm_lb_nat_rule" "${MyResource}" {
         name = "RDP Access"
         location = "West US"
         resource_group_name = "\${}"
         loadbalancer_id = "\${}"
         protocol = "Tcp"
         frontend_port = 3389
         backend_port = 3389
         frontend_ip_configuration_name = "PublicIPAddress"
      Terraform language logo


      Terraform snippets

      The azurerm_lb_nat_rule resource defines a rule that allows RDP access from the West US location to the port 3389 on the frontend computer. The rule allows traffic to flow only from the public IP address of the frontend computer to the backend computer.

      Shortcut: tf_azurerm_lb_nat_rule


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.