Share via

How to use IPSec tunnel for my VM?

VIST AND COM 21 Reputation points
Sep 14, 2022, 3:57 PM

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

Accepted answer
  1. Rafael da Rocha 5,176 Reputation points
    Sep 14, 2022, 4:03 PM

    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: Oldest

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.