I have several servers connected to OpenVPN and I want to make a simple IP failover with a heartbeat, but I can't figure out how to assign a virtual OpenVPN IP.
Here is my config ha.cf on server1:
keepalive 2
deadtime 10
udpport 694
bcast tun0
mcast tun0 225.0.0.1 694 1 0
ucast tun0 10.8.0.22
udp tun0
logfacility local0
node server1
node server2
Is it possible to configure a heartbeat in OpenVPN network?