RD Gateway uses two connections for each client session: one for inbound traffic and one for outbound traffic. This procedure is required to ensure that if a load balancer distributes each connection to a different RD Gateway server, the traffic from both connections will be redirected to the same RD Gateway server.

Important

You must already have load balancing configured before completing this procedure. RD Gateway does not perform load balancing itself. This procedure only ensures that RD Gateway will function correctly with a load-balancing solution that is already in place.

Membership in the local Administrators group, or equivalent, on the RD Gateway server that you plan to configure, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477.

Important

The RD Gateway servers that you add to the RD Gateway server farm must be domain members, and they must each have identical Remote Desktop connection authorization policies (RD CAPs) and Remote Desktop resource authorization policies (RD RAPs).

To create a Remote Desktop Gateway server farm
  1. On the RD Gateway server, open Remote Desktop Gateway Manager. To open Remote Desktop Gateway Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Gateway Manager.

  2. In the Remote Desktop Gateway Manager console tree, click to select the node that represents your RD Gateway server, which is named for the computer on which the RD Gateway server is running.

  3. In the results pane, under Configuration Status, click Add RD Gateway server farm members (if you have already added one or more RD Gateway servers to the server farm, the hyperlink title will appear as View RD Gateway server farm members).

  4. In the Properties dialog box for the RD Gateway server, on the Server Farm tab, in the RD Gateway server farm member box, type the name of the RD Gateway server that you want to add to the farm, and then click Add.

    Note

    You can specify a NetBIOS name, a fully qualified domain name (FQDN), or an IP address for each RD Gateway server when you add it to the farm, but the name must match the name for the RD Gateway server that is used in Active Directory Domain Services.

    After you click Add, the RD Gateway server name will appear under Remote Desktop Gateway server farm status.

  5. Repeat step 4 as needed, making sure that you add the names of all the other members of the RD Gateway server farm, and that you include the name of the local RD Gateway server. The list of RD Gateway server farm members must be identical on each RD Gateway server in the farm.

  6. Click OK.

Additional considerations

  • RD Gateway will interoperate with Network Load Balancing or non-Microsoft load-balancing devices for load balancing.

  • In a load-balanced environment, RD Gateway servers are grouped into farms, with each farm being represented to Remote Desktop Services clients as a single computer name with one IP address.

Additional references