openwrt-packages/net/wg-installer
Nick Hainke 40b87aac95 wg-installer: use babeld add_interface function
With commit 385200443554 ("babeld: add add_interface function") babeld
has a new ubus function allowing to dynamically add an interface.

Before the add_interface function, we were required to reload babeld.
The reload influenced the babeld routing. However, the remove part is
still missing and will be added at a later stage.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-02-01 22:32:30 +01:00
..
common wg-installer: fix multiple namespaces 2022-01-23 00:08:32 +01:00
wg-client wg-installer: fix multiple namespaces 2022-01-23 00:08:32 +01:00
wg-server wg-installer: use babeld add_interface function 2022-02-01 22:32:30 +01:00
Makefile wg-installer: use babeld add_interface function 2022-02-01 22:32:30 +01:00
README.md wg-installer: add babeld hotplug.d script 2021-02-08 11:38:36 +01:00

README.md

Wireguard Installer

This tool can be used to automatically create wireguard tunnels. Using rpcd a new wireguard interface is created on the server where the client can connect to.

Installation

For Server

opkg install wireguard-installer-server

For Client

opkg install wireguard-installer-client

Wiregurad server automatically installs a user and associated ACL to use the wireguard-installer-server features. The user is called wginstaller and so is the password.

Usage

Get Usage Statistics

wg-client-installer get_usage --ip 127.0.0.1 --user wginstaller --password wginstaller

Register Tunnel Interface

wg-client-installer register --ip 127.0.0.1 --user wginstaller --password wginstaller --bandwidth 10

Hotplugs

  • wg-installer-server-hotplug-babeld: mesh automatically via wireguard with babeld