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?
3 Answers
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.
Honestly, a point-to-site VPN is probably your best bet for individual users. It’s straightforward and should meet your needs.
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).
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.