tomclegg.net |
OS X - disable VPN default route Posted September 29, 2007 Mac OS X assumes that, once you connect to a VPN with the PPTP client, you want to use the VPN for all traffic beyond your LAN. It changes the default IP route to the gateway provided by the PPTP server. To disable this for a particular VPN, do this in your Terminal. sudo mkdir -p /etc/ppp/peers sudo echo nodefaultroute >> "/etc/ppp/peers/Name of VPN" Disconnect and reconnect to your VPN. Your default router should be the one on your network, not the one on the PPTP server's network: netstat -rn | grep default You should see "en0" as the interface for the default route, not "ppp0". |