selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

gravitl logo

Self-host gravitl

v1.7.0

WireGuard mesh VPN and SDN control plane

ReleaseOpen CoreApache-2.0
Updated2 months ago
LanguageGo
Setup difficultyModerate
MobileNative app
Stars
11 875
CPU
1 CPU
RAM
1 GB
Storage
2 GB
Port
8081 (Netmaker server REST API port inside the stack)
Docker
gravitl/netmaker
Install with Docker Compose
gravitl screenshot 1gravitl screenshot 2

What is gravitl?

Netmaker is an open-source platform that automates WireGuard so a team can build virtual networks spanning data centres, clouds, containers and edge devices without hand-writing peer configs. In its web dashboard you create segmented networks, join hosts through the netclient agent or through generated WireGuard config files, and shape traffic with egress gateways, remote access gateways, relays, access control lists and a private DNS layer. Self-hosting means running a quick-install shell script on Ubuntu 24.04, or a docker-compose stack with the netmaker server, its UI, a Caddy proxy and an MQTT broker; state lives in SQLite by default, with Postgres or rqlite as alternatives. The community edition is free under Apache 2.0, while relay servers, metrics, failover, RBAC user management and the Professional edition need a paid cloud or on-prem licence. Expect to supply a static public IP and ideally a wildcard domain, and note the server sends opt-out telemetry.

gravitl alternatives

All self-hosted alternatives to Nebula → All self-hosted alternatives to OpenVPN → All self-hosted alternatives to Tailscale →

Should you self-host gravitl?

gravitl scores 68/100 on selfhost.directory (how scoring works) and ranks #12 of 56 in VPN. It has 11 875 GitHub stars, +51 in the last 30 days.

It shipped 5 stable releases in the past year. The latest, v1.7.0, came out on 31 August 2026. New versions land roughly every 2 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is headscale (82/100, 45 795 stars). It scores higher overall, so compare the two before you pick. See gravitl vs headscale side by side.

Features

  • Access control lists
  • CLI (nmctl)
  • Egress gateway
  • Enrolment keys
  • Metrics and monitoringMarked "Only available in EE and SaaS" on the features page.
  • NAT traversal (STUN)
  • Network relay serversDocs list Relay Servers as a Pro feature.
  • OAuth / OIDC single sign-on
  • Private DNS
  • Remote access gateway
  • Site-to-site networking
  • Two-factor authenticationDocumented next to user management, which the features page marks EE/SaaS-only.
  • Web admin dashboard
  • WireGuard mesh networks

gravitl README

How to install gravitl

Install gravitl with Docker Compose

Environment variables
NM_DOMAIN, MASTER_KEY, SERVER_HOST, MQ_USERNAME, MQ_PASSWORD

services:

netmaker: container_name: netmaker image: gravitl/netmaker:$SERVER_IMAGE_TAG env_file: ./netmaker.env restart: always

compose/ in the repo ships docker-compose.yml (server + UI + Caddy + Mosquitto), docker-compose.pro.yml (Professional metrics stack) and docker-compose.netclient.yml (agent).

How to configure gravitl

  • NM_DOMAINBase domain under which the API, dashboard and broker subdomains are served.
  • NM_EMAILEmail address used for TLS certificates.
  • SERVER_HOSTPublic IP of the server machine; detected automatically if unset.
  • MASTER_KEYAdmin master key for API access; should be changed for production.
  • MQ_USERNAMEUsername for message broker access.

gravitl releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Does Netmaker collect telemetry?

Since v0.10.0 the server sends opt-out telemetry (counts of nodes, networks, users and the server version) via PostHog; setting TELEMETRY=off in netmaker.env disables it.

Do you offer any business or professional support?

Yes, the project asks you to contact help@netmaker.io or look at the plans page on gravitl.com for professional support.

Do you have an 'Exit Nodes' feature?

Yes in spirit: the FAQ points to the Egress Gateway documentation for sending node traffic out through a gateway.

Is Netmaker a VPN like NordVPN?

No. Netmaker builds virtual networks that behave more like a corporate VPN or a VPC, and it is generally compared to OpenVPN, Tailscale or Nebula rather than to consumer privacy VPN services.

More in VPN

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…