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

I want to install multiple OpenVPN instance on one machine(Centos), and it seems that each instance needs a unique subnet, and how to do this? And how to install multiple tap/tun

share|improve this question

The subnet part is pretty straightforward, your "--server" directive lists the subnet involved:

There are a bunch of things you need to do when running multiple instances, see this page:

(search for "multiple OpenVPN instances")

I don't think you have to do anything special to create the tun1 device I think OpenVPN does it for you on CentOS but I'm not sure about that.

share|improve this answer
Thanks, I found openvpn --mktun could create a new tun adapter, and which could solve this problem, thanks. – spacelee May 21 '11 at 8:31

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.