Skip to content
Snippets Groups Projects
Commit 87c7d0bc authored by Florian Sesser's avatar Florian Sesser
Browse files

Add docs on how to create a VPN client private and pubkey in one line

parent f0794576
Branches
No related tags found
3 merge requests!101Merge staging into production,!100Merge develop into staging,!87Add monitoring VPN modules and config
...@@ -12,6 +12,8 @@ in { ...@@ -12,6 +12,8 @@ in {
default = /run/keys/monitoringvpn/client.key; default = /run/keys/monitoringvpn/client.key;
description = '' description = ''
File with base64 private key generated by <command>wg genkey</command>. File with base64 private key generated by <command>wg genkey</command>.
Shorthand to create private and public key:
<command>wg genkey | tee peer_A.key | wg pubkey > peer_A.pub</command>
''; '';
}; };
presharedKeyFile = lib.mkOption { presharedKeyFile = lib.mkOption {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment