As explained in the Load Balancing Remote Desktop Gateway section, implementing load balancing for RD Gateway is performed by load balancing HTTPS traffic on port 443 and UDP traffic on port 3391.

Before configuring the LoadMaster, ensure to have the DNS names and IP addresses of all servers running the RD Gateway role.

Note: The TLS certificate used on the Virtual Service must be identical to the TLS certificate on the backend RD Gateway Server.

To retrieve the RD Gateway servers in your deployment, follow the steps below:

  1. Open the Remote Desktop Management Services (RDMS) console.
  2. Open the Overview.

  3. Refer to the Deployment Servers section.

Alternatively, use the PowerShell equivalent by running the command GET-RDServer as part of the Remote Desktop PowerShell module.

RD Web Access Server

IP Address

RDP-RDGW01.rdpdoc.net

10.154.201.2

RDP-RDGW01.rdpdoc.net

10.154.201.3

In the above example, two RD Gateway servers are part of this deployment.

Ensure that all Remote Desktop Gateway servers are accessible. To do this, open a web browser and go to each of the individual web servers, for example, https://RDP-RDGW01.rdpdoc.net/rpc. This should bring up an authentication request. After supplying domain credentials, a blank screen should appear. This indicates that the service is reachable.

Load Balanced DNS Name

Load Balanced IP Address

rdgw.rdpdoc.net

10.154.11.52

Also, ensure you have an IP address and DNS available that is used to access the load-balanced RD Web Access environment. In our example, the above information was used.

Ensure that a valid SSL certificate is configured within the RDS deployment which is trusted by the endpoints that are accessing the RD Gateway environment. The SSL certificate can be centrally configured by following the steps below:

  1. Open the Remote Desktop Management Services (RDMS) console.
  2. Open Collections and select Tasks.
  3. Click Edit Deployment Properties.

  4. Select the Certificates tab.
  5. Ensure a valid certificate is selected and (if needed) create a new certificate or select a different certificate.