mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-27 06:10:26 +08:00
edit README
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user