MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Why is gateway transit required for VM NICs, but not PaaS services Private Endpoints? #109560

Closed o-l-a-v closed 1 year ago

o-l-a-v commented 1 year ago

Regarding VNet peering, Hub/Spoke:

I found that you can reach a Key Vault Private Endpoint (with public endpoint disabled) in a spoke with VNet peering without gateway transit enabled. While reaching a VM on 22 or 3389 TCP did not work until gateway transit was enabled on the same peering.

Why is that? Can't see that mentioned in this documentation, thus asking.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

KapilAnanth-MSFT commented 1 year ago

@o-l-a-v

Can you please explain your infrastructure.

o-l-a-v commented 1 year ago

Setup is a basic hub/spoke network.

What works through P2S VPN without gateway transit enabled:

What does not work through P2S VPN without gateway transit enabled:

KapilAnanth-MSFT commented 1 year ago

@o-l-a-v

You are using a custom configuration here. By custom, I mean that you are advertising a whole /16 in the Additional routes.

Having stated that, why PE works but a VM doesn't with Additional routes requires a deeper investigation.

At this point, I would recommend you to please post your observation on Microsoft Q&A and other forums, we have our engineers and others who are monitoring them and will be happy to help or Create an Azure Support Incident where a support engineer can have a screen share session to pinpoint the behavior.

I shall close this issue now. In case you do not have a support plan, please do let us know, we will try and help you get a one-time free technical support.