Page 1 of 1

High Availability OpenVPN Server Community Edition

Posted: Wed Jun 16, 2021 6:22 pm
by sgtang
Hi all, we have 3 separate OpenVPN servers for high availability, each responsible for a separate virtual address pool/subnet.
Our issue is that we use the VPN assigned addresses for a particular application to bind to, and this application requires static IP addresses that don't change. We can enforce static IP addresses on each server using ccd files, but since each server manages a separate virtual address pool/subnet, the addresses can't stay the same between the servers.

Is there a configuration we can use that would allow all three servers to serve addresses from the same subnet?

Re: High Availability OpenVPN Server Community Edition

Posted: Tue Jun 29, 2021 4:06 pm
by openvpn_inc
sgtang wrote:
Wed Jun 16, 2021 6:22 pm
Hi all, we have 3 separate OpenVPN servers for high availability, each responsible for a separate virtual address pool/subnet.
Sounds like the right way to do that.
sgtang wrote:
Wed Jun 16, 2021 6:22 pm
Our issue is that we use the VPN assigned addresses for a particular application to bind to, and this application requires static IP addresses that don't change. We can enforce static IP addresses on each server using ccd files, but since each server manages a separate virtual address pool/subnet, the addresses can't stay the same between the servers.

Is there a configuration we can use that would allow all three servers to serve addresses from the same subnet?
Yuck. I suppose this application is proprietary and you can't fix it to use DNS for names? If that's the case I suggest that you open a support ticket with the vendor. Hard-coded IP addresses should have gone away in the 1990s.

You can't really do this with openvpn; you could potentially try bridging, but that opens up a lot of other potential issues, and I would not recommend it.

Beyond that your only fix would be NAT, to direct the traffic where you need it to go. And I say again, yuck.

Sorry I could not help more; regards, rob0