7917dc501b29fbbc01134a488beeadbef1f04c41
howto/wireguard.md
| ... | ... | @@ -23,6 +23,8 @@ ListenPort = <YOUR_LOCAL_UDP_PORT> |
| 23 | 23 | |
| 24 | 24 | [Peer] |
| 25 | 25 | PublicKey = <public_key_of_your_peer> |
| 26 | +# OPTIONAL, its also possible to define a pre-shared key for additional security |
|
| 27 | +PresharedKey = <pre-shared key> |
|
| 26 | 28 | # at least one peer needs to provide this one |
| 27 | 29 | Endpoint = <end_point_hostname_or_ip:port> |
| 28 | 30 | # in theory this could be restricted to dn42 networks, |
| ... | ... | @@ -109,6 +111,8 @@ ListenPort=<your listen port> |
| 109 | 111 | |
| 110 | 112 | [WireGuardPeer] |
| 111 | 113 | PublicKey=<peer public key> |
| 114 | +# OPTIONAL, pre-shared key |
|
| 115 | +PresharedKey=<pre-shared key> |
|
| 112 | 116 | Endpoint=<peer host and port, e.g. 1.2.3.4:9876> |
| 113 | 117 | AllowedIPs=fe80::/64 |
| 114 | 118 | AllowedIPs=fd00::/8 |