🔐 WireGuard Key Pair Generator

基于浏览器内置 Web Crypto API 生成 Curve25519 密钥对,全程本地运算,密钥不会离开你的设备。


Instructions

  1. Click "Generate New Key Pair" and the browser generates it locally using the Curve25519 algorithm.
  2. Put the private key into your local config under [Interface] PrivateKey =.
  3. Send the public key to your peer, and put it in their [Peer] PublicKey =.
  4. Each side configures the other's public key plus the allowed IP range, then they can handshake.
📖
Complete WireGuard tutorial: access NAS from home From key generation to PostUp rules, including mobile config
View Tutorial