Free tool, no account

WireGuard config checker

Paste a wg0.conf or a client file: every line wg-quick will refuse or misroute, with the fix.

Configurationwg0.conf or client .conf

Analysed locally. Your configuration and keys are not sent. Privacy and telemetry

Server or client file, with or without comments.

Diagnosticwaiting for a file

Your diagnostic will appear here: a count of errors and warnings, then each problem with its consequence, a fix you can copy and a button that selects the line in your file.

See a sample report (broken example, not your file)
  • Error [Peer] laptop, line 10
    On a server, AllowedIPs 10.8.0.2/24 overlaps the phone's 10.8.0.3/32; a single client address is usually /32.
  • Warning [Interface], line 5
    MTU = 1500 on a standard 1500 link fragments once WireGuard adds its headers; 1420 is the usual value.
  • Passed keys
    3 keys of 44 base64 characters, 32 bytes each.

Handshake did not complete? Check the server and the client together

One file can be valid and the pair still broken. Paste both: the page derives each side's public key from its PrivateKey and checks that the server lists the client, that the client points at this server, the PresharedKey, the client address against AllowedIPs and the port. It runs in this page, nothing is uploaded.

What it checks

Symptoms it explains: handshake never completes, connected but no traffic, works on Wi-Fi but not on mobile data, sites that load halfway. On a server file it also adds a peer: next free IP, fresh keys, the server block, the client file and its QR code. Eight groups of rules, read from the wg-quick and wg(8) behaviour:

Keys

Each PrivateKey, PublicKey and PresharedKey must be 44 base64 characters that decode to 32 bytes. A key cut by a terminal or a chat app fails here, and so does a private key pasted where the other side's public key goes.

Unknown keys and sections

wg-quick refuses the whole file on a single typo ("AllowdIPs", "[Peers]") or a key in the wrong section, such as Endpoint under [Interface].

Overlapping AllowedIPs

On a server, the same range on two peers keeps one owner: the peer loaded last takes it, the other one keeps its handshake but receives nothing. A range nested in another (10.8.0.2/24 next to 10.8.0.3/32) still routes by longest prefix, but every address of the /24 without its own line goes to that one peer. Measured on a Linux 6.8 kernel.

Duplicate peers

The same PublicKey listed twice keeps only one entry, so one device can never connect.

Endpoint

A client needs Endpoint = host:port to start the handshake. An Endpoint on a private address (192.168.x.x, 10.x.x.x) only works from inside that network.

MTU

Over an IPv4 endpoint a too large MTU gets fragmented and still works, only slower. Over IPv6, routers never fragment: with 1420 behind a 1492 PPPoE link and ICMPv6 filtered, large transfers stall (SSH freezes after login). 1412 fits. Below 1280, IPv6 breaks.

Leaks in full tunnel

0.0.0.0/0 without ::/0 lets IPv6 traffic bypass the tunnel. A full tunnel without a DNS line keeps sending lookups to the local resolver.

Server hygiene

Missing ListenPort (random port at each start), DNS on the server (it rewrites the server's own resolver), SaveConfig = true (hand edits overwritten), the NAT interface name in PostUp.

Limits, local routes and privacy

The checker reads text, never your network.

Full tunnel, but the printer and the NAS must stay local?

WireGuard has no exclude option: AllowedIPs has to list every block you want routed. The AllowedIPs calculator subtracts your LAN (or any address) from 0.0.0.0/0 and ::/0 and gives you the line to paste.

What it cannot see

A file can be perfect and the tunnel still down. The checker does not know whether UDP port 51820 is open in your firewall or cloud security group, whether net.ipv4.ip_forward is on, or whether the keys of the two sides match (paste both files in the pair check for that). If the file passes, check those next, and run wg show on the server: a "latest handshake" line tells you the keys and the port are right.

Privacy and telemetry
  • Stays in this page: the whole file, private keys included. The check runs in this page's JavaScript.
  • Counted: that a check ran, with the file type and a rough peer count. No content, no IP address.
  • Sent only if you import it into WireGuard Manager: the file, over HTTPS, keys stored encrypted (AES-256-GCM).