WG Tunnel is an Android client for WireGuard and AmneziaWG, inspired by the official WireGuard Android app. It adds advanced features like auto-tunneling, tunnel-in-a-tunnel multihop, lockdown (a tunnel-independent kill switch), local proxying (a local SOCKS5/HTTP proxy), and many more!
Get the app
Community
git clone https://github.com/wgtunnel/android
cd android
./gradlew assembleDebug
To build against a local core (native JNI, backend, parser, hevtunnel), clone core next to this repo:
parent/
android/ # this repository
core/ # https://github.com/wgtunnel/core
cd /path/to/parent
git clone https://github.com/wgtunnel/android
git clone https://github.com/wgtunnel/core
cd android
You also need the core build requirements (JDK 21, Android NDK, make, a C toolchain).
Then switch Gradle from Maven Central to the composite build:
settings.gradle.kts, uncomment the local-dev includeBuild:// Local dev
includeBuild("../core") {
dependencySubstitution {
substitute(module("com.wgtunnel:backend"))
.using(project(":backend"))
substitute(module("com.wgtunnel:backend-android"))
.using(project(":backend"))
substitute(module("com.wgtunnel:backend-android-jni"))
.using(project(":backend-android-jni"))
substitute(module("com.wgtunnel:hevtunnel"))
.using(project(":hevtunnel"))
substitute(module("com.wgtunnel:parser"))
.using(project(":parser"))
}
}
android/:./gradlew assembleDebug
Please restore the commented includeBuild before opening a PR.
Help translate WG Tunnel on Crowdin.
|
Zane Schepke (zaneschepke) 249913 words |
Marco Martinelli (martinellimarco) 4792 words |
Petr Sedl (Pida88) 2211 words |
Matthaiks 1992 words |
Surfoo 1984 words |
solokot 1254 words |
Evan Huang (EvanTechDev) 1120 words |
|
Ali Saeedi (alis36) 1050 words |
그냥기여자 (justcontributor) 965 words |
LEDPixel 950 words |
CyanWolf (cyanwolfg) 891 words |
Den (tehb29) 460 words |
pixnet 378 words |
ron (zlronron159) 320 words |
|
Philip (ppac) 273 words |
YuryKomar 271 words |
georgybog 257 words |
Dariusz (darbrzozo) 125 words |
Thank you to the following:
Any contributions in the form of feedback, issues, code, or translations are welcome and much appreciated!
For PRs, please make sure to format before submitting.
./gradlew format
CI runs ./gradlew formatCheck, which uses the same files and style as format. If that job fails, run ./gradlew format and commit the result.
If your PR requires core changes, please link the associated PR.
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|