Connected but nothing loads: MTU, DNS and handshake checks
A calm checklist for a WireGuard tunnel that shows as up while pages do not open: handshake, DNS, MTU, routing and keepalive behind NAT.
A plain-language tour of WireGuard: interface, private and public keys, peers, allowed addresses and the short handshake that sets up encryption.
Prepared with the help of AI from public sources and checked against them; the sources are listed at the end. How we write
In brief
WireGuard is a VPN tunnel protocol that is described as fast and modern. Its design is deliberately simple, which makes it a good protocol to learn from. This article explains the main building blocks in plain words.
WireGuard wraps IP packets and carries them over UDP. On each device you set up an interface. The interface has its own private key, which stays on that device, and it knows the public keys of the other devices it talks to.
Think of it like a lock and a key: the public key can be shared so others can recognise you, while the private key is never handed out. The protocol itself does not cover how public keys get from one side to the other. That is left to you or to the software you use.
A peer is another device that your interface exchanges traffic with. Each peer is identified by its public key. The central idea is called Cryptokey Routing: every peer's public key is associated with a set of tunnel addresses that are permitted inside the tunnel.
This works in two directions:
So a peer cannot send traffic that claims to come from an address it was not assigned. Endpoints can also roam: the latest authenticated source address of a peer is remembered, so a device that changes networks can keep talking.
Before data flows, the two sides run a short handshake based on the Noise_IK pattern from the Noise framework. It establishes symmetric keys, and these keys are rotated regularly. According to the protocol description, the key exchange provides perfect forward secrecy, which means that a later key compromise should not expose earlier sessions. It also provides identity hiding and avoids key-compromise impersonation and replay attacks.
An optional pre-shared key can be mixed in as an additional symmetric layer. The documentation gives post-quantum resistance as one example of why you might add it.
The project uses a fixed set of primitives:
The design aims to need very few lines of code, so it is easier to audit than large codebases such as IPsec implementations or OpenVPN with OpenSSL.
Spotted an error? Write to us
A calm checklist for a WireGuard tunnel that shows as up while pages do not open: handshake, DNS, MTU, routing and keepalive behind NAT.
OpenVPN 2.7.10 was published on 2 December 2026. The notes list allocation checks, wiping of key material and DCO fixes. Here is what to review.
The author of WireGuard has begun modernising the protocol for a future WireGuard 2 branch. Here is what the report says and what users can sensibly do.
We use cookies and browser storage to remember your language, theme and sign-in to your account. Learn more in our Privacy Policy.