VPN Config Generator

Generate VPN configs with config file, plain text summary, and QR code for WireGuard, OpenVPN, IKEv2, and more.

Modern UDP VPN. Fast and minimal config.

Connection settings
Config file
[Interface]
PrivateKey = <CLIENT_PRIVATE_KEY>
Address = 10.8.0.2/32
DNS = 1.1.1.1

[Peer]
PublicKey = <SERVER_PUBLIC_KEY>
Endpoint = vpn.example.com:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25
Plain text
VPN connection details
======================
Protocol: WireGuard
Role: client
Server: vpn.example.com
Port: 51820
Client address: 10.8.0.2/32
DNS: 1.1.1.1
Allowed IPs: 0.0.0.0/0, ::/0

Import: save the config file or scan the QR code in the WireGuard mobile app.
QR code

Scan with the WireGuard iOS or Android app to import this client config.

QR code will appear when the config is ready to scan.

About the VPN Config Generator

The VPN Config Generator builds starter configuration files for major VPN protocols: WireGuard, OpenVPN, IKEv2/IPsec (strongSwan), L2TP/IPsec, PPTP, SSTP, and OpenConnect (Cisco AnyConnect compatible). Choose client or server role where it applies, fill in endpoints, credentials, keys, and tunnel networks. You get three outputs: the config file, a plain text summary for sharing, and a QR code that encodes the config for mobile import (WireGuard and other clients that support scanning).

WireGuard includes optional in-browser X25519 key generation so you can produce a key pair without openssl. Other protocols reference certificate paths or EAP credentials you supply. Treat generated secrets as templates: rotate passwords and keys before production use.

PPTP is included for legacy environments but is flagged as deprecated because its encryption is weak. Prefer WireGuard or IKEv2 for new deployments. Everything runs locally; nothing is uploaded.

After deployment, verify DNS and firewall rules with DNS Lookup and confirm TLS on VPN gateways with SSL Checker where HTTPS is used.

Your ad could be here

Reach developers and designers who use these tools every day. Privacy-first, no trackers.

Frequently asked questions

Which VPN protocol should I use?

WireGuard is the modern default for speed and simplicity. IKEv2 suits native mobile clients. OpenVPN is widely supported. Avoid PPTP for anything security sensitive.

Are generated WireGuard keys secure?

Keys are generated with the browser Web Crypto API and never leave your device. Still rotate keys on a schedule and store private keys only on endpoints that need them.

Do these configs work without editing?

They are starting points. You must install packages (wireguard-tools, strongSwan, openvpn, ocserv), adjust interface names, firewall rules, and certificate paths for your OS.

Is my password uploaded?

No. All fields are assembled locally in your browser.

Why is PPTP marked deprecated?

PPTP relies on MS-CHAP and MPPE, which are considered broken by modern standards. It remains in the tool only for maintaining legacy networks.

How do I use the QR code?

The QR encodes the full config file text. On WireGuard mobile, tap + then Create from QR code and scan. Other apps vary; if the config is too long or still has placeholder values, the tool will say so and you can copy the file text instead.

What is the plain text output?

A short human readable summary of server, port, credentials, and protocol specific fields. Use it in tickets or docs when you do not need the full config file syntax.