Skip to main content

 

Cisco Meraki Documentation

Client VPN OS Configuration

Overview

This article outlines instructions to configure a client VPN connection on commonly used operating systems.

Learn more with these free online training courses on the Networking Learning Hub:

Sign in with your Cisco SSO or create a free account to start training.

Prerequisites and limitations

Firmware requirements 

Internet Key Exchange version 2 (IKEv2) requires Cisco Meraki MX WAN appliance firmware version 26.1.2 or higher. MX firmware version 26.1.2 and higher supports IKEv2 for client VPN. For MX configuration details, refer to this article

The following requirements apply to IKEv2 connections: 

  • Hostname: Use the MX's hostname, found in the Meraki dashboard under Security & SD-WAN > Client VPN.
    • The host name use the format xyz-123abc123abc.dynamic-m.com
  • Authentication: IKEv2 uses certificate-based authentication for the server and EAP-MSCHAPv2 ffor user authentication through RADIUS. There is no Pre-Shared Key (PSK) used for IKEv2 connections. At the time of this writing, only RADIUS authentication is supported for IKEv2
  • Local ID: Enter your VPN username 

Limitations 

Android devices running Android 12 and above do not support Layer 2 Tunneling Protocol/Internet Protocol Security (L2TP/IPsec) VPNs. Devices with existing configurations will continue to work. L2TP Client VPN connection cannot be configured on new devices. To check the Android version of a device, refer to Check & update your Android version in Google Support. 

 

Configuration Steps 

Android 

To configure an Android device to connect to the client VPN, refer to Connect to a virtual private network (VPN) on Android in Google Support. 

You need the following VPN information to complete the setup: 

Configure L2TP on Android 

  • Name: Enter any name you want for the connection, for example, "Work VPN." 
  • Type: Select L2TP/IPsec PSK. 
  • Server address: Enter the hostname (for example, abc-abcd.dynamic-m.com) or the active WAN IP (for example, a.b.c.d). Using the hostname is recommended for L2TP to improve reliability during WAN failover. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  • IPsec pre-shared key: Enter the pre-shared key that the administrator created in Security & SD-WAN > Configure > Client VPN. 

Configure IKEv2 on Android 

  • Name: Enter any name you want for the connection, for example, "Work VPN." 
  • Type: Select IKEv2/IPsec MSCHAPv2. 
  • Server address: Enter the hostname (for example, abc-abcd.dynamic-m.com). Using the hostname is required for IKEv2. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  • IPsec Identifier: Enter your VPN username. 

Chrome OS

To configure a Chrome OS device to connect to client VPN, refer to Set up virtual private networks (VPNs) in Google Support.

You need the following VPN information to complete the setup: 

Configure L2TP on Chrome OS

  • Service name: Enter a name you want for the connection, for example, "Work VPN." 
  • Provider type: Select L2TP/IPsec PSK. 
  • Server hostname (or Remote Identity): Enter the hostname or the active WAN IP. Using the hostname is recommended for L2TP to improve reliability during WAN failover. This information is located in the Meraki dashboard under Security & SD-WAN > Monitor > Appliance status
  • Authentication type: Select Pre-shared key. 
  • Pre-shared key: Enter the shared secret that the administrator created in Security & SD-WAN > Configure > Client VPN. 
  • Username: Enter the credentials for connecting to the VPN. If you use Meraki authentication, enter an email address. 
  • Password: Enter the credentials for connecting to the VPN. 

Configure IKEv2 on Chrome OS 

  • Service name: Enter a name you want for the connection, for example, "Work VPN." 
  • Provider type: Select IKEv2/IPsec MSCHAPv2. 
  • Server hostname (or Remote Identity): Enter the hostname or the active WAN IP. Using the hostname is required for IKEv2. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  • IPsec Identifier (or Local Identity): Enter your VPN username. 
  • Username: Enter the credentials for connecting to the VPN. If you use Meraki authentication, enter an email address. 
  • Password: Enter the credentials for connecting to the VPN. 

 iOS

To configure an iOS device to connect to the client VPN, follow these steps: 

  1. Navigate to Settings > General > VPN & Device Management > VPN > Add VPN Configuration 

  1. Enter the VPN information described below. 

Configure L2TP on iOS 

  • Type: Set to L2TP. 
  • Description: Enter a name you want for the connection, for example, "Work VPN." 
  • Server: Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is recommended for L2TP to improve reliability during WAN failover. This information is located in the Meraki dashboard under Security & SD-WAN > Monitor > Appliance status
  • Account: Enter the username. 
  • Password: Enter the password, if desired. If you leave the password blank, you must enter it each time the device attempts to connect to the client VPN. 
  • Secret: Enter the shared secret that the administrator created in Security & SD-WAN > Configure > Client VPN. 
  • Set Send All Traffic to on. 
  • Save the configuration. 

Configure IKEv2 on iOS 

  • Type: Set to IKEv2. 
  • Description: Enter a name for the connection, for example, "Work VPN." 
  • Server: Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is required for IKEv2. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  • Remote ID: Enter the hostname (for example, abc-abcd.dynamic-m.com). 
  • Local ID: Enter your VPN username. 
  • Account: Enter the username. 
  • Password: Enter the password, if desired. If you leave the password blank, you must enter it each time the device attempts to connect to the client VPN. 
  • Set Send All Traffic to on. 
  • Save the configuration. 

