Page 1 of 1

connect to openVPN server via specific LAN Interface or GW

Posted: Tue May 22, 2012 10:55 pm
by Tekener
Hi.

I have a windows 7 client computer with more than one Network Card, and I have more than one Internet Connection. (2 Network Cards, 3 Internet Uplinks)

OpenVPN should connect via a specific Internet Connection.
My openVPN Server has only one IPv4 Adress. And, I need more than one OpenVPN connection at the same time.
Every VPN Connection should use another Internet Uplink.

So I can't use simple static routes on the client machine to define which internet connection is used.

So, I need to configure, wich Ethernet Card or Gateway OpenVPN should use for establishing the VPN connection.

How can I do that?

And, how can I configure, that OpenVPN uses all three Internet Connections for seamless Failover?

Thank You and Best regards

Re: connect to openVPN server via specific LAN Interface or

Posted: Wed May 23, 2012 8:38 am
by janjust
you can use

Code: Select all

local IP
to bind the openvpn client to a particular local IP (and hence, network card).

As for seamless failover: 100% seamless failover is quite hard to do, as existing connections might be dropped. You can set up three openvpn clients that connect to the same server and play with the routing metric; if a client then fails the next route is automatically picked by the OS.

Re: connect to openVPN server via specific LAN Interface or

Posted: Wed May 23, 2012 4:21 pm
by Tekener
Thank you very much.
This was helpful.

Greetings