Skip to content

wgtunnel/wgtunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WG Tunnel

An alternative FOSS Android client for WireGuard and AmneziaWG

Report a Bug · Request a Feature · Ask a Question


Google Play F-Droid 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 (on-demand VPN activation), while seamlessly supporting both protocols across app modes—including Kernel (for direct WireGuard kernel integration; AmneziaWG not supported), VPN (standard system-level tunneling), Lockdown (a custom kill switch for leak prevention), and Proxy (built-in HTTP/SOCKS5 forwarding)—for enhanced privacy, censorship resistance, and flexibility.

Screenshots

Main Config Settings Auto-tunnel

Features

  • Tunnel Import Methods: Easily add tunnels using .conf files, ZIP archives, manual entry, or QR code scanning.
  • Auto-Tunneling: Automatically activate tunnels based on Wi-Fi SSID, Ethernet connections, or mobile data networks.
  • Split Tunneling: Flexible support for routing specific apps or traffic through the VPN.
  • WireGuard Modes: Full compatibility with WireGuard in both kernel and userspace implementations.
  • AmneziaWG Integration: Userspace mode for AmneziaWG, providing robust censorship evasion.
  • Always-On VPN: Ensures continuous protection with Android's Always-On VPN feature.
  • Quick Controls: Quick Settings tile and home screen shortcuts for easy VPN toggling.
  • Automation Support: Intent-based automation for controlling tunnels.
  • Auto-Restore: Seamlessly restores auto-tunneling and active tunnels after device restarts or app updates.
  • Proxying Options: Built-in HTTP and SOCKS5 proxy support within tunnels.
  • Lockdown Mode: Custom kill switch for maximum leak prevention and security.
  • Dynamic DNS Handling: Detects and updates DNS changes without tunnel restarts.
  • Monitoring Tools: Advanced tunnel monitoring features for tunnel performance monitoring.
  • Android TV Support: Android TV support for secure streaming and browsing.
  • Advanced DNS: DNS over HTTPS support for tunnel endpoint resolutions.

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.
Translation status

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.