OpenVPN Client with Server Failover/LoadBalancing - certs

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
dahai8
OpenVpn Newbie
Posts: 17
Joined: Sat Oct 03, 2015 7:17 am

OpenVPN Client with Server Failover/LoadBalancing - certs

Post by dahai8 » Sat Oct 03, 2015 7:27 am

I'm sure this is a NOOB question, but I'm stuck. I read this section on load balancing:

https://openvpn.net/index.php/open-sour ... oadbalance

But I don't understand how to handle the different certificate and key files needed by each server in a single client config file.

Can someone help?

Thanks!

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: OpenVPN Client with Server Failover/LoadBalancing - cert

Post by Traffic » Tue Oct 06, 2015 10:45 am

dahai8 wrote:I don't understand how to handle the different certificate and key files needed by each server in a single client config file.
Each server or client config file can contain only one CA/Cert/Key directive. If you are using different CA/cert/key for each server then you require a different client config file for each VPN.

dahai8
OpenVpn Newbie
Posts: 17
Joined: Sat Oct 03, 2015 7:17 am

Re: OpenVPN Client with Server Failover/LoadBalancing - cert

Post by dahai8 » Fri Oct 09, 2015 10:25 am

I was afraid of that.
So no auto failover unless all servers use the same keys and certs.
That would be a nice enhancement...

Thanks.

Post Reply