WireGuard
WireGuard Encrypted VPN TunnelInternet layer · OSI 3Lightweight UDP VPN with single-RTT public-key handshakes
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| Play the first step to capture packets. | ||||||
Overview
A wraps all internet packets inside an encrypted tunnel to a gateway, shielding cafe Wi-Fi traffic and hiding your home IP. runs over UDP using one compact cryptographic suite and two handshake messages.
Built on Noise_IKpsk2 (Curve25519, ChaCha20-Poly1305, BLAKE2s), WireGuard authenticates peers solely via static public keys, uses UDP port 51820 by convention (wg(8) chooses random if omitted), and supports roaming.
Key facts
- Layer
- Internet tunnel over UDP
- UDP port
- 51820 by convention (configurable)
- Handshake
- 2 messages, 1 round trip
- Cipher suite
- Curve25519 + ChaCha20-Poly1305
- Defined in
- WireGuard Whitepaper
All IP packets tunneled via UDP
Two handshake messages created session keys, wrapping every packet inside UDP to the VPN gateway. Beyond the VPN server traffic runs normally onto the internet, so HTTPS still protects end-to-end.
Noise_IKpsk2 key exchange, Type 4 ChaCha20-Poly1305 IP encapsulation, MSS clamping, 25 s NAT keepalives, and automatic endpoint roaming.
- Local sniffers see
- Encrypted UDP -> 192.0.2.51
- Websites see
- The VPN server address
- Beyond VPN exit
- Relies on TLS / HTTPS
- Overhead
- 60 B + 16 B block padding
Try it yourself
Inspect WireGuard tunnel status
View active peer endpoints, latest handshake timestamps, and AllowedIPs on a WireGuard host.
wg show