Hello!
OpenVPN server log is great at logging connections. But how can I log error-free disconnects (closed sessions)? I need to log time when someone disconnects normally.
How can I log disconnects?
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.
- TinCanTech
- OpenVPN Protagonist
- Posts: 7395
- Joined: Fri Jun 03, 2016 1:17 pm
Re: How can I log disconnects?
You will probably need to add --explicit-exit-notify 3 to your client config
-
varnav
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Feb 09, 2016 6:33 pm
Re: How can I log disconnects?
Thanks, seems to be working!
