Why it matters
WireGuard is simple once it's running, but the first config means generating keys on the right machine, numbering addresses and matching AllowedIPs on both ends.
Keys are made with the X25519 maths in this page, from your browser's secure random generator, and never sent anywhere.
How to use it
- Type or paste your input; the example shows the format.
- Press Generate configs. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
Is it safe to generate keys in a browser?
The keys come from crypto.getRandomValues, the same generator browsers use for TLS, and nothing leaves this page. For the most sensitive set-ups, generate the server key on the server with wg genkey and paste it here to derive the public key.
Full tunnel or split tunnel?
Full tunnel (0.0.0.0/0, ::/0) sends all traffic through the VPN. Split tunnel sends only the VPN subnet, so normal browsing stays on the local connection.
Why PersistentKeepalive?
Peers behind NAT (phones, home routers) need a packet every 25 seconds or so to keep the mapping open so the server can reach them.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.