macOS

macOS supports the following authentication methods: 

  • User authentication: Active Directory (AD), RADIUS, or Meraki-hosted authentication. 
  • Machine authentication: Preshared keys, for example, a shared secret. 

When you use Meraki-hosted authentication, set the VPN account and username to the user's email address entered in the dashboard. 

To configure a macOS device to connect to the client VPN, refer to  Set up a VPN connection on Mac in Apple Support.

Configure L2TP on macOS 

  • Display Name: Enter a name for the connection, for example, "Work VPN." 
  • Server: Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is recommended for L2TP to improve reliability during WAN failover. This information is located in the Meraki dashboard under Security & SD-WAN > Monitor > Appliance status
  • Account Name: Enter the account name of the user, based on AD, RADIUS, or Meraki cloud authentication. 
  • Password: Enter the user password, based on AD, RADIUS, or Meraki cloud authentication. 
  • Machine Authentication > Shared Secret: Enter the shared secret that the administrator created in Security & SD-WAN > Configure > Client VPN. 

Configure IKEv2 on macOS 

  • Display Name: Enter a name you want for the connection, for example, "Work VPN." 
  • Server: Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is required for IKEv2. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  • Remote ID: Enter the hostname (for example, abc-abcd.dynamic-m.com). 
  • Local ID: Enter your VPN username. 
  • Account Name: Enter the account name of the user, based on AD, RADIUS, or Meraki cloud authentication. 
  • Password: Enter the user password, based on AD, RADIUS, or Meraki cloud authentication. 

Ensure that the MACs network adapter service order includes the VPN interface as the first item (in the list) otherwise all the traffic will not leave on the Client VPN tunnel. For more reference, see Change the order of the network services your Mac uses in Apple support.

 

Windows

Windows supports the following authentication methods: 

  • User authentication: AD, RADIUS, or Meraki-hosted authentication. 
  • Machine authentication: Pre-shared keys. 

When you use Meraki-hosted authentication, set the VPN account and username to the user's email address entered in the dashboard. 

To configure a Windows 10 or Windows 11 device to connect to the client VPN, refer to Connect to a VPN in Windows in Microsoft Support page.  support page for configuration details. 

Configure L2TP on Windows 

  1. In the Settings app, select Network & internet > VPN > Add VPN. 
  2. Set VPN provider to Windows (built-in). 
  3. Enter a Connection name, for example, "Work VPN." 
  4. For Server name or address, Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is recommended for L2TP to improve reliability during WAN failover. This information is located in the Meraki dashboard under Security & SD-WAN > Monitor > Appliance status
  5. Set VPN type to L2TP/IPsec. 
  6. Optionally, enter a User name and Password. 

Windows-build-in-Client-VPN-config.jpg

Configure IKEv2 on Windows 

You must change additional settings on Windows devices to connect using IKEv2, because the default settings are not secure. Refer to this article on the Microsoft support page for configuration details. 

The following example shows supported security settings for configuring a Windows device using IKEv2: 

  • Encryption Algorithm: AES256 
  • Integrity (Hash) Algorithm: SHA256 
  • Diffie-Hellman Group (Key Size): DH14 

To configure the connection: 

  1. In the Settings app, select Network & internet > VPN > Add VPN. 
  2. Set VPN provider to Windows (built-in). 
  3. Enter a Connection name, for example, "Work VPN." 
  4. For Server name or address, Enter the hostname (for example: abc-abcd.dynamic-m.com) or the active WAN IP (for example: a.b.c.d). Using the hostname is required for IKEv2. Find this information in the dashboard under Security & SD-WAN > Monitor > Appliance status.
  5. Set VPN type to IKE v2. 
  6. Optionally, enter a User name and Password. 

 

For_IKEv2.png

Set the authentication protocol 

You must set the authentication protocol for both L2TP and IKEv2 connections. After you create the VPN connection, set the authentication protocol: 

  1. Select the VPN connection, then select Advanced options > More VPN properties > Edit > Security tab. Alternatively, run ncpa.cpl from Search or Command Prompt to access your VPN adapters directly. 
  2. On the Security tab, under Data encryption, select Require encryption (disconnect if server declines). 
  3. Under Authentication, select Allow these protocols, then select the Unencrypted password (PAP) check box. 
  4. Verify that no other protocols are selected. 

 

Windows-build-in-Client-VPN-Security-Tab-Propoerties-config.jpg
 
For IKEv2:
For_IKEv2_Properties.png
 

The IPsec tunnel between the client device and the MX always encrypts passwords, even when you use PAP authentication. The MX never sends passwords in clear text over the WAN or LAN.

Linux

To configure a Red Hat Linux device to connect to client VPN, refer to Configuring a VPN connection in Red Hat Documentation.

To configure an Ubuntu Linux device to connect to client VPN, refer to Connect to a VPN in Ubuntu Documentation.

The following packages, and their dependencies, are minimum requirements for Linux:

  • xl2tpd to implement L2TP
  • strongswan or libreswan to implement IPSec

GUI management of the connection requires the network-manager-l2tp-gnome VPN plugin. 

  • Was this article helpful?