Windows: install OpenVPN and ALightVPN
Use ALightVPN to provision your API key and obtain a VPN profile. The desktop app can launch the OpenVPN executable, or save a profile for you to import into OpenVPN GUI.
1. Install OpenVPN
- Download the Windows installer from OpenVPN Community Edition. Choose x64 or ARM64 to match your PC.
- Run the installer and approve the Windows administrator prompt. Install the OpenVPN executable, GUI, and VPN network driver components.
- Keep the installation path. A common executable location is
C:\Program Files\OpenVPN\bin\openvpn.exe.
Use an up-to-date OpenVPN build compatible with the downloaded ALightVPN profile. ALightVPN's automatic connection needs the Community openvpn.exe executable; the separate OpenVPN Connect app does not supply that executable for this workflow.
2. Download ALightVPN
- Open ALightVPN Downloads.
- Download
ALightVPN.exewhen listed. Download its matching.sha256file when provided. - Check the executable's SHA-256 value in PowerShell against the published value for that exact release:
Get-FileHash .\ALightVPN.exe -Algorithm SHA256
Keep the application in a folder you control, then launch it. If the package is an archive, verify the archive first, then extract it. Use the package descriptions on Downloads to distinguish the desktop app, console client, and OpenVPN installer.
3. Provision your API key
- In ALightVPN, select Generate Key Pair and leave the app open.
- In your browser, sign in, open API Keys, paste the copied public key, and select Generate API Key.
- Copy the encrypted transfer or download its
.keyfile. - Return to ALightVPN. Select Read from Clipboard or Browse .key File..., then Done after successful provisioning.
See API-key setup and management for current-access requirements, device labels, rotation, and troubleshooting.
4. Connect from ALightVPN
- Check the detected OpenVPN path. If it is missing, select Browse for OpenVPN... and choose
openvpn.exe. - Leave Save .ovpn file instead of connecting unchecked.
- For the standard setup, leave Request profile without DNS unchecked.
- Select Connect. ALightVPN downloads and decrypts a profile, then starts OpenVPN.
- Wait for Connected. Open a website and use Run Diagnostics to check the connection.
- Select Disconnect when finished. If needed, use Enable Logging to inspect a failed connection.
Alternative: export and import a profile
- In ALightVPN, check Save .ovpn file instead of connecting, then select Connect to request and save the profile. This saves a file; it does not establish a tunnel.
- Start OpenVPN GUI. From its notification-area icon, choose Import file and select the saved
.ovpnfile. See the official OpenVPN GUI guide if the wording differs. - Choose the imported profile from the GUI menu and select Connect. Approve any required Windows permission prompt.
- Disconnect using OpenVPN GUI. ALightVPN does not manage a connection started by that separate app.
Use the exported profile until you revoke or replace it. Requesting another profile from the same ALightVPN client can revoke its previous profile, so remove superseded imports from OpenVPN GUI.
Daily VPN maintenance
Participating servers reset daily at 12:00 noon India Standard Time (06:30 UTC). ALightVPN shows the next reset in your Windows local timezone, including the local date and UTC offset. Existing VPN connections disconnect while the server creates new certificates and profiles. The app shows the current reset stage, elapsed seconds, and the measured completion time. Access reopens once fresh certificates, initial profiles, and readiness checks are complete; the remaining profiles fill in the background.
Wait for maintenance to finish, then reconnect to download a fresh profile. If you exported a profile to OpenVPN GUI, request and import a replacement; the previous profile will no longer authenticate. Keep your existing API key. If maintenance status is unavailable, wait for it to refresh before assuming the server has recovered.
Windows console option
Instead of the desktop app, download alightvpn-console-win-x64.zip or alightvpn-console-win-arm64.zip when listed. Verify the archive's SHA-256, then extract and run it from PowerShell:
Expand-Archive .\alightvpn-console-win-x64.zip -DestinationPath .\alightvpn-console
Set-Location .\alightvpn-console
.\alightvpn.exe
First run starts API-key setup. At the main menu use c to connect or disconnect, s to save a profile, o to set the OpenVPN path, and q to quit. Released console packages are self-contained; OpenVPN is installed separately.
Troubleshooting
- Driver or adapter permission error: confirm the OpenVPN driver was installed. If elevation is required, close ALightVPN and run it as administrator under the same Windows account that provisioned the key.
- OpenVPN not found: use Browse for OpenVPN...; select the executable rather than a shortcut.
- Unsupported option, TLS group, or handshake failure: update to a compatible OpenVPN build and retain the downloaded profile's authentication and crypto settings. Ask support which client build matches the profile if the error remains.
- Key or access error: follow the API-key guide and check current access before repeatedly downloading profiles.