Routing traffic over Azure VPN

%3CLINGO-SUB%20id%3D%22lingo-sub-2218409%22%20slang%3D%22en-US%22%3ERouting%20traffic%20over%20Azure%20VPN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2218409%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20got%20the%20Azure%20VPN%20configured%20and%20working.%26nbsp%3B%20We%20have%20a%20website%20that%20only%20allows%20connections%20from%20our%20company%20network%20in%20azure.%26nbsp%3B%20I%20am%20trying%20to%20see%20if%20I%20can%20just%20route%20the%20traffic%20to%20the%20site%20over%20the%20vpn%20connection%20when%20users%20are%20connected%2C%20but%20even%20with%20routes%20set%20on%20the%20gateway%20and%20advertised%20to%20the%20client%2C%20the%20traffic%20is%20still%20going%20direct%20across%20the%20internet.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20a%20way%20I%20can%20resolve%20this%3F%26nbsp%3B%20Ideally%20we'd%20just%20like%20to%20have%20all%20traffic%20over%20the%20VPN%2C%20but%20that%20doesn't%20seem%20to%20be%20an%20option.%26nbsp%3B%20I'm%20just%20not%20sure%20what%20I'm%20missing%20trying%20to%20route%20this%20specific%20traffic.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2218409%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVirtual%20Network%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2219843%22%20slang%3D%22en-US%22%3ERe%3A%20Routing%20traffic%20over%20Azure%20VPN%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2219843%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F40290%22%20target%3D%22_blank%22%3E%40Matthew%20Shulman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHi%20Matthew%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20you%20using%20Azure%20Web%20App%3F%20Did%20you%20configure%20vnet%20integration%20or%20private%20link%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I've got the Azure VPN configured and working.  We have a website that only allows connections from our company network in azure.  I am trying to see if I can just route the traffic to the site over the vpn connection when users are connected and when I have the routes in place the traffic does seem to go over the VPN connection but can't reach the destination.

Is there a way I can resolve this?  Ideally we'd just like to have all traffic over the VPN, but that doesn't seem to be an option.  I'm just not sure what I'm missing trying to route this specific traffic.  

Thanks in advance!

3 Replies

@Matthew Shulman 

Hi Matthew;

 

Are you using Azure Web App? Did you configure vnet integration or private link? 

 

Best? 

No, the application is an external web app that is hosted on AWS. We just want to access it from across the vpn so it comes from our Azure external IP range and that can be whitelisted. I tried using the app proxy with it, but the way the page is coded prevented that from working as well.
As far as i understand the architecture, if you write Ip address of web site to Local Network Gateway, your traffic originated from Azure Vnet can reach the destination over VPN tunnel.