WireGuard Config Generator
Generate a production-ready WireGuard server + client config in seconds. Real cryptographic keys generated locally in your browser. Nothing ever leaves your device.
All keys are generated in your browser (Curve25519 / X25519). Nothing is sent to our servers — your config stays 100% private.
How to use this generator
- 01
Fill in the form
Enter your server's IP or domain, listening port (default 51820), VPN subnet, DNS resolver and the number of clients.
- 02
Click Generate
Real Curve25519 key pairs are generated in your browser using WebCrypto. Nothing is sent to our servers.
- 03
Deploy the server config
Copy or download wg0.conf. On your VPS: sudo cp wg0.conf /etc/wireguard/ && sudo wg-quick up wg0. Enable on boot: sudo systemctl enable wg-quick@wg0.
- 04
Deploy client configs
Copy each client.conf to the client device, or scan the QR code with the WireGuard mobile app.
Why self-host your own VPN?
Commercial VPN providers hold your traffic logs, share jurisdictions with surveillance alliances and can disappear overnight. With a self-hosted WireGuard VPN on a €4.99/mo Contabo VPS, you own the exit IP, the keys never leave your machine, and you operate under GDPR (Germany) rather than CLOUD Act jurisdiction.
Host your WireGuard VPN on Contabo
A Contabo Cloud VPS S (4 vCPU, 8 GB RAM, unlimited bandwidth) is plenty for 10+ WireGuard tunnels. €4.99/mo on a 24-month plan — German datacenter, GDPR jurisdiction, dedicated IPv4.
Get Contabo VPS S →Affiliate link — we earn a commission at no extra cost to you.