Microsoft Remote Desktop Gateway (RD Gateway) is used to safely publish a Remote App of Full Desktop over the internet. The RD Gateway functions as an RDP proxy. It proxies incoming RDP traffic (on port 443) to the Remote Desktop Session Host (RD Session Host) servers on port 3389.

The RDP traffic running on port 443 must be load balanced in the LoadMaster.

After the RD Gateway role is installed, you can use the Remote Desktop Management Services (RDMS) console as part of the Server Manager to retrieve the RD Gateway servers as part of the deployment.