WireGuard AutoConnect for Android
Auto turn on and off WireGuard by using the ip monitor
command.
Turn it off when you are home and on when you are away.
Requirements
Kernel supports WireGuard.
Usage
- Uninstall WireGuard apk if you installed.
- Write your config to
/data/misc/wireguard/auto-connect.conf
.
Example:
home_ip_prefix="192.168.18"
ping_ip="8.8.8.8"
- Put your wg config to
/data/misc/wireguard/wg0.conf
. - Install this module.
- Reboot.