Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

How can I configure an OpenVPN server on a Linux machine to only listen on given interfaces? Are there any features like this in OpenVPN?

share|improve this question

At the start of your sample configuration file (that i suggest to copy from /usr/share/doc/packages/openvpn or /usr/share/doc/openvpn-2.0, you have the following:

# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d

Here you have a great official installation/configuration guide for OpenVPN, that i suggest you step forward with it since OpenVPN isn't a simple configuration.

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.