aboutsummaryrefslogtreecommitdiff
path: root/net/wg-installer/common
Commit message (Collapse)AuthorAge
* wg-installer: fix multiple namespacesNick Hainke2022-01-23
| | | | | | | Add flag "--lookup-default-namespace" to signal that wg-installer should look already established wireguard sessions in the default namespace. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: rework codeNick Hainke2022-01-20
| | | | | | | Use shellcheck to rework the code. Use "export" to return variables from a function call. Further, fix typos. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: cosmetic changesNick Hainke2022-01-18
| | | | | | Use "ip addr" instead of "ip addres" or "ip a". Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: generate new keys for every connectionNick Hainke2022-01-12
| | | | | | Generate new keys on every new connection. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: fix cleanup scriptNick Hainke2022-01-10
| | | | | | The wrong function was called. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: fix typo in cleanup functionNick Hainke2022-01-09
| | | | | | | The delete variable was misspelled leading to devices always being removed although they had connected neighbors. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: add cleanup scriptNick Hainke2022-01-09
| | | | | | Add script to cleanup unused wireguard interfaces. Signed-off-by: Nick Hainke <vincent@systemli.org>
* wg-installer: add wg-installerNick Hainke2021-02-06
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>