Softwr

Networking · head to head

Nebula vs Preact

Nebula logo

Nebula

Networking

Certificate based overlay network from Slack, with identity and firewall rules carried in the certificate

From
Free
Free plan
Yes
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Nebula lists certificate carried identity; only Preact lists 3kB runtime.
  • Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.

How do Nebula and Preact differ?

Nebula and Preact differ on platforms and category (Networking against Web Development). Only the attributes on which Nebula and Preact actually diverge.

Attributes where Nebula and Preact differ
AttributeNebulaPreact
PlatformsLinux, macOS, Windows, iOS, AndroidWeb
CategoryNetworkingWeb Development

Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Nebula and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Nebula

  • Certificate carried identity
  • Group based host firewall
  • Lighthouse discovery
  • Noise protocol encryption
  • Unsafe routes
  • Managed option

Only in Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

What is each one used for?

Preact is most often brought in for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.

Nebula

  • Flattening a network across several clouds and datacentres without VPC peering or route tablesnot Preact
  • Very large fleets where a central policy service on the connection path is unacceptablenot Preact
  • Environments that already run an internal certificate authority and want the network to use itnot Preact
  • Replacing per host iptables rules with policy written against roles that follow the hostnot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Nebula
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Nebula
  • Applications targeting low-bandwidth or low-powered devicesnot Nebula

Where do Nebula and Preact fall short?

Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Nebula

  • The open source project has no user interface, no enrolment workflow and no revocation service, so certificate issuing, distribution and expiry become scripts you write and then have to keep working
  • Revoking a compromised host means distributing a blocklist entry to every other host and reloading them, which is a fleet wide operation rather than a click, and easy to get wrong under pressure
  • Changing a host group membership means reissuing and redeploying its certificate, so policy changes are a deployment rather than a configuration edit
  • There is no identity provider integration or single sign on in the open source version, so it maps well to servers and badly to a fleet of user laptops
  • NAT traversal is best effort and hosts behind symmetric NAT need a relay configured deliberately, so connectivity failures show up as intermittent rather than immediate and are awkward to diagnose

Preact

  • Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • Behavioural differences from React exist in edge cases, particularly around event handling
  • A much smaller community, so unusual problems have fewer existing answers than React

How much do Nebula and Preact cost?

Nebula is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.

Nebula

Free
  • NebulaFree
    • Full functionality under the MIT licence
    • No host limit
    • You operate the certificate authority and lighthouses
  • Defined NetworkingOn request
    • Hosted control plane and enrolment
    • Managed certificate lifecycle and revocation
    • Policy and DNS interface

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • No usage limits

Which should you pick?

Choose Nebula if

  • You need certificate carried identity.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, iOS, Android.
  • You also want group based host firewall.

Choose Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Questions people ask

Is Nebula or Preact better?
It depends on the job. Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables; Preact fits embedded widgets that load inside someone else’s page and must stay small. Nebula starts at Free and Preact at Free.
Which is cheaper, Nebula or Preact?
Nebula starts at Free and Preact at Free.
Does Nebula or Preact run on more platforms?
Nebula runs on Linux, macOS, Windows, iOS, Android. Preact runs on Web.
Can I use Nebula for free?
Both have a free tier, so you can try either at no cost before committing.
What is Nebula best used for?
Nebula is most often used for flattening a network across several clouds and datacentres without vpc peering or route tables, very large fleets where a central policy service on the connection path is unacceptable, environments that already run an internal certificate authority and want the network to use it, replacing per host iptables rules with policy written against roles that follow the host. Of those, flattening a network across several clouds and datacentres without vpc peering or route tables and very large fleets where a central policy service on the connection path is unacceptable are not what Preact is typically brought in for.
What can Nebula do that Preact cannot?
Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Nebula: Does it use WireGuard?

No. Nebula predates the common WireGuard mesh tools and uses the Noise protocol framework with its own certificate format.

Preact: Is Preact free?

Yes, open source under the MIT licence.

Nebula: Can I run it without Defined Networking?

Yes, entirely. Defined Networking sells the control plane conveniences, not the network itself.

Preact: Can I use React libraries with Preact?

Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.

Nebula: How do I revoke a host?

Add its certificate fingerprint to the blocklist in the configuration of the other hosts and reload them. There is no online revocation check.

Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Nebula: Is it a good fit for laptops?

Less so than the identity provider based tools. There is no single sign on, so every laptop needs a certificate issued and renewed by whatever process you build.

Share

Related pages

Other head to heads