03-27-2018 12:15 PM
Hello,
Is it possible for a Client VPN user to use split tunneling with their connection to a MX device?
Thanks, Jon
Solved! Go to Solution.
03-27-2018 12:22 PM
Hi Jon,
It is possible through the settings on the VPN connection on the client side.
In Windows the setting is unchecking "use default gateway on remote network"
In Mac the setting is unchecking "send all traffic over VPN connection"
https://documentation.meraki.com/MX-Z/Client_VPN/Configuring_Split-tunnel_Client_VPN
However when you uncheck this, the VPN Client will only want to route traffic destined for the Client VPN subnet to the MX. This means you'll need to setup static routes on the VPN client for other subnets you want to go over the VPN tunnel.
In Windows:
route ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2
route ADD (SUBNET) MASK (SUBNET MASK) (GATEWAY)
In Mac:
route -n add 192.168.35.0/24 192.168.0.2 route -n add (SUBNET)/(MASK) (GATEWAY)
03-27-2018 12:20 PM
Found the answer myself. Look here.
https://documentation.meraki.com/MX-Z/Client_VPN/Configuring_Split-tunnel_Client_VPN
03-27-2018 12:22 PM
Hi Jon,
It is possible through the settings on the VPN connection on the client side.
In Windows the setting is unchecking "use default gateway on remote network"
In Mac the setting is unchecking "send all traffic over VPN connection"
https://documentation.meraki.com/MX-Z/Client_VPN/Configuring_Split-tunnel_Client_VPN
However when you uncheck this, the VPN Client will only want to route traffic destined for the Client VPN subnet to the MX. This means you'll need to setup static routes on the VPN client for other subnets you want to go over the VPN tunnel.
In Windows:
route ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2
route ADD (SUBNET) MASK (SUBNET MASK) (GATEWAY)
In Mac:
route -n add 192.168.35.0/24 192.168.0.2 route -n add (SUBNET)/(MASK) (GATEWAY)
07-16-2018 02:45 AM
Thanks for these information . Is there any configuration document to have Client VPN split tunneling for Android and IPhone or any other smartphones .
or can you recommend any App to do this split tunneling.
10-15-2018 01:15 AM
Also interested in this. Require split tunnel functionality on android
11-22-2018 05:11 AM
I find this not very satisfying as I don't want to manually enroll routes on every single client, no matter if it is possible by scripting or not.
Will there be a solution for the routes to be pushed by the VPN DHCP Server via L2TP? It should be possible with DHCP option 121 / 249.
11-22-2018 04:45 PM
Would using a 3rd party DNS service like Google Cloud DNS solve this? https://cloud.google.com/dns/
11-22-2018 09:41 PM
When connecting to the VPN you need a local DHCP Server issuing an IP and via DHCP options push the routes that are activated in the Meraki dashboard, so split tunnelling is possible. I don't see how a cloud based DNS would help in that case?
11-23-2018 12:50 AM
That's what I thought too, but reading further into the Google Cloud DNS and it says this:
When to use Cloud DNS
DNS is a hierarchical distributed database that lets you store IP addresses and other data, and look them up by name. Google Cloud DNS lets you publish your zones and records in the DNS without the burden of managing your own DNS servers and software.
It also mentions Split horizon DNS and lists the ability to manage domain resolution to public IP and domain resolution to internal (private) IP.
11-23-2018 01:05 AM
That sure is a nice feature for certain cases, but DNS resolution is not the problem with split tunneling, but the static routing is. As long as the client doens't know that for example 172.0.0.0/8 should go through the tunnel (which Meraki advises to put manually in the routing table of the client) it will try to use the standard interface and not the VPN device and thus fail to reach the host within the 172.0.0.0/8 network.
One sure can activate the the VPN device to be the standard gateway, but then ALL traffic will go through VPN which (for us) is not desirable. We only want to have business traffic going through the VPN tunnel and the rest of the (private) traffic go through the users private connection.
11-24-2018 04:30 PM
Hey DSchn, ahh so cloud DNS won't work then. So, to achieve split tunnels for local and public domain routing with Meraki equipment, you either have to have your own on-prem DNS server or make the DNS settings manually on the clients?
11-25-2018 09:38 PM
DNS doesn't have to do anything with VPN at all, at least not regarding split tunneling/routing.
04-16-2020 10:23 PM
can we automate the routes needed to add into client station and push it from meraki??
04-17-2020 01:44 PM
>can we automate the routes needed to add into client station and push it from meraki??
Push from Meraki, no.
Automate via AD group policy, yes.
03-27-2018 05:39 PM
Annoying this functionality is actually natively available in Windows - but is not exposed in the GUI.
I have put up a web page on how to configure this with Powershell. The advantage of this is that the setting "stick" and you don't need to manipulate the route table.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide