'–explicit-exit-notify' and 'client-disconnect'
Posted: Wed Feb 17, 2021 10:00 am
Maintaining OpenVPN users status (connected/disconnected) in external database for some reason, utilizing script binded via 'client-disconnect' directive in 'server.ovpn'. In 'client.ovpn', there is a 'explicit-exit-notify' directive. Problem is, that this directive do not send logout msg to server when openvpn client is terminated by OS restart, or other non-standard way.
Is there any way to openvpn trigger my script when user timeouting on server?
Is there any way to openvpn trigger my script when user timeouting on server?