i´m testing a RDS std deployment, using 3 servers:
Server01 - Broker, Web & Gateway AND Server02 and Server03 - RDS Host/TS
Of course sharing Web and Gateway in the same machine is not a best practice, but let´s take into account is a dev/test/learn enviroment. 5 years ago i built the exact same thing using TS/WIN2008R2 and worked well for many years
In the TS/Win2008 i´ve changed the desktops.aspx file, changing the "gatewayusagemethod" from "2" to "1"
(as stated by: https://msdn.microsoft.com/en-us/library/windows/apps/hh994953.aspx 1 Use the Remote Desktop gateway specified by the "gatewayhostname"
property. 2 Automatically detect the Remote Desktop gateway server settings.)
OK, but i couldn´t remeber what i did 5 years ago, so i browsed the web and found a lot of different solutions to the same case (i´m trying to reproduce the sharing of the services in Win2012R2)
Here (https://technet.microsoft.com/en-us/library/cc731465.aspx) there is a procedure related to changes in DefaultTSGateway
and GatewayCredentialsSource
Here (https://blogs.technet.microsoft.com/askperf/2008/08/19/forcing-the-remote-desktop-option-in-ts-web-access-to-use-ts-gateway/) there is a procedure related to changes in "TSGateway"
IIS Application Setting"
Here (https://technet.microsoft.com/en-us/library/cc770330.aspx) there is a procedure related to changes in Forms
Authentication
I´m not entirely sure, but my OLD TS Server has no change in DefaultTSGateway and GatewayCredentialsSource
My OLD TS Server has no IIS
Application Setting configured, the TSGateway Application Config is empty (using the word "Local", probably the same
if i type the FQDN of the gateway)
My OLD TS Server has no forms authentications enabled and works well.
So, in my case, my OLD TS Server has only the gatewayusagemethod parameter in desktops.aspx and , as far as i know, only that and works well.
Can i make the same change in Win2012Rs and it will work?