Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.