diff options
author | Hristo Venev <hristo@venev.name> | 2019-05-17 19:29:04 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2019-05-18 19:31:47 +0300 |
commit | 780a0076255afb192ffd55d2c3ec46e4b93b0700 (patch) | |
tree | e147efa5ed0f6b274700e62549e87900cd6b106f /README.md | |
parent | 81dc38168d7b0375673067435834146a499b5959 (diff) |
Implement command-line config parsing.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -43,6 +43,18 @@ All IP address ranges from the source URL not entirely contained within the conf The preshared key is applied to all peers defined in a source. If a single peer is defined in multiple sources, only the endpoint and preshared key from a single nondeterministic source are considered, but all IP ranges are allowed (TODO: add some per-pubkey filtering). +Alternative configuration +--- + +There is an alternative configuration mechanism intended for integration with other software: `wgconfd --cmdline INTERFACE ARGS...` + +The arguments are a sequence of global options and sources: + + - `min_keepalive TIME` + - `max_keepalive TIME` + - `refresh_sec TIME` + - `source NAME URL [psk PSK] [ipv4 NET,NET,...] [ipv6 NET,NET,...] [required]` + Source format --- |