How can I set up RDP access to my VM without users needing Azure Portal access?

April 28, 2025 3 answers
Asked by CuriousCat42
I'm dealing with some unusual restrictions where my users don't have access to the Azure Portal, and their IP addresses change frequently. I need a solution that allows them to connect to a VM via RDP using a domain name that redirects to the VM's IP. Will this setup lead to any lag for the users?

Answers

DNSGuru123
Just a heads up, thatโ€™s not how DNS works. You should assign static IPs to your VMs instead of keeping them dynamic. This guide explains how to set up a VM with a static IP using the Azure portal, PowerShell, or CLI: [Create a VM with a static private IP address](https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-networks-static-private-ip?tabs=azureportal).

CuriousCat42: I see where you're coming from, but just to clarify, the users' outgoing IP addresses are dynamic, not the VMs. I've been manually whitelisting IPs because leaving it open leads to connection issues and lockouts.

Reply to this answer
SimpleSolutionSam
Honestly, a point-to-site VPN is probably your best bet for individual users. Itโ€™s straightforward and should meet your needs.
Reply to this answer
TechSavvyJoe
You could consider setting up a site-to-site VPN if all your users are connecting from a single location or an internal network. If they're spread out, a point-to-site VPN would be ideal as it lets individual users connect to the VM's network. Both setups are manageable through a virtual network gateway.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions