I'm using the built-in OS X VPN tool to connect to my company's network. I notice that, when I'm connected, all traffic goes over the VPN.
In the past when I've used the Windows VPN tool I was able to configure it such that only traffic to certain IP ranges and/or host names went over the VPN and everything else went over the local network.
Is that possible with a default OS X VPN? I don't see anything in the settings...
The Split Tunnel feature allows you to exclude specific applications or IP addresses from using the Intego Privacy Protection VPN encrypted tunnel. However, due to a bug in macOS which impacts split tunneling, this feature is not supported and may impact your internet access when enabled.
This apple support page says there is a setting called "Send all traffic over VPN connection" which can be enabled through the Apple menu > System Preferences > Network > Advanced > Options dialogue.
Yes, this is possible. First, you have to remove the checkmark from "Send all traffic over VPN connection" in Settings -> Network -> Your VPN -> Advanced.
Then, from the Terminal you can use "route" to add specific hosts that should be routed via your VPN.
sudo /sbin/route add -host pandora.com -interface ppp0
In this example, "pandora.com" is the host that should be routed via the VPN and ppp0
is the name of the VPN network interface (ifconfig
shows you the list of network interfaces).
To make it work also with the Pandora app, you can use
sudo /sbin/route add -host internal-tuner.pandora.com -interface ppp0
and when you finish, you can simply do
sudo /sbin/route delete -host internal-tuner.pandora.com -interface ppp0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With