- Kotlin 95.6%
- Go 2.4%
- C 1.4%
- Makefile 0.3%
- CMake 0.2%
| .github | ||
| app | ||
| buildSrc | ||
| fastlane | ||
| gradle | ||
| hevtunnel | ||
| logcatter | ||
| networkmonitor | ||
| pinger | ||
| tunnel | ||
| .gitignore | ||
| .gitmodules | ||
| build.gradle.kts | ||
| Gemfile | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| settings.gradle.kts | ||
WG Tunnel
An alternative FOSS Android client for WireGuard
and AmneziaWG
Report a Bug
·
Request a Feature
·
Ask a Question
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
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
This app is using Weblate to assist with translations.
Help translate WG Tunnel into your language
at Hosted Weblate.
Acknowledgements
Thank you to the following:
- All of the users that have helped contribute to the project with ideas, translations, feedback, bug reports, testing, and donations.
- WireGuard - Jason A. Donenfeld (https://github.com/WireGuard/wireguard-android)
- AmneziaWG - Amnezia Team (https://github.com/amnezia-vpn/amneziawg-android)
- JetBrains - For supporting open-source developers with free software licenses.
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.