diff options
author | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-05-24 21:46:04 +0200 |
---|---|---|
committer | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-05-24 21:46:04 +0200 |
commit | 39131d86821c7715281db7e10ea52d7323c23362 (patch) | |
tree | 90e04348501d5177e130ef6af6c931b5ff14f733 | |
parent | 0edf4d09a6fca89de7f98b12d24def74a12ca7f3 (diff) | |
download | wgmgr-39131d86821c7715281db7e10ea52d7323c23362.tar.gz wgmgr-39131d86821c7715281db7e10ea52d7323c23362.zip |
Add README
-rw-r--r-- | README.md | 29 |
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 | |||
5 | It 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 | |||
9 | Create the application configuration file, at `/etc/wgmgr.toml`: | ||
10 | |||
11 | ```toml | ||
12 | wgconf = "/etc/wireguard/wg0.conf" # path to your Wireguard configuration file | ||
13 | endpoint = 1.2.3.4 # IP address of the server | ||
14 | port = 6789 # optional, uses 51820 by default | ||
15 | dns = 8.8.8.8 # optional | ||
16 | ``` | ||
17 | |||
18 | Your Wireguard configuration file must already exist and be valid. A sample configuration file is as follows: | ||
19 | |||
20 | ``` | ||
21 | [Interface] | ||
22 | PrivateKey = REDACTED | ||
23 | ListenPort = 51820 | ||
24 | Address = 10.8.0.1/24 | ||
25 | ``` | ||
26 | |||
27 | ## Reporting bugs | ||
28 | |||
29 | Please 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. | ||