How to use IPSec tunnel for my VM?

VIST AND COM 21 Reputation points
2022-09-14T15:57:11.263+00:00

Hello,

I configured an IPSec tunnel between Azure and my Forti. The tunnel is operational, flow passes inside, I can join my machines to each other. The problem is that I have the impression that my Azure VM does not go through the tunnel to access the internet... When I do a curl ifconfig.me, it gives me a public IP that I do not know.. I despair, the support not bringing me answers that can unblock my situation.

Cordially,

Florian

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,514 questions
{count} votes

Accepted answer
  1. Rafael da Rocha 5,091 Reputation points
    2022-09-14T16:03:57.163+00:00

    Hello,

    here's documentation about forced tunneling, that will help you achieve what you want

    https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm


0 additional answers

Sort by: Most helpful

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.