Free tools · Client-side WireGuard builder
WireGuard config & key generator
Generate X25519 private/public keypairs, 256-bit preshared keys, and matched client & server wg0.conf files directly in your browser — zero keys ever leave your device.
# Generated locally in your browser — private key never transmitted [Interface] PrivateKey = Address = 10.66.66.2/32 DNS = 1.1.1.1, 9.9.9.9 MTU = 1420 [Peer] PublicKey = Endpoint = 198.51.100.10:51820 AllowedIPs = 0.0.0.0/0, ::/0 PersistentKeepalive = 25
# Server / Relay /etc/wireguard/wg0.conf [Interface] PrivateKey = Address = 10.66.66.1/24 ListenPort = 51820 MTU = 1420 [Peer] PublicKey = AllowedIPs = 10.66.66.2/32
Skip maintaining iptables/nftables on a relay VM — PrivateByte Gateway routes a dedicated public IPv4 in Dallas, London, or Amsterdam straight to your WireGuard peer from $3/mo, or deploy your own WireGuard VPS from $5.99/mo.
Common questions
Are WireGuard private keys generated here ever sent to a server?
Never. Entropy comes directly from window.crypto.getRandomValues(new Uint8Array(32)) inside your browser tab, and the matching Curve25519 (RFC 7748 X25519) public key is computed client-side in JavaScript. You can disconnect from Wi-Fi and click Regenerate Keys to verify.
Why does the 5G / T-Mobile preset set MTU = 1380 instead of 1420?
Standard Ethernet/fiber WireGuard uses MTU 1420, whereas 5G Fixed Wireless networks (such as T-Mobile Home Internet) encapsulate IPv4 inside IPv6 via 464XLAT. Lowering MTU to 1380 avoids packet fragmentation and stalled TLS handshakes.
When do I need PersistentKeepalive = 25?
Whenever the client sits behind Carrier-Grade NAT (Starlink, 5G, hotel Wi-Fi, or residential CGNAT) and expects to receive inbound connections from the server or internet. A 25-second keepalive prevents the ISP NAT table from expiring idle UDP state.