diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-31 03:02:26 +0200 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-07-31 03:02:26 +0200 |
commit | df4fc984934e074725ca9aa003cfc73be67dc756 (patch) | |
tree | f43de4a3a219c9805cd91ec743b8f395cbbae25c /cli/README.md | |
parent | e85142dbfc4a6e0220a83b6d4938a7a88638d823 (diff) |
cli: import from contrib/examples/android
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cli/README.md')
-rw-r--r-- | cli/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cli/README.md b/cli/README.md new file mode 100644 index 00000000..2d16fc40 --- /dev/null +++ b/cli/README.md @@ -0,0 +1,21 @@ +# 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. + |