Need suggestions on traffic flow from hub and spoke model and Azure Site to Site VPN.

Martinmajestic-3285 60 Reputation points
2025-01-10T17:59:19.6166667+00:00

Hi,

Could you please suggest me a best Azure resource which can forward the traffic from hub virtual network to spoke virtual network which has my application running and I have one more query regarding Azure Site to Site. I have a Vnet with vpn gateway in it and I have made a connection from on-prem environment to Azure by using vpn gateway, but I have created an another Vnet which has a VM in it, which in the same region and resource group. I have peered the vpn gateway Vnet and Azure Vnet which has a VM, but I'm unable to reach the VM from on-prem environment. Please give me some inputs to achieve my requirement.

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,608 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,591 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Prasanna Sinde 2,785 Reputation points Microsoft Vendor
    2025-01-10T18:45:33.5566667+00:00

    Hi @Martinmajestic-3285,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    User's image

    User's image

    • Also, we need to configure a static route for Vnet 2 (VM) from On-Prem server end. The static route needs to contain both VNet1(which has a VPN Gateway) and VNet2 (VM). pointing towards the same NIC.
    • Please make sure that there is no IP overlapping between VNets.

    If above is unclear and/or you are unsure about something add a comment below.

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

    Thanks,

    Sai.

    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.