Forum Discussion
Charles Bradley
Dec 30, 2017Copper Contributor
Can Others Connect to my VM
Hi Everyone:
Is there a way to configure one of my VMs so a friend of mine could use RDP and connect to it? Just curious to know this. I was thinking I would create the VM using my account. ...
- Dec 30, 2017
No problem. Set up a .rdp file using mstsc, save locally, and send. Or connect via the portal and save the .rdp file. Edit the file for your friend's credentials, assuming you have created a local account for him/her. Domain account if your VM belongs to a domain. On the VM, authorize your friend's account for remote access.
Vineet Arora
Dec 30, 2017Brass Contributor
Hi,
As Ray mentioned, you can do this.
However, try if you can secure it using Network Security Group.
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal
Check if your friend has a static IP, then allow access only from his IP address and block all other ports.
I have seen issues if internet access is all open on the VM, it can get compromised.
Thanks,
- Charles BradleyDec 31, 2017Copper Contributor
Thanks much Vineet!