diff options
author | Hristo Venev <hristo@venev.name> | 2020-09-17 19:14:39 +0000 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2020-09-17 19:14:39 +0000 |
commit | f77d26963760b3fb8bb770673b61bd4bf667206e (patch) | |
tree | 29a19db827451ff264296897d1bebe6bbde46b5a | |
parent | 64416ad648252d651b68cdd221846d3f881304d0 (diff) |
Documentation fix
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | man/wgconfd.5.scd | 10 |
2 files changed, 3 insertions, 9 deletions
@@ -56,7 +56,7 @@ It is possible to override some options for a specific public key, and/or to res [peer."yIOdSFrFQ1WPYS6IUWCsRjzw2Iqq0HMcyVVEXu5z+nM="] source = "remote2" endpoint = "[2001:db8::6]:10656" -psk = "QJmzt2PpKx8g98qrOtsNR4tB1bik+fMSabNNXCC5OUU=" +psk = "/path/to/psk/file" keepalive = 20 ``` diff --git a/man/wgconfd.5.scd b/man/wgconfd.5.scd index 15c19e9..aaaf5a6 100644 --- a/man/wgconfd.5.scd +++ b/man/wgconfd.5.scd @@ -91,13 +91,7 @@ Sources are defined in *[[source]]* sections. The following options are availabl # PEER SECTIONS In some cases one may want to override some settings for individual peers. -This can be achieved through *[[peer]]* sections: - -*public_key* - The public key of the peer for which the overrides apply, as a base64 - encoded string. - - Required. +This can be achieved through *[peer."public_key"]* sections: *source* If specified, ignore attempts by other sources to define this peer. Note @@ -124,5 +118,5 @@ This can be achieved through *[[peer]]* sections: Default: the keepalive value from the source, or infinite if not set, restricted by *min_keepalive* and *max_keepalive* -Note that having a *[[peer]]* section is not enough to create a peer - it must +Note that having a *[peer.*]* section is not enough to create a peer. It must also exist in one of the sources. |