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?
'–explicit-exit-notify' and 'client-disconnect'
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 12
- Joined: Fri Mar 01, 2019 9:50 pm