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:



/sbin/route add -net -interface ppp0

/sbin/route add -net -interface ppp0

/sbin/route add -net -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