How to configure Azure Point to site VPN to access site running on IIS in azure VM.

Richmond Eric-Okolai 20 Reputation points
2023-07-05T06:23:07.1833333+00:00

I have successfully configured an azure point to site VPN with tunnel type “IKEv2 and OpenVPN(SSL)” and authentication methodThe reason for this configuration is to securely access the site running on IIS in a Virtual machine. The site has a public domain bound to it.

The issue is once I connect to the point to site and try to reach the site over the public domain which is binder to the site, I cannot reach it but when I try to access the site over the private IP of the VM, it goes through

what do I need to do, to still be able to access my site over the public domain while connected to the point to site VPN?

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

Accepted answer
  1. Luke Murray 11,436 Reputation points MVP Volunteer Moderator
    2023-07-10T19:17:08.88+00:00

    To use your own domain name, you will need:

    • Azure DNS Resolver
    • Private DNS zone (assume you would already have this) that is linked to the resolver.

    Then the DNS IP gets directed to the Azure DNS Resolver, which does a lookup on the Private DNS Zone.

    I setup something very similar here: https://luke.geek.nz/azure/azure-point-to-site-vpn-and-private-dns-resolver/

    1 person found this answer helpful.

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.