@Suriel Angel Carrasco Rodríguez
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you are unable to RDP to a VM in Azure.
I am uploading a English translated image of the Screenshot you have posted.
The NSG looks good.
- Can you make sure the if the NSG rules attached to the NIC/subnet also allow RDP.
- Which method were you using?
- Using the IP of the VM
- or Using the IP of a Load Balancer where the VM is a backend pool
- or Using an Azure Firewall's IP and DNAT
- Make sure you are RDPing to the correct Public IP of the VM
- Make sure the Public IP is attached to the targetVM
- Navigate to the VM and to the NIC from Networking blade
- And make sure an IP is allocated to the NIC
- Please share the output (you can redact the Public IP)
- Are you able to RDP from a different VM in the same subnet/Vnet using the private IP of the targetVM?
- Refer : Azure VM cannot connect to another Azure VM in same virtual network
- Run PsPing from the testVM to private IP and from your local machine to the public IP of the VM.
- Download Psping
- From local machine, open CMD as admin and navigate to the folder containing psping
- Run, psping <Public IP of the VM>:3389
- From the testVM, open CMD as admin and navigate to the folder containing psping
- Run, psping <Private IP of the VM>:3389
- And share the output of the above two
- Use IP Flow Verify to check if traffic is allowed or not
Cheers,
Kapil