r/coolgithubprojects • u/cwefelscheid • 3d ago
meshvpn: a mesh VPN with no coordination server, with a terminal console for all your machines (Rust)
meshvpn connects your machines into one private network without a central server. Nodes find each other through gossip and relay for each other when two machines can't connect directly, so any node can go down and the rest keeps working.
What's in the screenshot: running meshvpn opens a console with every node, how it's reached (direct, direct UDP over IPv4/IPv6, or relayed through another node), latency and free GPUs. Press Enter and you get a shell on that node in a new tab. Names and IPs are demo data.
- Each node gets a 100.x IP and a
name.meshhostname - NAT traversal over UDP and IPv6, with an end-to-end encrypted relay as fallback
- Optional BitTorrent DHT rendezvous (off by default): nodes find each other again after an IP change, no DynDNS needed
- Single static binary, Apache 2.0
Tested with two laptops on two different 5G hotspots, both behind CGNAT, with no server: with the DHT on, they connected directly over IPv6.
It's pre-1.0, and Linux gets the most testing.
GitHub: https://github.com/PlugOvr-ai/meshvpn
Website: https://meshvpn.dev