A FOSS WireGuard & AmneziaWG Android client with auto-tunneling, lockdown & proxying. https://wgtunnel.com
  • Kotlin 99.8%
  • Ruby 0.2%
Find a file
zaneschepke 3e2ebb5b1c
fix: sticky service restore and package replace restore
Tunnels and auto tunnel now properly restore on start sticky scenarios when the service is killed and when package is replaced.

closes #1259
2026-08-13 05:13:18 -04:00
.github chore(deps): bump gradle/actions from 6.2.0 to 6.3.0 (#1406) 2026-08-11 17:58:14 -04:00
app fix: sticky service restore and package replace restore 2026-08-13 05:13:18 -04:00
buildSrc chore: release 5.2.1 2026-07-23 03:52:41 -04:00
fastlane feat(lang): new Crowdin updates (#1410) 2026-08-13 01:22:51 -04:00
gradle fix: sticky service restore and package replace restore 2026-08-13 05:13:18 -04:00
logcatter fix: android tv and legacy device file exports 2026-08-11 17:41:00 -04:00
networkmonitor fix: android tv and legacy device file exports 2026-08-11 17:41:00 -04:00
pinger build: fix configuration cache issues 2026-06-17 05:42:28 -04:00
.gitignore refactor: app versioning and flavors 2025-04-23 01:23:01 -04:00
.gitmodules feat(tunnel)!: redesign tunnel bootstrapping to post tunnel up with realtime handshake monitoring (#1237) 2026-05-21 02:53:41 -04:00
build.gradle.kts refactor: switch license view to aboutlibraries, add native dep licenses 2026-07-01 02:37:00 -04:00
crowdin.yml chore: fix fastlane for crowdin skip untranslated 2026-08-13 00:41:26 -04:00
Gemfile ci: fix fastlane pipeline 2026-06-07 03:23:18 -04:00
gradle.properties chore: bump agp, enable parallel tooling 2026-07-16 01:17:05 -04:00
gradlew chore: fix warnings, bump gradle and ksp 2026-07-11 01:09:10 -04:00
gradlew.bat chore: fix warnings, bump gradle and ksp 2026-07-11 01:09:10 -04:00
LICENSE chore: update license 2025-04-11 02:36:17 -04:00
README.md docs: make crowdin link an invite link 2026-07-07 05:55:19 -04:00
SECURITY.md docs: update readme, add security 2024-03-30 23:16:19 -04:00
settings.gradle.kts fix: ddns failing to retry after detecting no change 2026-08-11 02:46:19 -04:00

WG Tunnel

An alternative FOSS Android client for WireGuard and AmneziaWG

Report a Bug · Request a Feature · Ask a Question


Google Play IzzyOnDroid Obtainium

Table of Contents

About

WG Tunnel is an alternative Android client for WireGuard and AmneziaWG, inspired by the official WireGuard Android app. It fills gaps in the official client by adding advanced features like auto-tunneling, AmneziaWG support, different app modes like Lockdown (a custom kill switch for leak prevention), and Local Proxy (expose a tunnel over a local SOCKS5/HTTP proxy server) for enhanced privacy, censorship resistance, and flexibility.

Screenshots

Main Config Settings Auto-tunnel

Features

  • Auto-Tunneling: Automatically activate tunnels based on your device's active network details.
  • Deferred Endpoint Bootstrapping: Safely resolves endpoints and updates peers after the tunnel is up for better reliability and leak protection on startup.
  • Handshake Monitoring: Real-time handshake monitoring for instant tunnel health feedback.
  • AmneziaWG Support: Full support for AmneziaWG 2.0, providing robust censorship protection.
  • Split Tunneling: Flexible support for routing specific apps or traffic through the VPN.
  • Local Proxy Mode: Expose WireGuard tunnels over a local SOCKS5 or HTTP proxy to browsers or firewall apps (like AdGuard).
  • Lockdown Mode: Advanced in-app kill switch that blocks all traffic while the tunnel is down.
  • Quick Controls: Quick Settings tile and home screen shortcuts for easy toggling.
  • Remote Control Support: Intent-based automation for controlling tunnels and auto-tunneling from automation apps (like Tasker).
  • Dynamic DNS Handling: Automatically detect and update endpoints on server IP changes without requiring a restart.
  • IPv6 Endpoints: Automatically upgrade to IPv6 endpoints or fall back to IPv4 based on network conditions without requiring a restart.
  • Android TV Support: Full support for nearly all features on Android TV.

Building

git clone https://github.com/wgtunnel/wgtunnel
cd wgtunnel
./gradlew assembleDebug

Translation

Help translate WG Tunnel on Crowdin.

Acknowledgements

Thank you to the following:

Contributing

Any contributions in the form of feedback, issues, code, or translations are welcome and much appreciated!

Please read the code of conduct before contributing.