Route Traffic to a specific URL through the IPSEC Tunnel

Philipp Gerber 251 Reputation points
2022-05-09T08:49:05.547+00:00

Hello Everyone,

i have an IPSec Tunnel to an OnPremise Network.
My Servers at Azure use the Microsoft Backbound for the Traffic to the Internet.

It is possible to route te Traffic for an specific public URL through the VPN Tunnel and not over the Public IPs (Internet) from Azure?

What do i need in Azure to can do this case?

Thanks a lot.

Best Regards,
Phil

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

2 answers

Sort by: Most helpful
  1. msrini-MSFT 9,256 Reputation points Microsoft Employee
    2022-05-09T09:07:28.54+00:00

    Hi @PhilippGerber-6516

    You will need to add the Public IPs list of that URL which you want to forward to On-Prem to the Local Network Gateway and configure your On-Prem device to accept traffic to the public IP via the tunnel.

    Or you can enable force tunneling and send all the traffic which is destined to Internet via On-Premises.

    Regards,
    Karthik Srinivas

    0 comments No comments

  2. Philipp Gerber 251 Reputation points
    2022-05-09T10:47:24.463+00:00

    HI @msrini-MSFT

    Thanks for your Answer.
    Allright. I wouldnt send all the traffic through the Tunnel. So Forced Tunneling is not an Option for this Situation.

    So you mean that i do Static Routes with the Public IPs and send that to the Next Hop "Virtual Network Gateway" right?