Azure bastion works RDP fails

Efff dd 576 Reputation points
2025-01-10T16:17:14.5766667+00:00

trying to troubleshoot why connecting to the bastion works but RDP fails inbound and outbound.

added an inbound /outbound rule to the NSG and still fails.

where can i get more information from the logs. logs are probably off too

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,221 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,592 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 7,841 Reputation points
    2025-01-10T16:39:08.5766667+00:00

    Hi Efff,

    It looks like your are having problems to connect to your Azure VM trought a Bastion. I understood that you already verify that the Bastion is working, But just to be sure do a quick check:

    • Verify Bastion Status: Confirm the Azure Bastion service is in a "Succeeded" state.
    • Firewall Settings: Confirm local or intermediary firewalls are not blocking port 3389.
    • Monitor Logs: Use Azure Monitor Logs to analyze data from Azure resources.

    Lets continue with the VM Troubleshooting Steps for RDP without Azure Bastion:

    • Verify VM Configuration: Confirm the VM is running and configured for RDP.
    • Firewall Settings: Ensure Windows Firewall and intermediary firewalls allow RDP on port 3389.
    • RDP Service Check: Verify the RDP service is running on the VM.
    • (Most Important)Test Local RDP Connection: Connect to the VM locally within the same virtual network to ensure RDP works.
    • (You already did it but an additional check never is a mistake)Check NSG Rules: Ensure NSG rules allow inbound and outbound traffic on port 3389.
    • Check IP Restrictions: Ensure there are no IP restrictions blocking RDP connections.

    Let me know your findings and if you need more support.

    References:


    If the information helped address your question, please Accept the answer. Luis

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.