Changing the Default Port of RD Gateway in Windows Server 2012

Changing the Default Port of RD Gateway in Windows Server 2012

The RD Gateway can be used to securely publish RemoteApps or Full Desktops over the internet over Secure Sockets Layer (SSL). By default the RD Gateway port listeners on port 443 for incoming requests. With Windows Server 2012, it’s possible to change this default port. This Wiki will guide in changing this default port, and use it inside a client.

With Windows Server 2012, many of the RDS roles can now be managed using the new central Server Manager console. The RD Gateway is an exception to this. So we open up the Remote Desktop Gateway Manager which is also available as a Windows 8 tile.



We right-click the properties of the RD Gateway server and select properties and on the properties dialog we select Transport Settings.



Here we have the option available “HTTP Port (default 443)” to change the default port. In this example we change it to port 666 and apply the configuration. We need to confirm that the following actions will be performed; 1. A listener is added to the firewall, all active connections will be disconnected and the RD Gateway Server will be restarted



We can then configure the client to start using the RD Gateway on the new port by simply adding “:666” to the configuration in e.g. mstsc



Using the RD Gateway button on the RDP bar we can confirm that we’re actually using the RD Gateway by using the new port.

 
 

Leave a Comment
  • Please add 3 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Original. Comment: Title casing, added tags

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Ed Price - MSFT edited Original. Comment: Title casing, added tags

Page 1 of 1 (1 items)