Load Balance OpenVPN
Posted: Thu Oct 20, 2022 9:35 am
Hello,
I'm having more then 1000 clients that are already configured to connect to one OpneVPN server.
My goal is to use two servers of OpenVPN on the same host that share the same resources in order to be able to connect thousands of clients. Is very important to know that changing the configuration of the clients is not possible. So I'm excluding OpenVPN official information from the OpenVPN documentation.
I need to know what are the solutions for using OpenVPN behind a load balancer. As I know and read on different topics HAproxy, nginx does not support UDP datagram for load balancing. Did not found something explicit for my case. Also did found that iptables can be used in this case with some of it modules but not something explicit for udp load balance.
Thank you.
I'm having more then 1000 clients that are already configured to connect to one OpneVPN server.
My goal is to use two servers of OpenVPN on the same host that share the same resources in order to be able to connect thousands of clients. Is very important to know that changing the configuration of the clients is not possible. So I'm excluding OpenVPN official information from the OpenVPN documentation.
I need to know what are the solutions for using OpenVPN behind a load balancer. As I know and read on different topics HAproxy, nginx does not support UDP datagram for load balancing. Did not found something explicit for my case. Also did found that iptables can be used in this case with some of it modules but not something explicit for udp load balance.
Thank you.