1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-27 06:10:26 +08:00

edit README

This commit is contained in:
fumiama
2021-12-31 22:22:50 +08:00
parent e9851947f2
commit df8bee280a

View File

@@ -7,13 +7,19 @@
## Usage ## Usage
> If you are running in windows, remember to select the `wintun.dll` of your arch in `lower/wintun` and place it alongside the compiled exe > If you are running in windows, remember to select the `wintun.dll` of your arch in `lower/wintun` and place it alongside the compiled exe
```bash ```bash
wg [-c config.yaml] [-g] [-h] [-p] wg [-c config.yaml] [-d|w] [-g] [-h] [-m mtu] [-p]
```
#### Instructions
```bash
-c string -c string
specify conf file (default "config.yaml") specify conf file (default "config.yaml")
-d print debug logs
-g generate key pair -g generate key pair
-h display this help -h display this help
-m int
set the mtu of wg (default 32700)
-p show my publickey -p show my publickey
-w only show logs above warn level
``` ```
## Config file example ## Config file example