Select Page
NOTE: This is a static archive of an old blog, no interactions like search or categories are current.

I use the excellent OpenVPN for my VPN needs. Since version 2 it supports printing a nice status file of currently connected clients but unfortunately it is a bit ugly.
I wrote a simple php library that can parse this file and returns a associative array of logged in users, you can then easily display it using Smarty or whatever you use for templating.
You can download version 1.0 here you can also check out the README and a Sample that I did using Smarty.