Page 1 of 1

How can I log disconnects?

Posted: Mon Jun 06, 2016 11:13 am
by varnav
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.

Re: How can I log disconnects?

Posted: Mon Jun 06, 2016 11:35 am
by TinCanTech
You will probably need to add --explicit-exit-notify 3 to your client config

Re: How can I log disconnects?

Posted: Mon Jun 06, 2016 2:10 pm
by varnav
Thanks, seems to be working!