Hi,
I have a single server deployment of Server 2012 R2 Remote Desktop Services. It works fine internally using both RDWeb and the RD Client with the gateway set, but connecting externally gives me the following error:
"Your computer can't connect to the remote computer because the remote Desktop Gateway server is temporarily unavailable. Try reconnecting later or contact your network administrator for assistance"
The following steps have already been done:
Set-RDSessionCollectionConfiguration –CollectionName QuickSessionCollection -CustomRdpProperty “use redirection server name:i:1 `n alternate full address:s:remote.domain.com”
Set-RDPublishedName.ps1 "remote.domain.com"
In Application Settings for RDWeb\Pages I have set DefaultTSGateway to remote.domain.com
remote.domain.com has been added to the RD RAP.
Internal and public DNS records for remote.domain.com
A publically signed wildcard certificate is in use (Internal domain is corp.domain.com so I am using an alias to make the wildcard *.domain.com cert valid).
I can hit https://remote.domain.com/rpc and get prompted for authentication and then get a blank page.
The only error I can see in the logs is this in the system log:
"The program lsass.exe, with the assigned process ID 760, could not authenticate locally by using the target name TERMSRV/remote.domain.com. The target name used is not valid. A target name should refer to one of the local computer names, for example,
the DNS host name.
Try a different target name."
The server is sitting in AWS and remote.domain.com publically is a CNAME for the AWS LoadBalancer URL.
Any suggestions on what else I can look at?
Cheers,
James