Server Fault is a question and answer site for system and network administrators. 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

The OpenVPN client machine has two interfaces to Internet: a low-speed and high-speed one. Default route goes throught the low-speed one. I'd like OpenVPN to connect to server through the high-speed one. How can that be done?

Like in ping, I can use "-I", or in telnet "-b" and then the IP is used.

share|improve this question
up vote 6 down vote accepted

You can use the local directive to force the client to use a specific IP address.

--local host
Local host name or IP address for bind. If specified, OpenVPN will bind to this address only. If unspecified, OpenVPN will bind to all interfaces.

You can specify it in the client config file too

share|improve this answer
You may also want to read this and it's linked document – Iain May 19 '14 at 8:18

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.