This repository has been archived on 2024-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
wireguard-tools/contrib/android
Jason A. Donenfeld 91fb17a014 android: add port of wg-quick
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-24 23:19:38 +02:00
..
README.md android: add port of wg-quick 2017-07-24 23:19:38 +02:00
addonsd.sh android: add port of wg-quick 2017-07-24 23:19:38 +02:00
install.sh android: add port of wg-quick 2017-07-24 23:19:38 +02:00
wg-quick.bash android: add port of wg-quick 2017-07-24 23:19:38 +02:00

README.md

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 gains a "DNS =" field, but loses 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.