Cannot connect to VM using RDP after setting up firewall for public ip of VM and VM public ip as none

Satyam 20 Reputation points
2023-03-19T14:08:23.6233333+00:00

I have followed the learn steps to set up firewall and configure it for public and when i tried to connect using public IP , the connection failed using public IP.
I followed steps provided here: https://learn.microsoft.com/en-us/azure/firewall/tutorial-firewall-deploy-portal

User's image

User's image

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
564 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,227 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael J. Bean 0 Reputation points
    2023-03-19T14:58:25.9266667+00:00

    Could be several issues. Here are some steps to try to work through them. Hopefully one of these helps.

    1. Verify that the public IP address is correct: Make sure that you are using the correct public IP address to connect to the firewall. You can check the public IP address of the firewall in the Azure portal under the "Public IP addresses".
    2. Check the firewall rules: Verify that the firewall rules are set up correctly to allow traffic to pass through the firewall. You can check the rules in the Azure portal under the "Firewall rules" .
    3. Check the network security group (NSG) rules: Make sure that the NSG rules are not blocking traffic to the firewall. You can check the NSG rules in the Azure portal under the "Network security groups".
    4. Check the virtual network configuration: Verify that the virtual network configuration is set up correctly and that the firewall is associated with the correct virtual network. You can check the virtual network configuration in the Azure portal under the "Virtual networks".
    5. Check the routing: Verify that the routing is set up correctly and that the traffic is being routed to the correct subnet. You can check the routing in the Azure portal under the "Route tables".
    6. Check the DNS settings: Make sure that the DNS settings are configured correctly to resolve the public IP address to the correct firewall endpoint. You can check the DNS settings in the Azure portal under the "DNS zones".
    0 comments No comments