Disconnected clients disappearing from management console - Timeout

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
lazna
OpenVpn Newbie
Posts: 8
Joined: Fri Mar 01, 2019 9:50 pm

Disconnected clients disappearing from management console - Timeout

Post by lazna » Wed May 08, 2019 8:17 am

Need to peridical (every 5 secs) scan the management console for active clients list, and immediatelly recognize if any clients disconnect. By default, disconnected clients remaining listed in management console for a while (5 or 10 minutes ??). How do I decrease such timeout (to zero if possible)? If this is not possible, is it realible way to recognize disconnected clients by unchanging SENT/(REC) bytes values? OVPN server running on WIndows

User avatar
Pippin
OpenVPN Expert
Posts: 465
Joined: Wed Jul 01, 2015 8:03 am

Re: Disconnected clients disappearing from management console - Timeout

Post by Pippin » Wed May 08, 2019 11:54 am

See --explicit-exit-notify and --keepalive in manual 2.4:
https://community.openvpn.net/openvpn/w ... n24ManPage

lazna
OpenVpn Newbie
Posts: 8
Joined: Fri Mar 01, 2019 9:50 pm

Re: Disconnected clients disappearing from management console - Timeout

Post by lazna » Wed May 08, 2019 7:25 pm

Thanks, thats it!

Post Reply