Initial commit: project openvpn-monitor

This commit is contained in:
2025-08-21 22:40:47 +03:00
commit 3c45f22ebe
9 changed files with 456 additions and 0 deletions

13
openvpn-monitor/debug.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
define('APP_INIT', true);
ini_set('display_errors', 1);
error_reporting(E_ALL);
require_once __DIR__ . '/src/OpenVPNMonitor.php';
use OpenVPN\OpenVPNMonitor;
$vpn = new OpenVPNMonitor();
$clients = $vpn->getClientList();
echo '<pre>';
print_r($clients);