Real-time 3D · blueprint · 2 min 37 s · narrated

How NAT traversal works, in 3D

Bea’s laptop is at home and Servo is a server in the cloud, and each hides behind a router that won’t let strangers in. See how they learn their public addresses, pass notes through a go-between, punch through both routers at once, and fall back to a relay when that fails. Then see how Tailscale does it for whole machines, and WebRTC for a single app, even a browser tab.

0:00 / 2:30
Read the full narration

Space plays and pauses. The arrow keys skip five seconds. The addresses are examples from ranges reserved for documentation (and Tailscale’s 100.64.0.0/10 range); the test numbers and the log format come from a real run of the chatixia mesh sidecar, with the addresses replaced.