Azure VPN Gateway

Azure VPN Gateway is a service that uses a specific type of virtual network gateway to send encrypted traffic between an Azure virtual network and on-premises locations over the public Internet.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Deployments

27

Made by

Massdriver

Official

Yes

No

Compliance

azure-vpn-gateway

VPN Profile

To start using the VPN after it’s deployed, download the VPN profile. You can download the profile from the Azure Console or using PowerShell.

Azure Console

  1. In the Azure portal, go to the virtual network gateway for the virtual network to which you want to connect.

  2. On the virtual network gateway page, select Point-to-site configuration to open the Point-to-site configuration page.

  3. At the top of the Point-to-site configuration page, select Download VPN client. This doesn’t download VPN client software, it generates the configuration package used to configure VPN clients. It takes a few minutes for the client configuration package to generate. During this time, you may not see any indications until the packet has generated.

PowerShell

$profile=New-AzVpnClientConfiguration -ResourceGroupName "local-dev-vnet-0001" -Name "local-dev-vpn-0001" -AuthenticationMethod "EapTls"

$profile.VPNProfileSASUrl
  • ResourceGroupName is the resource group of the virtual network (copy package name from your VNet bundle)
  • Name is the name of the virtual network gateway (copy package name from your VPN bundle)

Azure VPN Client

Make sure to consent to using Azure VPN in your tenant.

Tradeoffs

  • Certificate authentication type not yet supported (work in progress)
  • Downloading a VPN profile or certificates from Massdriver to authenticate not yet support (work in progress)
  • RADIUS server not supported
VariableTypeDescription
gateway.auth_typestringThe authentication type to use for the VPN connection. If using Microsoft Entra ID, be sure to authorize the Azure VPN app in your Azure account here. The authentication type cannot be changed after deployment.
gateway.generationstringThe generation for the VPN gateway. Learn more.
network.autobooleanEnabling this will automatically select an available CIDR range for your database. Unchecking will require you to specify the CIDR.