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