r/coolgithubprojects • u/Foxythefox2017 • 8h ago
Per-app VPN for Windows: route any .exe file through Proton VPN, open source
Hi, I'm the author. I built this because I wanted some apps, and nothing else, to go through Proton VPN on Windows, without putting the whole PC in a tunnel.
What it does?
You pick the apps (or whole folders) that use the VPN. Everything else keeps your normal connection. It builds a WireGuard session config from your Proton profile and drives the WireSock Secure Connect CLI, which routes the TCP/UDP packets of the chosen executables. It can create the WireGuard profile on your Proton account for the server you pick, or import a .conf you already have. Automatic mode picks the fastest server and switches if the current one gets slow or fails.
Details
C# on .NET 10, WinForms, MIT license. Windows 10/11 x64. Login happens on Proton's own page inside a WebView2. The app never receives your password. Profiles are encrypted with DPAPI, and the session file in ProgramData has a restricted ACL. UI in English, Portuguese and Russian. Telemetry is optional and off by default, and you can preview what would be sent.
Parts of the code were written with AI assistance. I reviewed and tested them.
- Source code: https://github.com/F404X/app-tunnel/
- Download it: https://apptunnel.f404x.net/
Not an official Proton or WireSock product. It is not a kill switch either, and the README explains the limits. Feedback and issues are welcome on GitHub.