WireGuard: protocol guide / panduan protokol
Establish a peer tunnel with a compact authenticated handshake.
Bangun tunnel peer melalui handshake autentikasi ringkas.
Communication walkthrough / Alur komunikasi
- Handshake initiation
A peer initiates the Noise-based handshake using configured peer keys.
Peer memulai handshake berbasis Noise memakai kunci peer terkonfigurasi.
- Handshake response
The response establishes fresh transport keys and receiver indices.
Respons membentuk kunci transport baru dan receiver index.
- Transport data
An authenticated encrypted inner IP packet travels through the tunnel.
Paket IP dalam yang terenkripsi dan terautentikasi melewati tunnel.
- Transport reply
The reverse direction uses its own counter; WireGuard has no TCP-like data ACK.
Arah balik memakai counter sendiri; WireGuard tidak memiliki ACK data seperti TCP.
Source and simulation scope
This is a simplified, deterministic teaching scenario. Timing is illustrative. Messages grouped within one event are explicitly condensed. Hexadecimal fixtures, where shown, contain only the indicated protocol ADU, not a full network capture. No PCAP files are supplied.
WireGuard · technical reference ↗