Hello Sergei,
Thank you for your question and for reaching out with your question today.
This task is relatively complex and is not easy to describe within a forum like this. The basic task list is as follows:
- Ensure that you fulfil the following conditions before configuring RD Gateway through Web Application Proxy:
Install and configure AD FS for Windows Server 2012 on a Windows Server. Verify that the AD FS services work by accessing the AD FS sign-in page (https://<ADFS Compute FQDN>/adfs/ls/ idpinitiatedsignon.htm).
Install and configure the Web Application Proxy on a Windows Server which has the same domain as the AD FS server.
Make sure that you install the remote desktop services and perform all the steps for seamless logon with RD Gateway. For more details, refer to the Microsoft documentation.
- Create a relying party trust for RD Gateway.
- Publish the RD Gateway behind the Web Application Proxy
- Modify your Remote Desktop Service (RDS) collections.
- Set group policies on the Active Directory Domain Services computer.
- Test the configuration.
More details can be found here:
If the reply was helpful, please don’t forget to upvote or accept as answer.