Nick Hainke 36dc9b3f79 | 4 years ago | |
---|---|---|
.. | ||
common | 4 years ago | |
wg-client | 4 years ago | |
wg-server | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago |
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.
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.
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