Go to file
hanser cc7a08d862 added hint how to upload the new config file to the central host using ssh and scp 2023-03-12 10:05:27 +01:00
src/wgman1ton added hint how to upload the new config file to the central host using ssh and scp 2023-03-12 10:05:27 +01:00
LICENSE Initial commit 2022-01-16 17:35:15 +01:00
README.md added note in readme 2022-12-08 14:51:40 +01:00
makefile released version 0.2.0 2022-12-08 15:00:21 +01:00
pyproject.toml packaged software to be uploaded to pypi 2022-02-06 22:47:49 +01:00
setup.cfg added hint how to upload the new config file to the central host using ssh and scp 2023-03-12 10:05:27 +01:00
setup.py packaged software to be uploaded to pypi 2022-02-06 22:47:49 +01:00

README.md

1toN-wireguard-manager

Simple cli-tool to create the wg0.conf-files for a 1-to-many network infrastructure in which the N-peers can connect to each other via the 1-peer.

Note that the keys are stored in an unencrypted sqlite-file and the configs get exported as plain text files use this on your own risk!

installation

pip install wgman1ton

You also need wireguard installed (the package is called wireguard-tools in many distributions).

usage

$ wgman1ton
:: Select an option 
   1 edit general settings
   2 add node
   3 remove node
   4 display qr-code for node
   5 export all configs
   6 exit
> █

Optionally you can also provide the name of the .db-file that should be opened.

$ wgman1ton different.db

The software will create a database file called wgman1ton.db in the current directory to persist the configuration.

Navigate through the cli-menu. In the end export the configuration and distribute it to the appropriate peers.

Call the software from the same directory later to continue where you left off.