OPNsense Forum

English Forums => High availability => Topic started by: gabecz on October 19, 2023, 02:24:22 AM

Title: How to sync OpenVPN Connection Status Sessions with radius
Post by: gabecz on October 19, 2023, 02:24:22 AM
hi
we have here a pair of servers master/backup everything seems to be working fine.
However we cannot find a way to sync the connection status so when master fails and backup takes over all users get disconnected and have to renegotiate the duo key with their phones.
so on "master" say opnsense1.localhost under VPN / OpenVPN / Connection Status / Sessions there's a list of users who are connected. however on "backup" let's call it opnsense2.localhost there is a list of 0.
that said of course when master dies all the sessions get dropped and users get the duo notification on their phones.
so the question shorter: is there a way to sync "VPN / OpenVPN / Connection Status / Sessions" every reasonable time? (like 10-30-60 seconds)
thanks

once again: 2 servers, carps, vips, ha set up, 3 interfaces (wan, lan, sync) and openvpn with radius set up. seemingly all settings and rules sync but the openvpn status. firewall rule maybe?

thanks for the suggestions