Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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'm using OpenVPN through Viscosity.

Is it possible to set it up in such a way that all traffic would go through the VPN, except traffic to a domain I'd specify (and all its subdomains, etc.)?

So only that one domain I'd specify would not use the VPN.

share|improve this question

You'll want to add a static route to addresses you want, specifying the first hop in the chain, which can be an IP address or network device.

Here is a related question that involves establishing the static route at boot time.

Setting a static route every boot with launchd / plist is failing

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.