WireGuard Key Generator

Generate a Curve25519 private/public/preshared key triplet for a WireGuard tunnel.

cKujahEsqruIrvBDwiXLa4VNqaNS7dcoONUTWCg2MxA=
gwUUDvwNT6I5RPbFKlwTHkFeW4Jh5ZMQRlaJJxRchXA=
btf7SLzTwJdwKRDKLoWchJyFDa7VQ495tuLjrXeZh3k=
[Interface]
PrivateKey = cKujahEsqruIrvBDwiXLa4VNqaNS7dcoONUTWCg2MxA=
Address = 10.0.0.2/32

[Peer]
PublicKey = <peer-public-key>
PresharedKey = btf7SLzTwJdwKRDKLoWchJyFDa7VQ495tuLjrXeZh3k=
AllowedIPs = 0.0.0.0/0
Endpoint = vpn.example:51820
Public key is derived from the private key via X25519 (Curve25519 scalar multiplication of the base point), the standard WireGuard primitive.
An unhandled error has occurred. Reload ×