Virtual Network Gateway

%3CLINGO-SUB%20id%3D%22lingo-sub-3069494%22%20slang%3D%22en-US%22%3EVirtual%20Network%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3069494%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20There%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wanted%20to%20setup%20a%20Express%20route%20gateway%20and%20VPN%20on%20my%20Virtual%20Network%20gateway.%20I%20have%20Hub%20and%20Spoke%20model%2C%20where%20I%20create%20one%20subnet%20%22GatewaySubnet%22%20on%20hub%20vnet%2C%20Can%20I%20able%20to%20create%20two%20Virtual%20gateway%20one%20for%20Express%20route%20and%20another%20for%20S2S%20VPN%20for%203rd%20Party%20partners%20%2F%20Supporting%20vendors%20%2F%20B2B%20and%20so%20on.%20Any%20reference%20link%20much%20appreciated.%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20far%20I%20understand%2C%20generally%26nbsp%3B%20Virtual%20Network%20gateway%20would%20be%20use%20either%20one%20for%20On-prem%20connectivity%20or%20VPN%20as%20fall%20back.%20But%20in%20this%20scenario%26nbsp%3B%3C%2FP%3E%3CP%3EExpress%20Route%20for%20---%26gt%3B%20On-prem%20Connectivity%26nbsp%3B%3C%2FP%3E%3CP%3EVPN%20for%20---%26gt%3B%203rd%20party%20S2S%20VPN.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi There, 

 

I wanted to setup a Express route gateway and VPN on my Virtual Network gateway. I have Hub and Spoke model, where I create one subnet "GatewaySubnet" on hub vnet, Can I able to create two Virtual gateway one for Express route and another for S2S VPN for 3rd Party partners / Supporting vendors / B2B and so on. Any reference link much appreciated. 

As far I understand, generally  Virtual Network gateway would be use either one for On-prem connectivity or VPN as fall back. But in this scenario 

Express Route for ---> On-prem Connectivity 

VPN for ---> 3rd party S2S VPN. 

4 Replies
This page explains how to configure an ExpressRoute and S2S VPN alongside each other. Does that help?
https://docs.microsoft.com/en-us/azure/expressroute/expressroute-howto-coexist-resource-manager

@Chris Bradshaw 

Thanks for your response. 

Basically we wanted to achieve as shown in below:

With out forcing the traffic to PAFW I can successfully establish the tunnel. Spoke to Spoke communication also working as expected. But I wanted force the traffic PA first then pass on to VPNGW in order to establish the tunnel. Similarly from outbound after VPN lands on VPNGW it should be pass thru PAFW. 

 

ramakrishnanv_0-1643225999114.png

 

@ramakrishnanv 

Have you implemented any User-defined routes here? I would suggest that your spoke subnets might need a default route where the next hop is the Virtual Appliance address of the firewall. The firewall in turn would then have a next hop of the VPN connection:

Some details on User Defined Routes here: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview

Yes Chris,
Placed the UDR with default route done at the spoke. Found the issue. there should be another route in the NVA(PAFW) has to be in place which pointing to Gatewaysubnet default gateway IP(in our case 10.0.0.1 < subnet 1st ip>) , so that traffic would be pick up by VPN gateway in order to encrypt and send them over to internet. Thanks for your response.