Skip to the content.

Frequently Asked Questions

What is Lemonade-Nexus?

A self-hosted userspace mesh VPN with encrypted peer-to-peer connections, cryptographic identity, and an attestation-based security protocol. You run the servers; the software provides the mesh, discovery, addressing, certificates, and the security protocol.

Do I need to run my own server?

Yes, at least one. A packaged install plus nexus-bootstrap gets a Genesis server configured in a few commands; see Getting Started.

Is there a central authority?

There is a root management key and a Genesis bootstrap anchor, both operator-pinned. The root key signs server admission certificates, and the Genesis anchor establishes the network identity. Neither is a live control plane: the root key does not grant Tier 1 authority, and Genesis’s unilateral security authority ends at Epoch 1 activation. After that, authority is epoch-scoped and follows finalized consensus state. See Security.

How does the two-tier model work?

Tier 1 is an epoch-scoped role, not a permanent status.

Can I run it without TEE hardware?

Yes. Servers without qualifying platform evidence operate as Tier 2: they relay and proxy encrypted traffic and participate in the mesh. They do not qualify for Tier 1, so they hold no permission tree. A network needs Tier 1 servers before clients can join.

Important: a node qualifies for Tier 1 only when it runs a signed release for its network. The signed release approval supplies the launch measurements, PCR 8 and 9, and the binary hashes. Without a verified approval, no node can qualify. This is a fail-closed rule, not a configuration problem. See Attestation and Security — Current Limitations.

Which attestation platforms are supported?

The Tier 1 profile is AMD SEV-SNP with a COCONUT-SVSM vTPM (snp-svsm-vtpm, with IMA runtime measurements). An HCL/vTPM verifier (snp-hcl-vtpm) also exists but is not the Tier 1 profile. The direct-boot provider is declared but refuses evidence (ProviderUnsupported), and there is no SGX, TDX, or Secure Enclave provider in this repository. See the provider matrix.

How does NAT traversal work?

  1. STUN (UDP 3478) discovers each peer’s reflexive address.
  2. The routing API (/api/routing/*) coordinates candidate exchange and verifies candidates against the observed control-connection source.
  3. Both sides send BoringTun dataplane handshakes to each other’s discovered endpoints on the shared mesh UDP port 51940 — there is no separate hole-punch port.
  4. If a direct path cannot be formed, the coordinator issues a relay ticket and traffic flows through a relay server (UDP 9103). Relays see only ciphertext.

How are IP addresses allocated?

Details in IP Ranges. Note that automatic reclamation of departed servers’ backbone IPs is not yet wired.

What happens if a server goes down?

How do I add a new server?

Use server onboarding against an existing server — never initialize a second Genesis for the same network:

  1. Obtain the network’s root_pubkey out of band.
  2. Run lemonade-nexus --onboard-server <fqdn>:9100 --root-pubkey <hex> as the service user.
  3. Approve the pending request on the existing server (private API) or mint a single-use enrollment token.
  4. Set release_signing_pubkey on the new server, then start the service.

The full flow, including what onboarding persists and what you configure separately, is in Getting Started — Join an existing network.

What is stored on disk?

File-backed signed JSON records for identity, tree, IPAM, and the durable security stores, plus a SQLite database for the application ACL store. There is no external database service. See Architecture — Storage.

Is it free / open source?

The repository is released under the MIT License.

What platforms are supported?

Tier 1 attestation support and platform build support are separate questions; see Building — Windows Status and Attestation.

How is this different from Tailscale / ZeroTier / Nebula?

  Lemonade-Nexus Tailscale ZeroTier Nebula
Coordination Self-hosted servers you operate SaaS coordination server Controller (SaaS or self-hosted) Self-hosted static config
Transport Userspace BoringTun dataplane + userspace netstack WireGuard (kernel) Custom (ZT) Custom (Nebula)
Server authority Epoch committee: attestation + consensus + threshold signing Company-operated Controller Static root CA
DNS Built-in authoritative DNS MagicDNS None None
Hardware attestation SEV-SNP with a COCONUT-SVSM vTPM, release values from a signed approval No No No

The comparison is structural, not a performance claim.