Wireguard
Properties
- logseq-entity
- Logseq/Entity/Concept
WireGuard
Overview
Context
- It began on Linux and now runs on Windows, macOS, BSD, iOS and Android. The kernel components are licensed GPLv2. [1]
- Tailscale builds its Tailscale/Tailnet on WireGuard, using the userspace Go implementation
wireguard-go, and adds key distribution, sign-in, NAT traversal and access control around it. [2]
Key Principles
- Small and opinionated. One fixed set of modern primitives instead of negotiated cipher suites: Curve25519, ChaCha20, Poly1305, BLAKE2, SipHash24 and HKDF, arranged with the Noise protocol framework. [1]
- Peers identified by public keys. Each peer holds a private key and lists the public keys of the peers it will accept. Packets are encrypted to a peer's public key and sent to its endpoint. [1]
- Roaming. A peer's endpoint can change, for example when a laptop switches between networks, without rebuilding the tunnel. [1]
Mechanism
Misconceptions
Footnotes