๐Ÿ›ก

Your own private VPN
on AWS โ€” zero trust

Self-hosted WireGuard VPN with ad blocking, a desktop tray app, mobile web dashboard, and a fully standalone Android APK.

WireGuard AWS EC2 Python ยท PyQt6 Android Native AdGuard DNS Flask REST API
How it works โ†“
Desktop Tray
System Tray Menu
โ— Connected โ€” ๐Ÿ‡ฎ๐Ÿ‡ช Ireland
โœ“๐Ÿ‡ฎ๐Ÿ‡ช Ireland ยท EU West
โœ“ Ad Blocking
Disconnect
PyQt6 system tray โ€” connect, disconnect, and toggle ad blocking from the menu bar
Mobile Web (PWA)
Connected
๐Ÿ‡ฎ๐Ÿ‡ช Ireland ยท EU West
Disconnect
๐Ÿ›ก Ad Blocking ON
Browser PWA โ€” controls the desktop VPN over the local network REST API
Standalone Android APK
Disconnected
No active tunnel
Connect
๐Ÿ›ก Ad Blocking
Native APK โ€” WireGuard Go bundled inside, connects directly to AWS, no desktop needed
How it works
1

Provision your server

Run ./provision.sh ireland โ€” spins up an EC2 t3.nano in eu-west-1, installs WireGuard, generates server + client keys, and downloads your client config automatically.

2

Install the desktop app

Run ./install.sh โ€” sets up the Python venv, grants passwordless sudo wg-quick, and adds an autostart entry so the tray app launches at login.

3

Build the Android APK

Add your config keys to MainActivity.java, then run ./build-android-standalone.sh. The WireGuard Go runtime is fetched automatically and bundled into the APK โ€” no desktop, no API server, no Wi-Fi dependency.

4

Connect from anywhere

All your internet traffic is routed through your own AWS server. DNS queries go to AdGuard Home (self-hosted on the VPN server) for ad and tracker blocking at the network level.

Features
๐Ÿ”’

WireGuard protocol

Modern, fast, and audited VPN protocol. ~1300 lines of kernel code vs OpenVPN's ~100k.

๐Ÿ›ก

AdGuard DNS ad blocking

Self-hosted AdGuard Home on the VPN server blocks ads and trackers at the DNS level across all your devices simultaneously.

๐Ÿ“ฑ

Standalone Android APK

WireGuard Go compiled for ARM64, ARM, x86, and x86_64 โ€” bundled inside the APK. No root, no Play Store, no desktop.

โš™๏ธ

Multi-server ready

Add any number of servers to servers.json. Run ./provision.sh for each region โ€” the tray app and mobile apps update automatically.

๐Ÿ”‘

Token-secured API

The mobile REST API uses a random token generated once and stored locally. No password, no OAuth โ€” just a simple shared secret.

๐Ÿ’ฐ

Near-zero incremental cost

Runs on a shared EC2 instance. Data transfer stays under AWS's 100 GB/month free allowance at typical personal VPN usage โ€” incremental cost: $0/month.

Tech Stack
LayerTechnologyRole
VPN protocolWireGuardEncrypted UDP tunnel โ€” modern, minimal, audited
Desktop UIPython ยท PyQt6System tray app with Qt6 bindings
Mobile APIFlaskLightweight REST API for the browser PWA
Android APKJava ยท WireGuard GoNative Android app with bundled WireGuard userspace implementation
DNS / ad blockingAdGuard HomeSelf-hosted on the VPN server โ€” blocks ads at DNS level
InfrastructureAWS EC2 eu-west-1t3.nano / t3.small โ€” shared with other projects
CI/CDGitHub ActionsBuilds APK on every push, uploads as artifact
Cost
$0
per month incremental โ€” runs on a shared EC2 instance already used for other projects.
Data transfer stays under AWS's 100 GB/month free allowance at ~11 GB/month VPN usage.

Dedicated server cost: ~$9.11/month (EC2 t3.nano + 8 GB EBS in eu-west-1).
No AI services used. No Anthropic costs.