Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

local ip.add.re.ss
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.