WireGuard: Difference between revisions

m Adding peers to the server configuration: Corrected configuration file, added italics
m Generate a public/private key pair: Changed created to generated
Line 116: Line 116:
=== Generate a public/private key pair ===
=== Generate a public/private key pair ===


* We will create a public/private key pair much the same way as we did for the server:
* We will generated a public/private key pair much the same way as we did for the server:
  wg genkey | tee client-privatekey | wg pubkey > client-publickey
  wg genkey | tee client-privatekey | wg pubkey > client-publickey
** The name <code>client</code> for the file name can be changed to anything you like for convenience.
** The name <code>client</code> for the file name can be changed to anything you like for convenience.