Server Status
|
The OpenVPN server version is
|
The last status was recorded at
|
';
elseif ($openvpn['Client'] == 1)
echo 'Connected 1 client';
elseif ($openvpn['Client'] > 1)
{
echo 'Connected ';
echo count($openvpn['Client']);
echo ' clients';
}?>
|
OpenSSL has
';
elseif (count($openssl['Database']) == 1)
{
echo '1 certificate';
}
elseif (count($openssl['Database']) > 1)
{
echo '';
echo count($openssl['Database']);
echo ' certificates';
}?>
|
|
# |
Common Name |
Connected since |
Connected Time |
Virtual Address |
Real Address |
Upload |
Download |
'.$count.' |
'.$client["CN"].' |
'.$client["SINCE"].' |
'.$client["Seconds_Ago"].' |
'.$client["VIRTADDR"].' |
'.$client["REALADDR"].' |
'.$client["BYTESRCV"].' |
'.$client["BYTESSND"].' |
';
}
?>
|