Stellar VPN Desktop is a cross-platform, security-first VPN application built with Tauri v2, designed and developed in Switzerland 🇨🇭.
The app focuses on privacy, reliability, and minimal attack surface while delivering a native desktop experience on Linux, macOS, and Windows.
Stellar VPN Desktop ships with:
- Native system integration (tray, autostart, system networking)
- Secure privileged helpers for VPN control
- Signed releases and cryptographically verified OTA updates
- Open-source transparency where possible
- Tauri v2
- Rust (core, helpers, system integration)
- TypeScript / React (UI)
- OpenVPN / system networking
- Tauri Updater (OTA) with mandatory signing
⚠️ Always build releases from a clean working tree.
The project is configured to automatically build the frontend before creating a release bundle.
cargo tauri buildThis will:
- Run
npm run build:web - Bundle the frontend from
frontendDist - Produce platform-specific installers and artifacts
Build output is located in:
src-tauri/target/release/bundle/
The app supports two build modes:
- Internal build → VPN logs visible in the dashboard
- Customer build → VPN logs hidden in the dashboard
Add this to src-tauri/Cargo.toml:
[features]
customer-build = []VITE_SHOW_VPN_LOGS=true cargo tauri buildVITE_SHOW_VPN_LOGS=false cargo tauri build --features customer-buildVITE_SHOW_VPN_LOGScontrols whether the frontend shows the logs panelcustomer-builddisables backendvpn-logemits for customer releases- This allows clean customer builds without noisy connection logs in the UI
For macOS, you can use the reinstall script to fully rebuild the app, reinstall the privileged helper, restart the LaunchDaemon, and launch the fresh app bundle.
Script:
./reinstall_stellar_vpn_macos.shBuilds the internal version with dashboard VPN logs enabled:
./reinstall_stellar_vpn_macos.sh --internalBuilds the customer version with dashboard VPN logs hidden:
./reinstall_stellar_vpn_macos.sh --customerIf no flag is passed, the script builds:
./reinstall_stellar_vpn_macos.shThis defaults to:
--internal
- Stops old app/helper/OpenVPN processes
- Removes old helper sockets
- Cleans previous Rust build output
- Builds the macOS privileged helper
- Builds the Tauri app bundle
- Installs the helper into
/Library/PrivilegedHelperTools - Restarts the LaunchDaemon
- Verifies the helper is running
- Opens the freshly built app bundle
For internal:
VITE_SHOW_VPN_LOGS=trueand Rust builds normally.
For customer:
VITE_SHOW_VPN_LOGS=falseand Tauri/Rust builds with:
--features customer-buildFor the helper build, the script uses:
--features "macos-build,customer-build"when building customer mode.
Stellar VPN Desktop uses Tauri’s mandatory signing system for release bundles and OTA updates.
Set the signing key and password before building:
export TAURI_SIGNING_PRIVATE_KEY="/path/to/vpn.key"
export TAURI_SIGNING_PRIVATE_KEY_PASSWORD="YOUR_PASSWORD"Notes:
- Never commit private keys or passwords
- Prefer CI secrets for production builds
- Losing the private key means existing installs cannot receive updates
After setting the variables, run:
cargo tauri buildArtifacts and update packages will be signed automatically.
The app uses Tauri Updater with signed artifacts.
The updater is configured in tauri.conf.json with:
- Update endpoint (
latest.json) - Public key for signature verification
- Set signing environment variables
- Build a release:
cargo tauri build
- Upload generated updater artifacts +
latest.jsonto the release server - Clients automatically verify signatures and apply updates securely
OTA updates are:
- Cryptographically verified
- Fail-safe
- Mandatory signature-checked
Autostart must only be enabled from a release / installed build.
Do not enable autostart from:
cargo tauri dev- Debug binaries
Dev builds use a localhost UI (devUrl) and will fail on system startup.
- Security-first architecture
- Minimal privileges
- Explicit permissions (Tauri capabilities)
- No silent privilege escalation
- Signed updates only
Stellar VPN Desktop is developed by Stellar Security (Switzerland) 🇨🇭
Mission: Protect everyone’s privacy and security.
© Stellar Security