Can Azure VPN gateway works as a transit between different connection created within it ?

Devendra Singh 21 Reputation points
2024-04-20T11:34:26.3766667+00:00

Hello, I was performing some testing on the Azure VPN gateway, when two remote sites(Let's say A and B) were connected via the IPSEC VPN tunnel in Connection to the Virtual network gateway.

Connectivity to Azure resources is fine. What if I want is communication between A and B via VPN gateway, is that possible?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,389 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,151 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 11,005 Reputation points MVP
    2024-04-20T12:24:04.53+00:00

    Yes - that's supported.

    As per https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq

    Can I use Azure VPN gateway to transit traffic between my on-premises sites or to another virtual network?

    Resource Manager deployment model Yes. See the BGP section for more information.

    Classic deployment model Transit traffic via Azure VPN gateway is possible using the classic deployment model, but relies on statically defined address spaces in the network configuration file. BGP isn't yet supported with Azure Virtual Networks and VPN gateways using the classic deployment model. Without BGP, manually defining transit address spaces is very error prone, and not recommended.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin