Client VPN OS Configuration
Client VPN OS Configuration
Client VPN OS Configuration
This article outlines instructions to configure a client VPN connection on commonly-used operating systems. For more information about client VPN, please refer
to our Client VPN Overview documentation.
Android
To configure an Android device to connect to the Client VPN, follow these steps:
• Name: This can be anything you want to name this connection, for example, "Work VPN."
• Server address: Enter the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is encouraged instead of active WAN IP
because it is more reliable in cases of WAN failover. Admin can find them in Dashboard, under Security appliance > Monitor > Appliance status.
• IPSec pre-shared key: Enter the pre-shared key that admin created in Security appliance > Configure > Client VPN settings.
• Press save
1
You will be prompted for user credentials when you connect.
2
Chrome OS
Chrome OS based devices can be configured to connect to the Client VPN feature on MX Security Appliances. This allows remote users to securely connect to
the LAN. This article will cover how to configure the VPN connection on a Chrome OS device. For more information on how to setup the Client VPN feature of
the MX or how to connect from other operating systems, please visit the MX documentation.
3
7. Click Connect.
For more information regarding the configuration of VPN connections in Chrome OS, visit the Google Support page.
iOS
To configure an iOS device to connect to the Client VPN, follow these steps:
4
macOS
5
• Machine authentication: Preshared keys (a.k.a., shared secret).
When using Meraki hosted authentication, VPN account/user name setting on client devices (e.g., PC or Mac) is the user email address entered
in the Dashboard.
Open System Preferences > Network from Mac applications menu. Click the "+" button to create a new service, then select VPN as the interface type, and
choose L2TP over IPsec from the pull-down menu.
• Server Address: Enter the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is
encouraged instead of active WAN IP because it is more reliable in cases of WAN failover. Admin can find them in
Dashboard, under Security appliance > Monitor > Appliance status.
• Account Name: Enter the account name of the user (based on AD, RADIUS or Meraki Cloud authentication).
• User Authentication > Password: User password (based on AD, RADIUS or Meraki Cloud authentication).
• Machine Authentication > Shared Secret: Enter shared secret that admin created in Security appliance
> Configure > Client VPN settings.
6
Click OK to go back to the main VPN settings page, then click Advanced and enable the Send all traffic over VPN
connection option.
7
The VPN connectivity will not be established if you don't enable the Send all traffic over VPN connection option!
Windows 7
When using Meraki hosted authentication, VPN account/user name setting on client devices (e.g., PC or Mac) is the user email address entered
in the Dashboard.
Open Start Menu > Control Panel, click on Network and Internet, click on View network status and tasks.
8
In the Set up a connection or network pop-up window, choose Connect to a workplace (Set up a dial-up or VPN connection to your workplace).
9
Choose Use my Internet connection (VPN), in the Connect to a workspace dialog window.
10
• Internet address: Enter the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is
encouraged instead of active WAN IP because it is more reliable in cases of WAN failover. Admin can find them in
Dashboard, under Security appliance > Monitor > Appliance status.
• Destination name: This can be anything you want to name this connection, for example, "Work VPN."
Choose "Don't connect now; just set it up so that I can connect later" option.
Click Next. In the next dialog window, enter the user credentials, and click Create.
11
Close the VPN connection wizard.
12
In Network Connections window, right-click on the new VPN connection settings and choose Properties
In the General tab, verify the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is
encouraged instead of active WAN IP because it is more reliable in cases of WAN failover. Admin can find them in
13
Dashboard, under Security appliance > Monitor > Appliance status.
14
In the "Security" tab, choose "Layer 2 Tunneling Protocol with IPsec (L2TP/IPSec)".
Then, check "Unencrypted password (PAP)", and uncheck all other options.
15
Click on "Advanced settings".
Despite the name "Unencrypted PAP", the client's password is sent encrypted over an IPsec tunnel between the client device and the MX. The
password is fully secure and never sent in clear text over either the WAN or the LAN.
In Advanced Properties dialog box, choose "Use preshared key for authentication" and enter the pre-shared key
that admin created in Security appliance > Configure > Client VPN settings.
Click OK.
16
Back at the Network Connections window, right-click on the VPN connection and click Connect
17
Windows 8
When using Meraki hosted authentication, VPN account/user name setting on client devices (e.g., PC or Mac) is the user email address entered
in the Dashboard.
Open Start Menu > Network and Sharing Center and click Settings.
18
In the Network and Sharing Center, click Set up a new connection or network.
19
In the Set Up a Connection or Network pop-up window, choose Connect to a workplace.
(Set up a dial-up or VPN connection to your workplace).
Choose Use my Internet connection (VPN), in the Connect to a Workspace dialog window.
20
In the Connect to a Workplace dialog box, enter:
• Internet address: Enter the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is
encouraged instead of active WAN IP because it is more reliable in cases of WAN failover. Admin can find them in
Dashboard, under Security appliance > Monitor > Appliance status.
• Destination name: This can be anything you want to name this connection, for example, "Work VPN."
Click Create.
21
Go back to Network and Sharing Center and click Change Adapter Settings.
In the Networks Connections window, right click on the VPN connection icon and choose Properties.
22
In the General tab, verify the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is
encouraged instead of active WAN IP because it is more reliable in cases of WAN failover. Admin can find them in
Dashboard, under Security appliance > Monitor > Appliance status.
23
In the "Security" tab, choose "Layer 2 Tunneling Protocol with IPsec (L2TP/IPSec)".
Then, check "Unencrypted password (PAP)", and uncheck all other options.
24
Click on "Advanced settings".
Despite the name "Unencrypted PAP", the client's password is sent encrypted over an IPsec tunnel between the client device and the MX. The
password is fully secure and never sent in clear text over either the WAN or the LAN.
In Advanced Properties dialog box, choose "Use preshared key for authentication" and enter the pre-shared key
that admin created in Security appliance > Configure > Client VPN settings.
Click OK.
25
Back at the Network Connections window, right-click on the VPN connection and click Connect / Disconnect.
26
Enter your user name and password.
Click OK.
27
28
Windows 10
When using Meraki hosted authentication, VPN account/user name setting on client devices (e.g., PC or Mac) is the user email address entered
in the Dashboard.
Open Start Menu > Search "VPN" > Click Change virtual private networks (VPN)
29
In the Add a VPN connection dialog:
Press Save.
30
After the VPN connection has been created, click Change adapter options under Related settings.
31
Right-click on the VPN Connection from the list of adapters and click Properties.
32
In the Security tab, select "Require encryption (disconnect if sever declines)" under Data encryption.
Then, select "Allow these protocols" under Authentication. From the list of protocols, check "Unencrypted
password (PAP)", and uncheck all other options.
33
Click on "Advanced settings"
Despite the name "Unencrypted PAP", the client's password is sent encrypted over an IPsec tunnel between the client device and the MX. The
password is fully secure and never sent in clear text over either the WAN or the LAN.
In Advanced Properties dialog box, choose "Use preshared key for authentication" and enter the pre-shared key that admin created in Security appliance
> Configure > Client VPN settings.
34
Back at the Network Connections window, right-click on the VPN connection and click Connect / Disconnect.
35
Enter your user name and password.
Click OK.
36
Windows XP
When using Meraki hosted authentication, use the email address for VPN account / user name.
37
In the Network Tasks section, click on Create a new connection.
38
Choose Connect to the network at my workplace, in the New Connection Wizard window.
39
Then, give a name for this connection. This can be anything you want to name this connection, for example, "Work VPN."
40
Enter the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is encouraged instead of active WAN IP because it is more reliable in
cases of WAN failover. Admin can find them in Dashboard, under Security appliance > Monitor > Appliance status.
41
In the Connect <Connection Name> box, click on Properties
42
In the General tab, verify the hostname (e.g. .com) or the active WAN IP (e.g. XXX.XXX.XXX). Hostname is encouraged instead of active WAN IP because it
is more reliable in cases of WAN failover. Admin can find them in Dashboard, under Security appliance > Monitor > Appliance status.
43
In the Security tab, choose Advanced (custom settings).
Click Settings
44
In Advanced Security Settings page, select Optional encryptionfrom the Data encryption pull-down menu.
Choose Unencrypted password (PAP) from the Allow these protocols options and uncheck everything else.
45
Despite the name "Unencrypted PAP", the client's password is sent encrypted over an IPsec tunnel between the client device and the MX. The
password is fully secure and never sent in clear text over either the WAN or the LAN.
46
Check "Use pre-shared key for authentication" and enter the pre-shared key that admin created in Security appliance
> Configure > Client VPN settings.
Click OK.
In Networking tab, choose L2TP IPSec VPN from the Type of VPN options.
47
Back at the Network Connections window, right-click on the VPN connection and click Connect
48
Verify your user name and click Connect
49
Linux
Since Client VPN uses the L2TP over IPsec standard, any Linux client that properly supports this standard should suffice. Please note that newer versions of
Ubuntu do not ship with a VPN client that supports L2TP/IP, and will therefore require a 3rd party VPN client that supports the protocol.
Note: The xl2tp package does not send user credentials properly to the MX when using Meraki Cloud Controller authentication, and this causes the
authentication request to fail. Active Directory or RADIUS authentication can be used instead for successful authentication.
In order to begin the VPN setup, open up a terminal window. Do this by searching for Terminal in your application list. Click on the Terminal icon to open a new
terminal session.
50
Once the terminal window appears, you will need to enter a few commands.
Note: You will need to be a part of the “sudoers” group to install these packages. If you receive an error message like “<username> is not in the
sudoers file.” you will need to either adjust your permissions, contact your administrator to add your account as an administrator or have them install
the software for you.
Once the packages have been installed, you may open up the Network Settings by searching for Settings in the application list, or by clicking on the Network
icon at the top right of the screen and selecting Wired (or Wireless) Settings.
51
Once the Network Settings window pops up, you will see there is a VPN section listed. Click on the + icon to set up a new VPN connection.
Select the Layer 2 Tunneling Protocol (L2TP) VPN type on the modal pop up window. If L2TP is not listed as an option, please see the first step about
installing the required packages.
After selecting the L2TP option, a new modal will pop up titled Add VPN. Fill out your VPN Name, Gateway, User name, and Password information here.
52
Note: To save your password on this screen, you must select the appropriate option from the question mark on the password field.
Next, click on the IPsec Settings button to open the L2TP IPsec Options modal.
53
Once the modal pops up, expand the Advanced options, and enter the following:
Pre-shared key: Enter the pre-shared key from Security & SD-WAN > Configure > Client VPN
Phase1 Algorithims: aes128-sha1-modp1024,3des-sha1-modp1024!
Phase2 Algorithims: aes128-sha1-modp1024,3des-sha1-modp1024!
Select OK to continue. You will be returned back to the Add VPN modal. Select the PPP Settings button.
On the L2TP PPP Options modal, select only the PAP authentication method. Be sure the other authentication methods are de-selected. All other options can
remain as the default. Select OK to continue.
54
Select Add at the top right corner of the Add VPN modal to complete the VPN setup.
Now you may connect your VPN by toggling the button on the Network Settings page:
55
Or by selecting the Connect option from the top right corner menu.
Upon successful connection, a VPN icon will appear next to the network icon in the status bar.
Note: The version of network-manager-l2tp that is installed along with xl2tpd is known to cause issues when connecting to Meraki Appliances. To
alleviate this, you must disable the xl2tpd service when using the network-manager GUI to connect to a Meraki VPN.
To stop the xl2tpd service for all subsequent reboots use this Terminal command:
56
sudo update-rc.d xl2tpd disable
57