Skip to content
Back — Network & Security
Network & Security

WireGuard Config Generator

Generate a complete WireGuard client and server configuration locally — including key pair.

Generate config
Note: these keys are generated locally in the browser (not real Curve25519 — see FAQ). For production use, generate real keys with "wg genkey" on the server.
Client configuration (client.conf)
[Interface]
PrivateKey = rjCzvlVaHVbd8Dw7BDOPRbl2m65ryNj9VZIdpY2/E3o=
Address = 10.8.0.2/32
DNS = 1.1.1.1

[Peer]
PublicKey = jzVkgrk6YWRnFhMRZLUQncSBndVI+P/L2jh8x+5tpXc=
Endpoint = vpn.example.com:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25
Server configuration (server.conf excerpt)
[Interface]
PrivateKey = <SERVER_PRIVATE_KEY>
Address = 10.8.0.1/24
ListenPort = 51820

[Peer]
# Client
PublicKey = 1ribWGWKrO7LTXeEn/DuJiaCeaQe5aFmjJjSaMpSCjQ=
AllowedIPs = 10.8.0.2/32

How it works

1

Enter network details

Set the server endpoint, port and client address.

2

Generate key pair

Generate a random example key pair.

3

Copy the configuration

Copy the client and server configuration.

Benefits

✓
Free
✓
100% local
✓
No registration
✓
GDPR Friendly

Good to know about this tool

What does this tool do?

Creates a complete WireGuard client and server configuration template with an example key pair, serving as a starting point for a real VPN setup.

Why does it exist?

Because manually assembling a WireGuard configuration is error-prone, and a ready-made template saves time.

Typical use cases
  • Create a quick starting point for a new WireGuard VPN
  • Prepare a client configuration file for employees
  • Understand the structure of a WireGuard configuration
Best practices & notes
  • Always generate real keys with "wg genkey" on a trusted system, never use the example keys generated here in production
  • Never send private keys via email or chat
  • Keep AllowedIPs as narrow as possible when a full tunnel isn't needed

Frequently Asked Questions

Are the generated keys real WireGuard keys?

No. For security and compatibility reasons, no real Curve25519 is computed in the browser here — the values are placeholders for the configuration structure only. Generate real keys with "wg genkey".

Is my data transmitted?

No, all inputs and keys stay entirely in the browser.

Disclaimer

The information, templates, scripts, calculations and recommendations provided are intended for educational and assistance purposes only. Always review and test any generated result before production use. IT Smart Service accepts no liability for misuse, data loss, outages, security incidents, or legal, financial or technical damages arising from incorrect or improper use. Responsibility for validation, testing and deployment decisions rests with the user.

Was this tool helpful?
Advertisement

Need professional IT support?

Our team can help if the free tool is not enough for your project.