aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6825847..a11f8a0 100644
--- a/README.md
+++ b/README.md
@@ -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
---