wireguard-android/cli
Jason A. Donenfeld bdfb319854 Verison bump tools
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-16 22:15:05 +01:00
..
addonsd.sh cli: import from contrib/examples/android 2017-07-31 03:02:26 +02:00
install.sh cli: import from contrib/examples/android 2017-07-31 03:02:26 +02:00
make-me-an-android-wg-command.sh Verison bump tools 2017-11-16 22:15:05 +01:00
README.md cli: import from contrib/examples/android 2017-07-31 03:02:26 +02:00
wg-quick.bash cli: only call DNS if there is DNS 2017-07-31 22:26:00 +02:00

Tools for Android

This currently contains a version of wg-quick.bash that works with Android 7's ndc command. It requires the WireGuard module to be part of your kernel, but after that, the usual wg-quick up and wg-quick down commands work normally.

Installation

Build a wg binary for Android and place it in this folder. Then copy this folder some place on your phone, and run sh ./install.sh as root. It should survive ROM flashes.

Usage

Compared to the ordinary wg-quick, this one does not support SaveConfig and {Pre,Post}{Up,Down}.

Put your configuration files into /data/misc/wireguard/. After that, the normal wg-quick up|down commands will work.