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
Openvpn – How to add multiple tap/tun, as I want to install multiple OpenVPN instance on one machine
openvpn
Related Topic
- Openvpn – How to install the OpenVPN TAP adapter on Win Server 2008 R2
- Openvpn – Setting up OpenVPN server: should I use tun or tap
- Linux – Multiple TAP devices on OpenVPN Server
- Openvpn – How to set up single client TAP/TUN on the client for the OpenVPN
- OpenVPN TAP vs TUN in parallel
- Linux – OpenVPN – ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Best Answer
The subnet part is pretty straightforward, your "--server" directive lists the subnet involved:
http://openvpn.net/index.php/open-source/documentation/manuals/65-openvpn-20x-manpage.html
There are a bunch of things you need to do when running multiple instances, see this page:
http://www.imped.net/oss/misc/openvpn-2.0-howto-edit.html
(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.