← All projects
Project record2 mentions
Originally shared on Hacker News

kith

A free and open source (AGPL) decentralized mesh VPN written in Rust, where every device in the network acts as a self node with no central control plane, supporting internal names (e.g. nas.home.kith.internal), exit nodes, and relays.

Last shared For Homelab users
01 / The problem

What it addresses

Existing controlled VPNs like Tailscale and Headscale each have a control plane that all devices directly connect to; the author wanted a decentralized, control-plane-free mesh VPN for their homelab.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. kith

    A free and open source (AGPL) decentralized mesh VPN written in Rust, where every device in the network acts as a self node with no central control plane, supporting internal names (e.g. nas.home.kith.internal), exit nodes, and relays.

    Problem: Existing controlled VPNs like Tailscale and Headscale each have a control plane that all devices directly connect to; the author wanted a decentralized, control-plane-free mesh VPN for their homelab.

    Audience: Homelab users

    Posted by @laysheth · Original source ↗

    Submitted URL · @laysheth · · Source ↗

    https://github.com/CLoaKY233/kith

    Source text · @laysheth · · Source ↗

    I wanted something where every device in the network can act as a self node, and it'll be a Mesh of devices interconnected. Further it also allowed me to keep internal names like nas.home.kith.internal, and exit nodes, relays... it's free and open source (AGPL), written in Rust

    Source text · @laysheth · · Source ↗

    I was trying out tailscale for my homelab but I didn't really want a control plane. Tailscale, Headscale and others already do the Controlled VPN extremely well, and I've used them. but every one of them has a control plane that all the devices directly connect to.

    Story title · @laysheth · · Source ↗

    Show HN: Can a VPN be decentralised.. I think it's the best for homelabs

  2. kith

    kith is a small mesh VPN built on WireGuard with no coordination server: each network keeps a signed ledger that device copies sync with each other, devices join via invite links, connect directly through NAT with relay fallback through a machine the user owns, and get internal names and exit nodes. Free and open source (AGPL), written in Rust, running on macOS and Linux, with phones and Windows supported through plain WireGuard.

    Problem: Existing mesh VPN solutions like Tailscale and Headscale each have a control plane that all devices check in with; the builder wanted devices to handle coordination themselves with no coordination server and nothing hosted that has to stay up.

    Posted by @laysheth · Original source ↗

    Submitted URL · @laysheth · · Source ↗

    https://github.com/CLoaKY233/kith

    Story title · @laysheth · · Source ↗

    Show HN: small WireGuard mesh VPN with no coordination server

    Source text · @laysheth · · Source ↗

    kith is a mesh VPN on top of WireGuard. the thought behind it was simple: I didn't want any coordination server.

    Source text · @laysheth · · Source ↗

    but every one of them has a control plane that all the devices check in with, and I kept wondering what it would look like if the devices just handled it themselves.

    Source text · @laysheth · · Source ↗

    there's no account to make and nothing hosted that has to stay up, so if one machine goes offline the rest of the network would keep working.

    Source text · @laysheth · · Source ↗

    every network has a small signed ledger: who's a member, who's an admin, which names point where. each device keeps its own copy, and the copies sync with each other.

    Source text · @laysheth · · Source ↗

    adding a device is basically "invite with a link". any member can let a new device in, and once it's in, everyone learns about it from the ledger.

    Source text · @laysheth · · Source ↗

    devices try to connect directly, through NAT, and if that doesn't work they relay through a machine you own (a cheap VPS is perfect for this). nothing goes through a server you don't control.

    Source text · @laysheth · · Source ↗

    on macOS and Linux: - invite links and joining - direct connections, with relay fallback - internal names like nas.home.kith.internal - exit nodes, so your laptop's internet can go out through home or a VPS - phones and Windows through plain WireGuard (scan a QR code or import a config)

    Source text · @laysheth · · Source ↗

    it's free and open source (AGPL), written in Rust, and installs with one line from the readme.

    Source text · @laysheth · · Source ↗

    I wanted my laptop, my home lab and a cheap VPS on one private network.