Plack::App::OpenVPN::Status - Plack application to display the sessions of OpenVPN server
use Plack::Builder; use Plack::App::File; use Plack::App::OpenVPN::Status; builder { mount '/static' => Plack::App::File->new(root => "/path/to/static"); mount '/' => Plack::App::OpenVPN::Status->new(status_from => "/path/to/openvpn/status.log"); };
Plack::App::OpenVPN::Status is an application to display active sessions of the OpenVPN server.
It parse OpenVPN status log and display active sessions. Supported all three versions of the status log. Check the OpenVPN server documentation how to set up version. Howewer, there is no needs (and no ability, at the moment) to point version of status log. Application detect it authomatically. Also status log version will be diplayed on the generated web page.
Twitter Bootstrap layout is used to diplay active OpenVPN sessions.
Plack
Text::MicroTemplate
OpenVPN Manual
Twitter Bootstrap
Anton Gerasimov, <me {at} zyxmasta.com>
Copyright (C) 2012 by Anton Gerasimov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.
To install Plack::App::OpenVPN::Status, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::App::OpenVPN::Status
CPAN shell
perl -MCPAN -e shell install Plack::App::OpenVPN::Status
For more information on module installation, please visit the detailed CPAN module installation guide.