Hi, On Fri, Jan 30, 2015 at 07:24:15AM -0800, [email protected] wrote: > Hi, I am wondering if there is a a way to setup a OpenVPN cluster > between two servers so that connecting to either of the OpenVPN servers > will place it on a OpenVPN subnet that is shared by both servers. > > In essence, I have thought of constructing a VLAN between the two > servers, and have OpenVPN use it, however I have absolutely no idea how > I would accomplish something like this (The OpenVPN setup section, I can > create the VLAN).
You can do it with brided tap (bridge the tap interfaces of both OpenVPN
servers together with that vlan interface), but you'd need to do IP address
assignment outside OpenVPN, like with an external DHCP server.
To do it with tun, you need to use --client-connect and/or --learn-address
scripts to change host routing so the client's IP address (/32) points
to the server where it landed.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
pgpu5yM4PTiBA.pgp
Description: PGP signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
