Skein Private mesh · Computer Networks

Chapter 01

Loading presentation

A 13-chapter animated explainer. Use the transport controls or keyboard shortcuts to play to the next stop.

Ready Chapter 01 Press → or Play to move to the next stop.
00:00 / 00:00 Before first stop

Stops in this chapter

0 stops

    Loading film…

    Explore

    Two ideas you can test

    Send packets through a NAT boundary, then explore how encapsulation changes what fits on a path.

    Hands-on activity · NAT vs CGNAT

    Why can I browse, but my friend cannot join?

    Follow a packet through your router, then add the ISP’s translation layer. A friend always targets your public IPv4; the private address 192.168.1.24 only works inside your LAN. Try port forwarding on the same home router in both cases.

    Home NAT lets multiple devices share your router’s public IPv4. You control this router, including its port-forwarding rules.

    Packet path through home NAT and optional carrier-grade NAT A laptop at private address 192.168.1.24 reaches a public server through a home router whose public IPv4 is 203.0.113.7. Inbound packets target that public address and reach the private laptop only after a translation or port-forward rule. In CGNAT mode, the ISP adds a second translation layer that the subscriber does not control. Your laptop 192.168.1.24 Home NAT No mapping Internet peer 198.51.100.10 Choose a packet to send
    Source translation table

    Empty — no outbound flow yet.

    No remote endpoint is permitted to send a reply.


    Home port-forward rule

    Port forwarding is off.

    Predict first: will a server reply reach the laptop before it sends anything?

    What normal users notice

    Web browsing and most streaming work because your device starts the connection. Hosting a game, accessing a camera remotely, or accepting a direct connection may fail under CGNAT. Some peer-to-peer apps need a relay; shared IPv4 reputation can also mean more CAPTCHAs.

    Why your router cannot fix it

    A home port-forward changes only your router. Under CGNAT, the incoming packet reaches the ISP first; without an ISP mapping, it never reaches that home rule. Changing DNS or using UPnP on your router alone cannot force the ISP to forward it.

    Alternatives, not a magic bypass

    Ask the ISP for public IPv4 or supported port allocation. Use end-to-end IPv6 when available, with firewall permission. Or make an outbound tunnel to a reachable relay/VPS. UDP hole punching can work on compatible NATs, but is not guaranteed. An ordinary VPN only helps inbound hosting if it offers a suitable inbound route or port forwarding.

    Simplified UDP model with endpoint-dependent reply filtering; not a live network or a complete browser protocol simulation. Normal browsers usually use TCP/QUIC, which also establish outbound state. Port 25565 represents a hypothetical UDP game service that is running and allowed by the host firewall. ISP mapping policies vary; CGNAT is not encryption and not absolutely unbypassable. 100.64.0.0/10 is ISP shared address space, not RFC 1918 private LAN space. Address-space reference ↗

    Interactive · Encapsulation

    What fits on the path?

    Skein adds 54 bytes, then UDP and the outer IP header. Change the path MTU and the inner packet to see what fits.

    1500 B
    1200 B
    Encapsulated packet size A bar shows the inner packet plus Skein, UDP and outer IP overhead against the path MTU. Path MTU 1500 B On the wire 1282 B

    Fits: 1,282 B on the wire, 218 B of path MTU left.

    On the wire
    1282 B
    Path headroom
    218 B
    Max inner
    1418 B

    Desktop tunnels can raise their MTU within supported limits; Android keeps a fixed MTU for each VPN connection. Probes find the path, not a guess.

    Reference

    Keyboard shortcuts

    →PageDown
    Play to the next checkpoint and hold
    ←PageUp
    Pause and return to the previous checkpoint
    SpaceK
    Pause or resume toward the next stop
    R
    Replay the current segment
    F
    Fullscreen
    P
    Switch Present / Explore
    B
    Blackout; press again to restore the previous state
    M
    Mute or unmute
    ?
    This help
    Esc
    Leave blackout or fullscreen

    Shortcuts are ignored while a button, slider, select, link, or text field has focus. Click the film to play or pause.