WireGuard: Difference between revisions
imported>Sjau No edit summary |
imported>Sjau |
||
Line 2: | Line 2: | ||
==Generate keypair== | ==Generate keypair== | ||
Each peer needs to have a public-private keypair. The keys can be generated on any machine that already has Wireguard installed using the < | Each peer needs to have a public-private keypair. The keys can be generated on any machine that already has Wireguard installed using the <code>wg</code> utility. If Wireguard isn't installed yet, it can be made available by adding <code>wireguard</code> to <code>environment.systemPackages</code> or by running <code>nix-env -iA wireguard</code>. | ||
Creating a keypair is simple: | Creating a keypair is simple: |