mirror of
https://github.com/jwhited/wgsd.git
synced 2025-01-18 13:59:34 +08:00
add wgsd-client README
This commit is contained in:
parent
7d513c4d71
commit
6bb19aedf6
13
cmd/wgsd-client/README.md
Normal file
13
cmd/wgsd-client/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# wgsd-client
|
||||||
|
`wgsd-client` is responsible for keeping peer endpoint configuration up to date. It retrieves the list of configured peers, queries `wgsd` for matching public keys, and then sets the endpoint value for each peer if needed. This client is intended to be run periodically via cron or similar scheduling mechanism. It checks all peers once in a serialized fashion and then exits.
|
||||||
|
|
||||||
|
```
|
||||||
|
% ./wgsd-client --help
|
||||||
|
Usage of ./wgsd-client:
|
||||||
|
-device string
|
||||||
|
name of Wireguard device to manage
|
||||||
|
-dns string
|
||||||
|
ip:port of DNS server
|
||||||
|
-zone string
|
||||||
|
dns zone name
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user