Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've gotta use a VPN as the first in several hoop-jumps into a client system, but this kills all other networking for me, which makes it very hard to get any work done :(

I only need to use the VPN for VNC/Rdesktop connection to a specific IP address, and I want all my other network traffic to go over my normal wifi / en1 / vmnet / etc. I know the answer is somewhere in route but can't figure it out based on the documentation I can find.

I've tried this as a starting point once the VPN is connected:

sudo route add -net netmask dev utun1

But I get no response, and have to ctrl-c to get back to my terminal.

So in summation, I want to do two things to the (with VPN) routing table:

  • Send all traffic to one IP (or 10.255.99.* if that's easier) to utun1
  • Remove all the other routes that point to utun1, or stop utun1 from being the default gateway somehow?
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.