Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer

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
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.