Azure LoadBalancer blocks a local vnet connections

Jan Vávra 341 Reputation points
2024-12-12T12:51:22.1133333+00:00

Why after adding a Windows VM to a SKU Standard Load Balanacer backend pool, the VM is not accessible by a sibling vm on the same vnet using

telnet localip 3389

It wrote: "No route to host"

If the VM is removed from the backend pool, the connection was successful.
At the VM's nsg there is rule to allow 3389.
The outbound configuration at the LB has a rule to automatically distrubute the ports (SNAT).

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
463 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rohith Vinnakota 1,515 Reputation points Microsoft Vendor
    2024-12-16T13:07:38.5066667+00:00

    Hi @Jan Vávra

    Good day!

    I have set up a lab and initiated a test where I deployed VM in the backend pool of the public load balancer and tried to telnet to a sibling VM in the same VNet. I was able to successfully telnet to the VM in the load balancer.
    User's image

    I tried the telnet vm in the backend pool of the load balancer.

    User's image

    This may be the reason why you are unable to access the VM in the backend pool of the load balancer.

    User's image

    Refer this link :

    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-connectivity-problem-between-vms#step-5-check-whether-the-problem-is-caused-by-snat

    If you have any further queries, do let us know.

    Thanks,

    Rohith


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    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.