Publishing the RD Gateway behind the Web Application Proxy
Complete the following steps to publish the RD Gateway behind the Web Application Proxy:
- Install the hot fix for Web Application Proxy from the following location: https://support.microsoft.com/en-gb/kb/3000850.
- Connect to your WAP server and switch to the Remote Access Management console.
- In the left pane, make sure thatWeb Application Proxyis selected, and then in the right pane, clickPublish. The Publish New Application wizard is displayed.
- In the wizard, edit the following fields:
- ClickNext.
- For the pre-authentication, selectActive Directory Federation Services (AD FS), and clickNext.
- Select the Relying Party Trust that you created in Creating a Relying Party Trust in AD FS and clickNext.
- Enter a name for this published application. This name is for internal use only.
- Enter the external URL that users use to access your RD Gateway/RD Web Access installations. Then, select the certificate that your RD Gateway uses.
- Make sure that the back-end server URL is the same as the external URL, and clickNext.
- In the confirmation window, clickPublish.
- In theResultswindow, clickCloseto complete the settings in the wizard.
- Using PowerShell, customize the following settings for the published web proxy using the commands that are listed in the following table.SettingCommandDisableHttpOnlyCookieProtectionGet-WebApplicationProxyApplication -Name rdg | Set-WebApplicationProxyApplication -DisableHttpOnlyCookieProtectionInactiveTransactionsTimeoutSecGet-WebApplicationProxyApplication -Name rdg | Set-WebApplicationProxyApplication -InactiveTransactionsTimeoutSec 28800
