This page provides instructions for configuring client VPN services through the dashboard.
For detailed instructions on how to configure a client VPN connection on various client device platforms, please refer to:
- VPN Settings for Android
- VPN Settings for iOS
- VPN settings for Mac OS
- VPN settings for Windows 7
- VPN settings for Windows 8
- VPN settings for Windows 10
- VPN settings for Windows XP
- VPN settings for Linux
The client VPN service uses the L2TP tunneling protocol, and can be deployed without any additional software on PCs, Macs, iOS devices, and Android devices, since all of these operating systems natively support L2TP VPN connections.
Note: TLS (SSL) client VPN is supported on the MX with AnyConnect. To learn more, see AnyConnect on the MX Appliance
Note: Linux-based operating systems can support client VPN connections as well, although third-party packages may be necessary to support L2TP/IP.
Note: Establishing a client VPN connection when the client is located on the LAN of the MX is unsupported.
Client VPN uses the L2TP/IP protocol with the following encryption and hashing algorithms: 3DES and SHA1 for Phase1; AES128/3DES and SHA1 for Phase2. As a best practice, the shared secret should not contain any special characters at the beginning or end.
Owing to changes in the PCI-DSS Standard version 3.2.1, some auditors are now enforcing requirements for stronger encryption than the Meraki Client VPN default settings provide. Please contact Meraki Support if you need these values adjusted, but please be aware that some client devices may not support these more stringent requirements (AES128 encryption with DH group 14 - Required by PCI-DSS 3.2.1).
Client VPN Server Settings
To enable client VPN, choose Enabled from the Client VPN server pull-down menu on the Security Appliance > Configure > Client VPN page. The following client VPN options can be configured:
- Client VPN subnet: The subnet that will be used for client VPN connections. This should be a private subnet that is not in use anywhere else in the network. The MX will be the default gateway on this subnet and will route traffic to and from this subnet.
- Hostname: This is the hostname of the MX that client VPN users will use to connect. This hostname is a DDNS host record correlating to the public IP address of the MX. You can change this hostname by following the instructions here.
- DNS server: The servers VPN clients will use to resolve DNS hostnames. Choose from Google Public DNS, OpenDNS, or specify custom DNS servers by IP address.
- WINS server: If VPN clients should use WINS to resolve NetBIOS names, select Specify WINS Servers from the drop-down and enter the IP addresses of the desired WINS servers.
- Shared secret: The shared secret that will be used to establish the client VPN connection.
- Authentication: How VPN clients will be authenticated (see below).
- Systems Manager Sentry VPN security: Configuration settings for whether devices enrolled in systems manager should receive a configuration to connect to the client VPN (see the Systems Manager Sentry VPN security section below).
Meraki client VPN uses the password authentication protocol (PAP) to transmit and authenticate credentials. PAP authentication is always transmitted inside an IPsec tunnel between the client device and the MX security appliance using strong encryption. User credentials are never transmitted in clear text over the WAN or the LAN. An attacker sniffing on the network will never see user credentials because PAP is the inner authentication mechanism used inside the encrypted IPsec tunnel.
The authentication itself can be performed by using these three options: the Meraki cloud, RADIUS, or Active Directory. Below, the three options are discussed.
Meraki Cloud Authentication
Use this option if an Active Directory or RADIUS server is not available or if VPN users should be managed via the Meraki cloud. To add or remove users, use the User Management section at the bottom of the page. Add a user by clicking "Add new user" and entering the following information:
- Name: Enter the user's name.
- Email: Enter the user's email address.
- Password: Enter a password for the user or click "Generate" to automatically generate a password.
- Authorized: Select whether this user is authorized to use the client VPN.
To edit an existing user, click on the user under the User Management section. To delete a user, click the X next to the user on the right side of the user list.
When using Meraki-hosted authentication, the user's email address is the username that is used for authentication.
Use this option to authenticate users on a RADIUS server. Click Add a RADIUS server to configure the server(s) to use. Enter the IP address of the RADIUS server, the port to be used for RADIUS communication, and the shared secret for the RADIUS server.
For more information on how to configure Radius authentication for client VPN, refer to the documentation on Configuring RADIUS Authentication with Client VPN.
Note: If multiple RADIUS servers are configured, RADIUS traffic will not be load-balanced.
Use this option if user authentication should be done with Active Directory domain credentials. You will need to provide the following information:
- Short domain: The short name of the Active Directory domain.
- Server IP: The IP address of an Active Directory server on the MX LAN or a remote subnet routable through Auto VPN.
- Domain admin: The domain administrator account the MX should use to query the server.
- Password: The password for the domain administrator account.
For example, consider the following scenario: Users in the domain test.company.com should be authenticated using an Active Directory server with IP 172.16.1.10. Users normally log into the domain using the format "test/username" and you have created a domain administrator account with username "vpnadmin" and password "vpnpassword'.
- The Short domain would be "test"
- The Server IP would be 172.16.1.10
- The Domain admin would be "vpnadmin"
- The Password would be "vpnpassword"
Refer to the Active Directory documentation for more information about integrating AD with client VPN.
Note: At this time, the MX does not support mapping group policies via Active Directory for users connecting through the client VPN.
Systems Manager Sentry VPN Security
When using Meraki cloud authentication, Systems Manager Sentry VPN security can be configured If your dashboard organization contains one or more MDM networks. Systems Manager Sentry VPN security allows for devices enrolled in Systems Manager to receive the configuration to connect to the client VPN through the Systems Manager profile on the device.
To enable Systems Manager Sentry VPN security, choose "Enabled" from the client VPN server pull-down menu on the Security Appliance > Configure > Client VPN page. You can configure the following options:
- Install scope: The install scope allows for a selection of Systems Manager tags for a particular MDM network. Devices with these tags applied in a Systems Manager network will receive a configuration to connect to this network's client VPN server through their Systems Manager profile.
- Send all traffic: Select whether all client traffic should be sent to the MX.
- Proxy: Whether a proxy should be used for this VPN connection. This can be set to automatic, manual, or disabled.
When using Systems Manager Sentry VPN security, the username and password used to connect to the client VPN are generated by the Meraki cloud.
Usernames are generated based on a hash of a unique identifier on the device and the username of that device. Passwords are randomly generated.
Client VPN Connections
After configuring the client VPN and users are starting to connect, it may be useful to see how many and which client devices are connected to your network. To see connected client VPN devices, navigate to Network-wide > Clients and click the drop-down icon on the Search clients... search bar. Make sure to select Client VPN and either Online, Offline, or both.
It is possible to manually apply group policies to clients connected via client VPN. Group Policy applied to a client VPN user is associated with the username and not the device. Different devices that connect to client VPN with the same username will receive the same group policy. For more help on assigning or removing group policies applied to a client, refer to the Creating and Applying Group Policies document.
Note: It is not possible to assign group policies automatically once a user connects to client VPN.
It is currently expected behavior that when a traceroute is run from a Client Connected to Client VPN to certain destinations an IP 192.168.100.1 will appear as one of the hops.
If further guidance is required, please feel free to visit the FAQs page built into the client VPN page (Security Appliance > Configure > Client VPN > FAQs). The FAQs contain answers and links (KB articles and dashboard pages) to the most common client VPN inquiries. Below is a snippet of the FAQs page.