From f77d26963760b3fb8bb770673b61bd4bf667206e Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Thu, 17 Sep 2020 19:14:39 +0000 Subject: Documentation fix --- README.md | 2 +- man/wgconfd.5.scd | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6a5877d..8845df0 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit