Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Implement a VPN client configuration file

A worked example

Put in order

Your company uses an Azure Virtual WAN hub with a point-to-site VPN gateway that uses the OpenVPN protocol. Remote users run Windows and connect with the Azure VPN Client version 2:1900:41.0.

The following is already in place:

  • Azure Firewall Manager is configured so that internet-bound traffic goes through Azure Firewall in the hub.
  • The EnableInternetSecurity flag is already turned on for the point-to-site VPN gateway.

Profiles downloaded for this gateway contain <version>1</version> in azurevpnconfig.xml.

You must configure a user's device so that all of its traffic, including internet-bound traffic, is sent to Azure through the Azure VPN Client.

Which actions should you perform on the user's device, in order?

Your order

You didn't answer this one.

Correct order
1Download the point-to-site VPN profile zip file for the gateway from the Azure portal.
2Extract the zip file.
3In the AzureVPN folder, open azurevpnconfig.xml, change the value between the version tags from 1 to 2, and save the file.
4Import the edited azurevpnconfig.xml profile into the Azure VPN Client and save the connection profile.
5Connect to the newly added connection in the Azure VPN Client.
Why

The routing configuration and EnableInternetSecurity flag are already in place, and the installed Windows client exceeds the minimum version required for forced tunneling. Download and extract the profile package, then change the version value in azurevpnconfig.xml from 1 to 2. Import and save that edited profile before connecting. The Set-VpnConnection procedure applies to the native IKEv2 client rather than this OpenVPN connection.

  • Step 1: Download the point-to-site VPN profile zip file for the gateway from the Azure portal. Every later action works on the files in this zip, so it must be obtained first.
  • Step 2: Extract the zip file. The zip must have been downloaded before it can be extracted.
  • Step 3: In the AzureVPN folder, open azurevpnconfig.xml, change the value between the version tags from 1 to 2, and save the file. Extraction makes the profile file available for editing.
  • Step 4: Import the edited azurevpnconfig.xml profile into the Azure VPN Client and save the connection profile. The saved connection must contain the version 2 setting from the preceding edit.
  • Step 5: Connect to the newly added connection in the Azure VPN Client. The connection must be imported and saved before it can be used.
  • Not needed: Run Set-VpnConnection -Name <connection name> -SplitTunneling $false on the device. That command applies to IKEv2 connections created with Add-VpnConnection; these users connect with the Azure VPN Client over OpenVPN, which uses the version setting in azurevpnconfig.xml instead.
  • Not needed: Run Update-AzP2sVpnGateway -ResourceGroupName <resource group> -Name <gateway name> -EnableInternetSecurityFlag. The scenario states that the EnableInternetSecurity flag is already turned on for the gateway, so this is not needed.
  • Not needed: In the Generic folder, edit VpnSettings.xml and import it into the Azure VPN Client. The forced tunneling change for the Azure VPN Client is made in azurevpnconfig.xml in the AzureVPN folder, and that is the profile that is imported.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free