aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Garrelou <simon@sixfoisneuf.fr>2023-05-24 21:46:04 +0200
committerSimon Garrelou <simon@sixfoisneuf.fr>2023-05-24 21:46:04 +0200
commit39131d86821c7715281db7e10ea52d7323c23362 (patch)
tree90e04348501d5177e130ef6af6c931b5ff14f733
parent0edf4d09a6fca89de7f98b12d24def74a12ca7f3 (diff)
downloadwgmgr-39131d86821c7715281db7e10ea52d7323c23362.tar.gz
wgmgr-39131d86821c7715281db7e10ea52d7323c23362.zip
Add README
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0b5b06f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
1# Wireguard configuration manager
2
3`wgmgr` is a command-line configuration manager for the [Wireguard](https://wireguard.org) VPN solution. It expects a traditional client-server relationship, and cannot be used to handle meshed networks.
4
5It handles client creation and removal, and will auto-generate the corresponding private and public keys. It can also generate the configuration file for each client.
6
7## Setting up
8
9Create the application configuration file, at `/etc/wgmgr.toml`:
10
11```toml
12wgconf = "/etc/wireguard/wg0.conf" # path to your Wireguard configuration file
13endpoint = 1.2.3.4 # IP address of the server
14port = 6789 # optional, uses 51820 by default
15dns = 8.8.8.8 # optional
16```
17
18Your Wireguard configuration file must already exist and be valid. A sample configuration file is as follows:
19
20```
21[Interface]
22PrivateKey = REDACTED
23ListenPort = 51820
24Address = 10.8.0.1/24
25```
26
27## Reporting bugs
28
29Please report any bugs you find to [bugs+wgmgr@sixfoisneuf.fr](mailto:bugs+wgmgr@sixfoisneuf.fr). Contributions are welcomed, as long as they follow the [git send-email](https://git-send-email.io) format.