Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VPN overrides default route

I noticed my VPN connections overrides the default route set by my WiFi connection. With an active VPN I can browse my office network but not the WWW.


When I type in terminal …


sudo route delete default

sudo route add -net default 192.168.2.1

sudo route add -net 192.168.178.0 192.168.178.201


… I can access (via VPN) my office network and can still browse in the WWW.


Is there any way I can prevent to override the default route when establishing a VPN connection (IPSec Cisco via Network > Add VPN)?

Maybe I can create an AppleScript or something like that?


192.168.2.1 = local network (home)

192.168.178.1 = remote network (office)

192.168.178.201 = remote virtual client IP

iMac, Mac OS X (10.7.2), 27", i7, 256 SSD, 8GB, 1GB graphic

Posted on Mar 14, 2012 1:33 PM

Reply
16 replies

May 22, 2013 3:55 PM in response to chethan

chethan wrote:


it's a routing issue on the OS X side.


You're wrong. It's called "spit tunnelling" and if the servicer of your VPN doesn't want to enable that and force all your traffic to go through networks, then they have every right to.


No reason we should be locked to having all traffic run through the VPN.


Tell that to your university's network administrators. I'm sure you'll get far.

VPN overrides default route

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.