ungovernable.tech

[ DEEP DIVE ][ OFF-GRID AND MESH NETWORKS ][ IDENTITY, SOCIAL AND TRUST ]

Nostr VPN

Also nvpn, NostrVPN.

Tailscale-style private mesh VPN built on Nostr cryptographic identity + FIPS mesh data plane. No central coordination servers, no third-party accounts, no email sign-up. Your npub is your identity and address across social and networking planes.

Experimental updated 2026-10-25 4 min read
Contents

What it is and why it matters

Nostr VPN (by Martti Malmi, early Bitcoin contributor) applies Bitcoin/Nostr design principles (permissionless, self-sovereign keys, no trusted third parties) to the VPN / overlay networking problem.

Traditional VPNs: central server (or Tailscale-style coordination server + third-party auth like Google/Microsoft) sees metadata or becomes a subpoena target / single point of failure / censorship vector.

Nostr VPN eliminates the central coordination point: - Identity: pure Nostr keypair (npub). No registration, no email. - Discovery / signaling / NAT traversal: via public Nostr relays using encrypted gift-wrapped messages (NIP-17 style patterns). - Data plane: the project’s FIPS implementation for encrypted mesh routing, with direct connections when available and routing through FIPS neighbors otherwise. See FIPS. - Data-plane implementation: the project maintains its own FIPS implementation; WireGuard support is for upstream egress. - Fallback: Nostr-based multihop routing when direct NAT hole-punching fails.

Result: a private mesh that "just works" for your devices (and friends' devices) using only keys you already control for Nostr.

Native apps / packages for macOS, Linux, Windows, Android; CLI (cargo install nvpn); Umbrel and StartOS packages. Active releases into mid-2026.

Architecture highlights

  • Two encryption layers: FIPS hop-by-hop (peers on the mesh) + independent E2E between your endpoints.
  • MagicDNS and simple management UX in the apps.
  • Peer discovery and route setup orchestrated via Nostr relays (censorship-resistant signaling).
  • When internet is available it provides global mesh reach; when constrained it can leverage whatever transports FIPS supports (subject to the VPN implementation’s transport support).
  • Exit nodes and "paid exit" experiments exist but core is private LAN-style mesh between your nodes.

It turns your self-hosted services (Umbrel node, homelab, laptops) into a sovereign Tailscale replacement.

Trade-offs

Strengths (sovereignty angle)

  • No company, no account, no central anything that can log, block, or be compelled.
  • Single keypair works for Nostr social + this mesh (composes beautifully with Nostr and FIPS).
  • Works across platforms + self-hosted app stores (Umbrel/StartOS).
  • Graceful fallback via Nostr multihop.
  • Open source (MIT per releases), driven by cypherpunk ethos.

Limitations

  • Still younger than Tailscale/WireGuard ecosystems (fewer polished enterprise features, smaller node count for relay density in some regions).
  • Performance depends on FIPS mesh quality + relay latency for signaling; not a drop-in for high-bandwidth always-on corporate use yet.
  • Requires Nostr relay connectivity for initial discovery / certain fallbacks (though once peered, direct paths dominate).
  • iOS public availability lagged behind other platforms in early releases (TestFlight betas existed).

Attack surface & trust model

  • Adversary at relays: sees only encrypted gift-wrapped discovery traffic (Nostr-side privacy applies). No data plane visibility.
  • FIPS mesh peers: encryption protects payloads but does not by itself eliminate traffic correlation through timing and volume.
  • Endpoint compromise: same as any WG-based VPN — keys on device.
  • Nostr key compromise: catastrophic for both identity and this mesh (single keypair design).
  • Sybil / spam in discovery: mitigated by Nostr WoT patterns and gift-wrapping; rate limits apply.
  • Quantum: inherits from secp256k1 + whatever FIPS/WG crypto uses today (track Overview - Post-Quantum Cryptography migration).

Trust assumptions are radically lower than any commercial or even "mesh" VPN with a control plane company.

Common compositions

  • Pair with Nostr identity and Blossom / self-hosted services for full sovereign personal cloud access from anywhere.
  • Run on Umbrel/StartOS alongside Bitcoin/LN node for remote private access without exposing ports.
  • Combine with Mix Networks (Tor transport inside FIPS) for extra metadata resistance on public links.
  • Routing fallback: FIPS neighbors can carry traffic when direct UDP is unavailable.

See also MOC - Composing Primitives and MOC - Censorship Resistance for stacking patterns.

Evidence & Status (2026)

  • GitHub: mmalmi/nostr-vpn (mirror of canonical git.iris.to); frequent releases (4.0.x series through June 2026), multi-platform binaries, Docker, packaging for self-hosted nodes.
  • Umbrel integration highlighted as "major advancement in sovereign infrastructure".
  • X / Nostr discussion positions it explicitly as response to centralized VPN trust models and potential regulatory pressure on commercial VPNs.
  • Backed by real engineering from Bitcoin early contributor; aligns with ungovernable primitives (keys, relays, mesh).

Primary sources

For a VPN protocol and its operator trust model, read WireGuard. Compare Outline and Psiphon for other circumvention approaches, or follow the private-server guide for setup and verification.

Also in Identity, Social and Trust

Page history

Updated
2026-10-25
Origin
Compiled from the ungovernable.tech research notes.
Improve this page
Suggest an edit — issues and pull requests are welcome.