Page 1 of 1

Reading VPN client status from server?

Posted: Sat Sep 08, 2012 12:08 pm
by kjans
Hi!
I have a small VPN network with a Fedora Linux 16 system as server.
I would like to read the client status (online/offline + IP address) from the server using a python script.
It is easy find out when someone connects by parsing the log file, but finding out when someone disconnects from the VPN network is much more problematic. I can't find this information in the log files or anywhere else. Any ideas on where to find that information?

Basically the idea is to write a small utility that would display all online clients.

Re: Reading VPN client status from server?

Posted: Sun Sep 09, 2012 9:30 am
by maikcat
if you enable management interface you can use
openvpn-control utility which displays live connected clients...

Michael.