wg-installer: add wg-installer
authorNick Hainke <vincent@systemli.org>
Thu, 4 Feb 2021 15:34:02 +0000 (16:34 +0100)
committerPolynomdivision <vincent@systemli.org>
Sat, 6 Feb 2021 21:41:29 +0000 (22:41 +0100)
commit3a6949dfaffda130a2945f714305bcafb8ac98fa
treeac65a98ee6d241f574ec803382789c1307f258f9
parentd29ec52a5895f06dd9f31062b52ebb7f2ac0f49f
wg-installer: add wg-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.

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.

Get Usage:
  wg-client-installer get_usage --ip 127.0.0.1 --user wginstaller
--password wginstaller

Register Interface:
  wg-client-installer register --ip 127.0.0.1 --user wginstaller
         --password wginstaller --bandwidth 10 --mtu 1400

Signed-off-by: Nick Hainke <vincent@systemli.org>
net/wg-installer/Makefile [new file with mode: 0644]
net/wg-installer/README.md [new file with mode: 0644]
net/wg-installer/common/wg.sh [new file with mode: 0644]
net/wg-installer/wg-client/config/wgclient.conf [new file with mode: 0644]
net/wg-installer/wg-client/lib/rpcd_ubus.sh [new file with mode: 0644]
net/wg-installer/wg-client/wg-client-installer.sh [new file with mode: 0644]
net/wg-installer/wg-server/config/wginstaller.json [new file with mode: 0644]
net/wg-installer/wg-server/config/wgserver.conf [new file with mode: 0644]
net/wg-installer/wg-server/lib/install_wginstaller_user.sh [new file with mode: 0644]
net/wg-installer/wg-server/lib/wg_functions.sh [new file with mode: 0644]
net/wg-installer/wg-server/wginstaller.sh [new file with mode: 0644]