DavidVentura / Wireguard_qml

UBPorts app in QML for Wireguard
MIT License
4 stars 5 forks source link

Wireguard

Wireguard VPN.

Supports kernel & fallback userspace implementation. The userspace implementation is alpha quality. The kernel implementation is very solid.

How to use:

Features:

Screenshots

Get kernel support for wireguard on your device

It is very easy! You can follow the steps here and send a MR to your maintainer.
If you don't feel up to the task, open an issue and fill in the template

Instructions to build the kernel module

  1. Find your kernel sources, probably here, and clone them
  2. In the sources, run something like /usr/bin/make O=../kernel-out ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnueabihf- modules_prepare -j$(nproc)
  3. Clone wireguard kernel sources
  4. Run make -C src -j$(nproc) KERNELDIR=<PATH>/kernel-out/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnueabihf- module
  5. Try to load the resulting wireguard.ko on your device: sudo insmod wireguard.ko

Logs

Userspace daemon to update routes is at ~/.cache/wireguard.davidv.dev/daemon-de.log.
Userspace wireguard daemon is at ~/.cache/wireguard.davidv.dev/daemon-de.log/boring.log.

License

Copyright (C) 2021 David Ventura

Licensed under the MIT license