openvpn ip pool exhausted

by Ane Kos   Last Updated May 15, 2019 17:00 PM - source

We have setup 3 OpenVPN servers (v2.4) in 3 different physical machines. They are all part of the same network.

When a client (v2.3) is connected we want him to go on either one of the VPN servers by using the "remote-random" flag (each server gives a different IP range) The subnet on each server is /29

We also use the same certificate (for testing), thus "duplicate-cn" flag.

The problem is that when a client tries to connect multiple times to e.g vpn1 he gets assigned a different IP each time until there are no more IPs for the server to hand out.

At that point the client will establish a connection to the server but will not get an IP.

Is there any way to resolve this either either the server or the client side so that the client tries to connect to the other servers?

This VPN zone will be used temporarily for new clients which will be configured through puppet with a different VPN zone.

Tags : openvpn ip pool


Related Questions



How to find ip pool of my isp?

Updated October 10, 2017 11:00 AM


Which version of ZFS allows shrinking of a pool?

Updated November 15, 2017 10:00 AM