question

PhilippGerber-6516 avatar image
0 Votes"
PhilippGerber-6516 asked PhilippGerber-6516 commented

Route Traffic to a specific URL through the IPSEC Tunnel

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-virtual-networkazure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

msrini-MSFT avatar image
0 Votes"
msrini-MSFT answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PhilippGerber-6516 avatar image
0 Votes"
PhilippGerber-6516 answered PhilippGerber-6516 commented

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?

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Nope. In the Local Network Gateway add the public IP address along with your On-Premises route.

0 Votes 0 ·

Mhh.
I dont unterstand this.

The local Connection is for the VPN IP Sec Connection important and the Public IP from the IP Gateway is at the Configure important.

But i would like only to set an route for an specific url through the IPSEC Tunnel.

0 Votes 0 ·
msrini-MSFT avatar image msrini-MSFT PhilippGerber-6516 ·

The Local Network Gateway is the way how resources in Virtual Network learns your On-Premises route. So by adding the URL;s IPs over the local Network gateway, you can forward the traffic destined to Internet via the tunnel. Then on the On-Premises, you need to accept traffic and forward to Internet.

0 Votes 0 ·
Show more comments