ALightVPN setup guides

Android: download a profile and connect with strongSwan

ALightVPN downloads your profile. strongSwan VPN Client imports that profile and establishes the VPN tunnel. The ALightVPN downloader's Profile Active message means a profile is assigned; check strongSwan to see whether the VPN is connected.

ALightVPN Android availability: use the official download or Google Play link announced on ALightVPN Downloads when the Android app is released. This guide does not announce a public Play release. If no Android release is listed, contact support about access to an approved test build. The steps below apply once you have the app.

1. Install the two apps

  1. Install strongSwan VPN Client by strongSwan Project. Update it before importing an ALightVPN profile. Its release notes document ML-KEM support from version 2.6.1; use that version or later for hybrid ML-KEM profiles.
  2. When available, install the official ALightVPN Android app using the link on ALightVPN Downloads. Its package ID is com.alightservices.com.vpn.
  3. Sign in to the ALightVPN website in your browser and confirm your VPN access is active.

For other official strongSwan distribution options, see the strongSwan Android guide.

2. Provision your ALightVPN API key

  1. Open ALightVPN. Tap Generate Public Key, then Copy Key to Clipboard. Keep the app session open.
  2. Switch to your browser and open API Keys. Use a label such as Android phone, paste the public key, and select Generate API Key.
  3. Copy the encrypted transfer, or download its .key file.
  4. Switch back to ALightVPN and tap Read from Clipboard or Select .key File, then Decrypt and Save.

The .key transfer belongs in ALightVPN. strongSwan receives the VPN profile in the next step. See API-key setup if import fails.

3. Download the strongSwan profile

  1. Under Select Profile Type, choose StrongSwan (.sswan). The default may be OpenVPN, so check the selection.
  2. Leave Request profile without DNS unchecked for the standard setup.
  3. Tap Download VPN Profile and wait for the saved-profile message.
  4. If StrongSwan PKCS#12 Password appears, tap Copy Password immediately before importing. The app clears that password state after its 60-second timer.
  5. Tap Open Profile. If Android asks which app to use, choose strongSwan VPN Client.

4. Import into strongSwan

  1. Review the imported profile in strongSwan. Keep the supplied server identity, certificates, and cryptographic proposals.
  2. If prompted to unlock the PKCS#12 client certificate, paste the password copied from ALightVPN. It is separate from your website password and API key. Accept the certificate import or key-access prompts for this profile.
  3. Save or import the profile using the confirmation button shown by your strongSwan version.

If Open Profile does not launch strongSwan, use strongSwan's overflow menu and Import VPN profile to browse for an accessible copy of the .sswan file. ALightVPN may store its copy in app-private storage, so a file manager may not be able to browse to the displayed path. Prefer Open Profile, which grants the receiving app access. See strongSwan's profile-import instructions.

5. Connect and disconnect

  1. In strongSwan, tap the imported profile.
  2. Approve Android's VPN connection request when prompted.
  3. Wait for strongSwan to report a connected tunnel. Android should show its VPN indicator; confirm that websites open through the connection.
  4. To stop the tunnel, disconnect in strongSwan or its VPN notification. Closing ALightVPN does not disconnect a strongSwan tunnel.

Replace or remove a profile

Disconnect in strongSwan before replacing the profile. Downloading another profile in ALightVPN can revoke the previous assigned profile. Import the fresh .sswan file and remove the superseded entry from strongSwan. Revoke Current Profile requests server revocation; Shred & Delete removes ALightVPN's local file and does not itself revoke the server credential or delete an imported strongSwan entry.

Daily server maintenance

Participating VPN servers reset daily at 12:00 noon India Standard Time (06:30 UTC). Your connection disconnects while new certificates and profiles are generated. After maintenance, obtain and import a fresh strongSwan profile. Previously exported profiles stop authenticating. Your API key remains unchanged.

Troubleshooting

No value for uuid
Download a fresh StrongSwan (.sswan) profile using the current ALightVPN release and try Open Profile again. A .key transfer or .ovpn file cannot be imported as a strongSwan profile. If a fresh file still fails, report the error and app versions to support without sending the profile.
PKCS#12 password rejected or cleared
Use the password belonging to this downloaded profile. If it is no longer available, obtain a fresh profile and copy its password just before import; requesting a replacement may revoke the old profile.
No proposal chosen or unsupported algorithm
Update strongSwan and re-import a current profile. Keep the supplied proposals and ask support for a compatible client if negotiation still fails.
Repeated timeout
Check ordinary internet access, finish any Wi-Fi captive-portal sign-in, and try Wi-Fi versus mobile data. Share a redacted strongSwan log with support if it persists.