Set up the VPN on a MAC as per Meraki’s guide except keep “send all traffic over vpn connection” unchecked.

 

 

Create the file to run a script and add permissions:

 

sudo touch /etc/ppp/ip-up

sudo chmod 755 /etc/ppp/ip-up

 

Open file and create script to add routes to interface ppp0 (usually the default vpn interface):

 

sudo vi /etc/ppp/ip-up

 

in vi hit i to insert text then add the following lines:

 

#!/bin/sh

/sbin/route add -net 10.0.0.0/8 -interface ppp0

/sbin/route add -net 172.16.0.0/12 -interface ppp0

/sbin/route add -net 192.168.0.0/16 -interface ppp0

 

When finished press esc to exit from editing and to enter commands

Hit shift + z twice to save the file and exit vi