Unable to connect from VM in peered VNETs from 1 region to another

Kyle Brooks 20 Reputation points
2025-04-08T21:10:23+00:00

I am trying to connect from a VM in centralus to eastus2 through a peered VNET between these VNETs:

/subscriptions/bc80a70f-973c-4ce3-a76f-c9b1c7316fdf/resourceGroups/rg-hub-centralus/providers/Microsoft.Network/virtualNetworks/vnet-hub-centralus

/subscriptions/bc80a70f-973c-4ce3-a76f-c9b1c7316fdf/resourceGroups/rg-hub-eastus2/providers/Microsoft.Network/virtualNetworks/vnet-hub-eastus2

I am able to connect from eastus2 to centralus but not from centralus to eastus2. They have similar routes and NSGs configured using terraform but for some reason 1 way works but not the other way.

When I run the Connection troubleshoot in network watcher it says in inbound NSG inbound rules are denying the request but they have the same NSG rules assigned for each region.

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.


Answer accepted by question author
Abiola Akinbade 30,500 Reputation points Volunteer Moderator
2025-04-08T21:24:17.8866667+00:00

It sounds like you're experiencing a one-way connectivity issue with your peered VNETs. You will need to check that both VNETs have peering configured properly with the correct settings:

  • Check that Allow virtual network access is enabled on both sides
  • In Azure Portal: VM > Networking > Network Interface > Effective Security Rules
  • Confirm "Allow forwarded traffic" is enabled if needed
  • You can also check the Terraform state or plan outputs for both NSGs to identify any subtle differences
  • Check for default deny rules that might be affecting traffic

See: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works

You can mark it 'Accept Answer' and 'Upvote' if this helped you

Regards,

Abiola

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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