Cisco Meraki - Need some thoughts on L2TP and split-tunneling

I'm trying to figure out how to simplify my set up when doing a split-tunnel connection with the Microsoft L2TP client to a Cisco Meraki firewall.

I know how to set it up to be split tunnel opposed to full tunnel by unticking the 'Use default gateway on remote network' But that requires me to add a route statement.

Or does someone know of a client that does L2TP that had a command line functionality? Or if I can do that with the built-in client in Windows 8.1/10? It would have to connect and then add the route and remove the route when I disconnect.

Be a lot easier if the Meraki did split tunnel by default. Or is that a limitation of L2TP clients?
LVL 2
mvalpredaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
You could use a PS script to create the tunnel and then add the route.

HTH,
Dan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jody LemoineNetwork ArchitectCommented:
This is actually a limitation of L2TP clients. They •do• split tunnel, but only across classful boundaries. So, for example, if you're connecting to a network on the 10.1.2.0/24, the client will tunnel 10.0,0.0/8. If all of your remote networks are within the class, you're good. Otherwise, you'll need to add route statements at the client. From a management perspective, keeping a TLS-based VPN like AnyConnect or SSTP on a separate appliance or server is a better angle.
0
mvalpredaAuthor Commented:
Interesting to hear that. Wonder why Meraki went that way. I can see that helping keep it simple with using built-in clients in the OS. Less to support....

New-NetRoute looks like what I might be looking for. I was doing it with old 'route add' commands, but that does it by interface number. Easy enough to script, but difficult across multiple computers.....especially if the IF index changes. This at least supports the interface alias.

Wonder if the route will 'go away' when I disconnect of if I will need to use 'remove-netroute' Time to experiment.
0
mvalpredaAuthor Commented:
new-netroute is perfect.
remove-netroute requires me to answer yes twice. Is there a way to script that?
0
mvalpredaAuthor Commented:
I got around that by using 'route delete 192.168.1.0' and that was enough. Just need to get the timing right on RemoteDesktopManager and I'll be good. It tries to connection too quickly after the route is created.

I have a repeatable process to connect to VPN, create the route, delete the route.

This certainly beats having a full tunnel.....especially with some of the slow connections at my customer sites!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.