Skip to content

OpenVPN Client Module Documentation

11 min readUpdated: Sep 26, 2026
View as Markdown
  1. Navigation & Access
  2. Screenshots & Visual Interface
  3. 🎯 User Roles & Key Capabilities
  4. Module Overview (Technical)
  5. Module Overview (Commercial/Business)
  6. Module Overview (End User/Administrator)
  7. Configuration Sections
  8. Settings Reference
  9. Model Context Protocol (MCP) AI Integration
  10. Common Scenarios & Examples
  11. Limitations & Important Notes
  12. Troubleshooting Tips
  13. Glossary

To access the OpenVPN Client module:

  1. Log in to the Ring2All Web Portal (https://<domain-or-ip>/login).
  2. In the left navigation sidebar, expand Administration.
  3. Under Network, click OpenVPN Client (/admin/network/openvpn-client).
  4. Upload OpenVPN client configuration files (.ovpn), monitor real-time tunnel link status, verify assigned virtual IPs, and inspect bidirectional network traffic.

Operational tunnel interface presenting active connection state, remote carrier VPN endpoint (vpn.carrier-connect.net:1194), local VPN IP assignment (10.8.0.25), gateway routing, connection uptime, and bidirectional byte counters (Bytes In / Bytes Out). OpenVPN Client Connection Status


Role Access Level Responsibilities & Capabilities
PBX Super Administrator Full Access (RW) Upload site-to-site .ovpn configuration profiles, manage systemd tunnel services (openvpn-client@site-to-site), and initiate connect/disconnect requests.
Network & Security Engineer Full Operations (RW) Verify cryptographic handshake parameters, check MTU fragmentation, review remote carrier routes, and inspect IP routing tables.
DevOps & Cloud Operator Monitoring (RO) Monitor tunnel connection uptime, detect automatic reconnect loops, and alert on traffic volume drops.
AI Platform Copilot / MCP Agent Diagnostic & Telemetry (RO) Execute get_openvpn_client_status to evaluate site-to-site tunnel health, transfer metrics, and gateway reachability.

OpenVPN Client is a site-to-site VPN module that connects the PBX server to another network via VPN. This enables secure connectivity between data centers, branch offices, or cloud environments.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ OpenVPN Client Architecture β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Local PBX Server β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ OpenVPN Client β”‚ β”‚
β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ .ovpn Configuration File β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ β”œβ”€ Remote Host: vpn.datacenter.com β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ β”œβ”€ Remote Port: 1194 β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ β”œβ”€ Protocol: UDP β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ └─ Certificates embedded β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ Status: ● Connected β”‚ β”‚
β”‚ β”‚ Local IP: 10.8.0.5 β”‚ β”‚
β”‚ β”‚ Remote IP: 10.8.0.1 β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”‚ β”‚
β”‚ β”‚ Encrypted VPN Tunnel β”‚
β”‚ β”‚ β”‚
β”‚ β–Ό β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Remote Network / Data Center β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
β”‚ β”‚ β”‚ VPN Server β”‚ β”‚ SIP Trunk β”‚ β”‚ Database β”‚ β”‚ β”‚
β”‚ β”‚ β”‚ 10.8.0.1 β”‚ β”‚ 10.0.0.10 β”‚ β”‚ 10.0.0.20 β”‚ β”‚ β”‚
β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

OpenVPN Client provides secure site connectivity:

Without Site VPN With Site VPN
Public internet Private tunnel
Exposed services Secured access
Complex routing Simple tunnel
Multiple configs Single connection
  1. Data Center Connection

    • Connect to main DC
    • Access internal services
  2. Branch Office Link

    • Site-to-site tunnel
    • Unified network
  3. Cloud Integration

    • AWS/Azure VPN
    • Hybrid deployment
  4. Trunk Security

    • SIP over VPN
    • Secure voice
Feature Benefit
.ovpn Upload Easy configuration
One-Click Connect Simple control
Status Monitoring Connection visibility
Traffic Stats Bandwidth tracking
Auto-Reconnect Reliable connection

  • Upload .ovpn configuration file
  • Connect/disconnect VPN
  • Monitor connection status
  • View traffic statistics
  • See connection details
  • Delete configuration
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ OpenVPN Client β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Site-to-site VPN connection to another server β”‚
β”‚ β”‚
β”‚ β–Ό Configuration β”‚
β”‚ Upload your .ovpn configuration file β”‚
β”‚ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Connection Name: datacenter-vpn β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Configuration: ● Loaded β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ [Connect] [Delete Configuration] β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β”‚ β–Ό Connection Status β”‚
β”‚ Current VPN connection details β”‚
β”‚ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Status: ● Connected β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Remote Host: vpn.datacenter.com β”‚β”‚
β”‚ β”‚ Remote Port: 1194 β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ ───────────────────────────────────────────── β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ IP Addresses: β”‚β”‚
β”‚ β”‚ Local IP: 10.8.0.5 β”‚β”‚
β”‚ β”‚ Remote IP: 10.8.0.1 β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ ───────────────────────────────────────────── β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Data Transfer: β”‚β”‚
β”‚ β”‚ Bytes Received: 1.2 GB β”‚β”‚
β”‚ β”‚ Bytes Sent: 456 MB β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Connected Since: 2024-01-15 08:30:00 β”‚β”‚
β”‚ β”‚ Last Checked: 2024-01-16 14:22:15 β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ [Disconnect] [Refresh Status] β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ OpenVPN Client β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Site-to-site VPN connection to another server β”‚
β”‚ β”‚
β”‚ β–Ό Configuration β”‚
β”‚ Upload your .ovpn configuration file β”‚
β”‚ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ ⚠️ No configuration uploaded β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Upload an .ovpn file to configure the site-to-site β”‚β”‚
β”‚ β”‚ VPN connection β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ [Upload Configuration] β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Upload .ovpn File β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Select or drag and drop your OpenVPN configuration file β”‚
β”‚ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ πŸ“ β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ Drop .ovpn file here or click to browse β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β”‚ Selected file: datacenter.ovpn β”‚
β”‚ β”‚
β”‚ [Upload and Save] [Cancel] β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

[!TIP] Complete .ovpn: Ensure certificates are embedded in the file.

[!TIP] Refresh Status: Click to update connection stats.

[!WARNING] Delete: Deleting config will disconnect active connection.


Field Description
Connection Name VPN connection identifier
Configuration Loaded status
Upload .ovpn file upload
Delete Remove configuration
Field Description
Status Connected/Disconnected
Remote Host VPN server address
Remote Port VPN port
Local IP Assigned VPN IP
Remote IP Server tunnel IP
Bytes Received Download traffic
Bytes Sent Upload traffic
Connected Since Connection start time
Last Checked Last status update

Status Icon Description
Connected ● Active VPN tunnel
Disconnected β—‹ No connection
Connecting ◐ Establishing tunnel
Error ⊘ Connection failed
Component Required Notes
Remote host Yes Server address
Remote port Yes Usually 1194
Certificates Yes CA, cert, key
Protocol Yes UDP or TCP
client
dev tun
proto udp
remote vpn.datacenter.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca [inline]
cert [inline]
key [inline]
cipher AES-256-GCM
auth SHA256
verb 3
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>

The OpenVPN Client module exposes programmatic status diagnostics to the Model Context Protocol (MCP), allowing operators and autonomous NOC assistants to continuously audit site-to-site VPN link health.

Tool Name Scope Description
get_openvpn_client_status Tunnel Telemetry (RO) Queries the status of the site-to-site OpenVPN Client connection, remote gateway endpoint, tunnel IP, and traffic counters.
{
"name": "get_openvpn_client_status",
"description": "Queries the status of the site-to-site OpenVPN Client connection, remote gateway endpoint, tunnel IP, and traffic counters.",
"parameters": {
"type": "object",
"properties": {}
}
}

Realistic Execution Response:

{
"success": true,
"data": {
"client": {
"name": "Site-to-Site Carrier VPN",
"serviceRunning": true,
"connectionState": "connected",
"remoteHost": "vpn.carrier-connect.net",
"remotePort": 1194,
"localIp": "10.8.0.25",
"remoteIp": "10.8.0.1",
"bytesReceived": 15849200,
"bytesSent": 12493020,
"connectedSince": "2026-09-08T08:15:00Z",
"lastChecked": "2026-09-08T10:45:00Z"
}
}
}
  • β€œCopilot, check if the site-to-site OpenVPN client tunnel is connected and show the assigned local IP.”
  • β€œWhat is the remote gateway address and current byte transfer count for the OpenVPN client?”
  • β€œVerify if the OpenVPN client systemd service is active or reported disconnected.”
  • β€œCopilot, comprueba si el tΓΊnel cliente OpenVPN estΓ‘ conectado y quΓ© IP virtual tiene asignada.”
  • β€œΒΏCuΓ‘l es la direcciΓ³n del host remoto y cuΓ‘ntos bytes se han transferido por la VPN?”
  • β€œVerifica si el servicio cliente de OpenVPN se encuentra en estado connected o disconnected.”
  1. Tenant-Scoped Connection State: Tunnel metadata is stored in public.openvpn_connection isolated by tenant_id. Sub-tenant assistants cannot inspect site-to-site links belonging to other tenants.
  2. Read-Only Inspection Safety: get_openvpn_client_status queries systemd status (systemctl is-active openvpn-client@site-to-site) and database counters without interrupting ongoing VoIP audio RTP sessions passing through the tunnel.
  3. Controlled Tunnel Lifecycle: Tunnel disconnects and reconnections require explicit administrative write access via the Web UI or authenticated API routes.

  1. Click Upload Configuration
  2. Drag .ovpn file or click to browse
  3. Select file
  4. Click Upload and Save
  5. Configuration now loaded
  1. Ensure configuration is loaded
  2. Click Connect
  3. Wait for connection
  4. Status shows β€œConnected”
  5. View assigned IP addresses
  1. View Connection Status section
  2. Check Remote Host and Port
  3. View Local/Remote IPs
  4. Check Data Transfer stats
  5. Click Refresh Status for updates
  1. Click Delete Configuration
  2. Confirm deletion
  3. Connection disconnects
  4. Upload new .ovpn file
  5. Connect with new config

[!NOTE] Single Connection: Only one VPN client connection.

[!NOTE] Embedded Certs: Certificates must be embedded in .ovpn.

[!WARNING] Delete Disconnects: Deleting config terminates connection.

  1. Complete Config: Use .ovpn with embedded certificates
  2. Test First: Verify .ovpn works before uploading
  3. Monitor Status: Check connection regularly
  4. Secure File: Protect .ovpn file (contains private key)
  5. Backup Config: Keep copy of working .ovpn
Tip Description
Inline certs Use <ca>, <cert>, <key> sections
Single file All config in one .ovpn
Test locally Verify with OpenVPN client first
Absolute paths Avoid external file references

Symptom Possible Cause Solution
Upload fails Invalid format Check .ovpn structure
Can’t connect Wrong server Verify remote host
Connection drops Network issue Check internet
Error state Bad certificates Regenerate .ovpn
Terminal window
# Check OpenVPN client service
systemctl status openvpn@client
# View client log
tail -f /var/log/openvpn/client.log
# Check tunnel interface
ip addr show tun0
# Test connectivity
ping 10.8.0.1
Terminal window
# Test .ovpn file locally
openvpn --config client.ovpn --verb 4
# Check for syntax errors
openvpn --config client.ovpn --show-tls

Term Definition
.ovpn OpenVPN config file
Site-to-Site Network-to-network VPN
Tunnel Encrypted connection
TUN Network tunnel device
Client VPN initiator
Remote VPN server side

Documentation last updated: January 2026