Protocols
Saved & recent

WireGuard

Also called: WireGuard tunnel, cryptokey routing, AllowedIPs

WireGuard is a VPN protocol and implementation that carries protected IP packets over UDP. Peers authenticate using configured public keys and establish session keys for traffic protection. Each peer is associated with allowed tunnel addresses: these help select the peer for outgoing packets and check source addresses on incoming packets.

For example, a laptop can route a private office subnet through a configured WireGuard peer. Only traffic selected by routing and peer configuration uses that tunnel; other traffic can take another path. Key distribution and user-account management are separate concerns. WireGuard and IPsec are different approaches to network protection, rather than interchangeable names for one protocol.

Read first
Internet Protocol
Related
IPsec, UDP, Routing, Authentication
Further reading
laptop WireGuard peer other destination private subnet route separate route UDP protected inner IP packet tunnel packet peer public key AllowedIPs: private subnet outbound destination inbound source check
Illustrative routing sends the office subnet through a configured WireGuard peer while unrelated traffic uses another route. WireGuard protects inner IP packets over UDP. AllowedIPs selects outbound peers by destination and checks inbound source addresses; private keys are not transmitted.

View in the full Protocols collection