WireGuard / OpenVPN Config Auditor
Your VPN config is a secrets file. Audit it where it cannot leak: in your own browser.
A VPN config audit is a static review of a WireGuard or OpenVPN configuration file — its keys, ciphers, authentication and tunnel scope — checked against known-good practice before the file is trusted. Paste a .conf or .ovpn here and this auditor reads it in your browser — never uploaded — and flags malformed keys, weak ciphers such as BF-CBC and DES, SHA1 authentication, compression that enables VORACLE, a missing tls-crypt and a missing remote-cert-tls, with a 0–100 score. The companion article WireGuard and OpenVPN config audit guide explains each check. Also see the SSH Server Config Auditor and the File Encryptor.
Last updated:
1. Audit your config
Results
🔒 The audit runs entirely in your browser: your config is never uploaded, never stored, and never sent anywhere. A VPN config contains PRIVATE KEYS — never paste one into a website that uploads it. This one does not: findings and exports show field names and lengths only, never key material.
Two formats, two very different shapes
WireGuard configs are small on purpose: an [Interface] section (this machine's private key, address, DNS) and one [Peer] section per other side (its public key, the networks it speaks for in AllowedIPs, and where to reach it in Endpoint). There is almost nowhere for risk to hide — the whole audit surface is keys, tunnel scope and keepalive behaviour.
OpenVPN configs are the opposite: a long tail of directives accumulated over two decades — cipher, auth, tls-auth or tls-crypt, compression switches, certificate checks, script hooks, a management interface. Most directives are harmless; the risk lives in a handful of legacy lines (comp-lzo, auth SHA1, BF-CBC) that old guides still copy from config to config.
The auditor auto-detects the format from the text — section headers mean WireGuard, directive lines mean OpenVPN — and the three buttons above the input let you force a format when a file is ambiguous. A config summary table lists the sections, peers and directives that were read, so you can see exactly what the audit saw.
Key handling deserves its own paragraph. WireGuard keys are validated by FORMAT only — base64, exactly 44 characters — and the auditor never prints key material: findings and exports show the field name and the length (for example “PrivateKey (44)”), and inline OpenVPN key blocks are counted, not read out. If any tool — this one included — ever displayed your private key back to you in a report, that report would itself become a secret to protect.
What this auditor does — and what it does not
It parses the pasted text in your browser and runs the curated rule set over it: for WireGuard, key presence and format, Address and Endpoint completeness, DNS and MTU notes, preshared-key and keepalive posture, and the tunnel scope implied by AllowedIPs; for OpenVPN, cipher strength, the auth digest, compression (VORACLE), control-channel protection, server-certificate verification, credential shape, the management interface, script-security and conflicting duplicates. Scoring starts at 100; each error deducts 10 (capped at 40), each warning 4 (capped at 32), each info 1 (capped at 10). Bands: 90+ Excellent, 70–89 Good, 50–69 Needs work, below 50 Poor.
Some findings are notes, not faults, and are scored as infos on purpose. A private key present in [Interface] is expected — the note exists because it makes the file a secret. AllowedIPs is reported either way — full tunnel or split tunnel — because both are legitimate choices; the finding records which one this file makes. persist-key / persist-tun are likewise noted, not condemned.
The demos are synthetic — every key is a fake throwaway string. The WireGuard demo client scores 97 with exactly 3 notes (private key present, full tunnel, no preshared key); its hardened twin adds the preshared key and scores 98, the two standing notes remaining. The OpenVPN demo plants comp-lzo, auth SHA1, a CBC cipher, no tls-crypt and no remote-cert-tls and scores 66 with 7 findings; its hardened twin satisfies every rule and scores 100.
Be honest about what a config file cannot prove
This audit reads the file, not the tunnel. It cannot see the server side of the config, the firewall rules around it, whether the keys were exchanged safely in the first place, or whether this file is the one the client actually loads. A config can audit perfectly and still belong to a tunnel whose server is misconfigured or whose keys were copied through a chat window last year.
And a perfect score is not a security guarantee: it means no risky pattern from this rule set was found in this text. Endpoint compromise, a malicious or compelled VPN provider, and traffic correlation all live outside anything a config file can say. Treat the score as a triage order for your own review, not as a verdict on the tunnel.
Key facts
| PrivateKey (WireGuard) | This machine's secret identity key. Whoever holds it can impersonate the client — which is why the config file is a secret and why this auditor reports only the field name and length. |
| AllowedIPs | The prefixes a peer speaks for. 0.0.0.0/0 plus ::/0 means a full tunnel (everything goes through the VPN); a shorter list means a split tunnel (only those networks do). |
| PresharedKey | An optional symmetric key shared by both ends on top of Curve25519 — defence in depth that stays strong even if the asymmetric layer weakens; the usual post-quantum hedge for WireGuard. |
| tls-crypt | OpenVPN's control-channel wrapper: a shared static key encrypts and authenticates the TLS control channel before the handshake, so the server ignores unauthenticated probes entirely. |
| VORACLE | The 2018 attack on compressed VPN traffic: when plaintext is compressed before encryption, an attacker who can influence the plaintext and watch ciphertext sizes can recover secrets byte by byte. Any compression directive in an OpenVPN config is its precondition. |
| remote-cert-tls | The client-side check that the certificate it is shown actually belongs to a server (server extended key usage) — without it, any client certificate from the same CA can impersonate the server. |
| Format reference | WireGuard quickstart — wireguard.com |
Frequently asked questions
Why does the audit run in my browser instead of on a server?
Because a VPN config contains private keys. Uploading it to a website to have it audited would hand the keys to that website — the audit would create the exact exposure it is meant to check. Parsing locally means the config never leaves your machine, and the findings never contain key material at all: field names and lengths only.
Why does the hardened WireGuard demo score 98, not 100?
Two findings are standing notes rather than faults: a private key is present in [Interface] (expected — but it makes the file a secret) and AllowedIPs describes a full tunnel (a deliberate choice). Both are recorded as infos at −1 each so the report shows the choices the file makes. A WireGuard config with a key in it can therefore top out at 99 minus its tunnel note — the score is a triage order, not a purity grade.
My OpenVPN config has an inline <key> block. Is that a problem?
Not cryptographically — but it makes the single .ovpn file a complete credential: whoever copies the file has the key. Treat it like a private key file (owner-only permissions, no commits, no chat or email), prefer separate key files where your client allows it, and rotate the key if the file has ever been shared more widely than intended.