RDP gateway to secure rdp access to vm

Frequent Contributor


can I set up RDP gateway as Azure Service?

I like to secure my lab vm with rdp access. VPN is not so good, because I access the vms from different location and laptops.




4 Replies

I was able to host the RDWeb page behind an AD Application Proxy and use Azure AD authentication before hitting the web page.  You can use AD App Proxy with the RD Gateway URL but not with authentication, it just acts as a reverse proxy.

Hallo Travis, thanks for your response. Can you please give me more details. 


Since yesterday I use Just in time access for secure my azure vm.

The AD Application Proxy acts as a hosted revers proxy service in Azure.  The downside is it requires Azure AD, so if you don’t have that it may not work for you.  I published the RD Web page through the Proxy to avoid opening ports on the firewall.  Users hit the proxy URL prior to the RDWeb page, forcing them to log in.

If you are looking for one-off VM access, Just in Time is probably the better bet.  Microsoft has another product Remote Desktop Modern Infrastructure that will provide most of the RDP infrastructure as a service.  That’s still in private preview.

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
203 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies