For a self-hosted WireGuard mesh network, the first results are easytier/easytier (EasyTier is a self-hostable, decentralized peer-to-peer mesh VPN that uses WireGuard-compatible tunnels and handles automatic connectivity and NAT traversal, making it exactly what you need for securely linking multiple servers in a private overlay network), juanfont/headscale (Headscale is a self-hosted control plane that implements WireGuard-based mesh networking with automatic key management, NAT traversal, and zero-trust security, directly matching the need for a private overlay VPN connecting multiple servers) and tonarino/innernet (Innernet is a self-hostable WireGuard mesh orchestrator that automates encrypted peer-to-peer tunnels with invitation-based onboarding and CIDR-based segmentation, exactly matching your need for a private overlay network with key management and NAT traversal support). gravitl/netmaker and netbirdio/netbird round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Open-source software for building decentralized, encrypted peer-to-peer networks to connect servers and private infrastructure securely.
EasyTier is a decentralized peer-to-peer virtual private network and mesh networking tool. It functions as a layer 3 network overlay that establishes secure tunnels between devices without requiring a centralized server or coordinator. It also serves as a WireGuard-compatible VPN, capable of acting as a server for standard WireGuard clients. The project distinguishes itself through multipath latency-based routing and the use of KCP or QUIC proxies to mitigate packet loss and stabilize connections in high-loss environments. It provides a virtual networking manager featuring a web management co
EasyTier is a self-hostable, decentralized peer-to-peer mesh VPN that uses WireGuard-compatible tunnels and handles automatic connectivity and NAT traversal, making it exactly what you need for securely linking multiple servers in a private overlay network.
Headscale is a self-hosted control plane for private mesh networking that enables the creation of secure, encrypted peer-to-peer networks. By acting as a centralized coordination server, it manages device authentication, cryptographic key exchange, and network topology, allowing distributed infrastructure to communicate without relying on third-party services. It implements a zero-trust security architecture, verifying device and user identity before granting access to internal resources. The project distinguishes itself by providing a fully independent, self-hosted alternative for managing n
Headscale is a self-hosted control plane that implements WireGuard-based mesh networking with automatic key management, NAT traversal, and zero-trust security, directly matching the need for a private overlay VPN connecting multiple servers.
Innernet is a WireGuard VPN mesh orchestrator and control plane that automates the deployment of encrypted tunnels between distributed peers. It functions as a virtual private network that coordinates endpoint discovery and distributes network configurations from a centralized server to establish a private overlay network. The system differentiates itself through a structured peer management lifecycle, using single-use invitation files for secure onboarding and cryptographic key exchange. It provides granular network segmentation by organizing peers into named CIDR blocks, allowing administra
Innernet is a self-hostable WireGuard mesh orchestrator that automates encrypted peer-to-peer tunnels with invitation-based onboarding and CIDR-based segmentation, exactly matching your need for a private overlay network with key management and NAT traversal support.
Netmaker is a platform for automating and managing virtual mesh networks built on WireGuard. It functions as a centralized control plane that orchestrates encrypted, peer-to-peer tunnels across distributed infrastructure, including cloud environments, on-premise data centers, and containerized clusters. By automating the configuration of routing tables and access policies, the system enables secure, private connectivity between diverse devices and services without requiring manual network administration. The platform distinguishes itself through its focus on zero-trust network access and soft
Netmaker is a self-hosted platform that builds WireGuard-based mesh networks with automatic peer-to-peer tunnels, key management, and NAT traversal, making it a comprehensive fit for connecting servers in a private overlay network.
NetBird is a zero-trust networking platform that builds secure, encrypted peer-to-peer overlay networks using the WireGuard protocol. It functions as a software-defined perimeter, connecting distributed infrastructure across cloud environments and physical locations while hiding network resources from the public internet. By integrating with external identity providers, the platform enforces granular access control and identity-based segmentation for every user and device. The platform distinguishes itself through extensive automation and programmatic management capabilities. It provides a ce
NetBird builds secure, encrypted peer-to-peer overlay networks using WireGuard with automatic mesh connectivity and NAT traversal, fitting your self-hosted server-to-server mesh VPN need.
Tailscale is a zero-trust networking overlay that connects distributed devices and services into a private, encrypted mesh network. By utilizing a high-performance, user-space implementation of the WireGuard protocol, it establishes secure peer-to-peer tunnels across diverse network topologies without requiring complex firewall configuration. The platform operates on a centralized control plane that manages global network state, authentication, and policy distribution, ensuring that connectivity is governed by identity rather than traditional IP-based rules. What distinguishes Tailscale is it
Tailscale is a WireGuard-based mesh VPN for connecting servers and devices into a private overlay network, but it relies on Tailscale's proprietary cloud control plane rather than being fully self-hostable, so it meets the mesh VPN requirement but not the self-hosting aspect.
Iroh is a peer-to-peer networking stack and distributed system designed for secure direct connections, content-addressed storage, and synchronized data sharing. It provides a foundation for decentralized applications by combining a QUIC-based networking layer with primitives for distributed state and data transfer. The project distinguishes itself through a comprehensive suite of decentralized capabilities, including a distributed data store using conflict-free replicated data types for collaborative synchronization and a content-addressed storage system for verifiable, resumable transfers of
Iroh is a peer-to-peer networking stack with mesh connectivity and NAT traversal, but it uses QUIC instead of the WireGuard protocol, so it does not match the core requirement for a WireGuard-based mesh VPN for server connectivity.
Firezone is a zero trust network access platform that uses WireGuard to provide identity-based connectivity to internal network resources. It functions as a virtual private network that synchronizes authentication and user groups via OpenID Connect providers. The system implements a group-based access control engine to enforce least privilege by restricting network resources to specific user groups. It utilizes holepunching and relay protocols for NAT traversal to establish encrypted tunnels through firewalls without requiring inbound ports. The platform includes a control plane for managing
Firezone is a WireGuard-based zero trust network access platform focused on identity-based connectivity to internal resources, not a mesh VPN designed specifically for connecting multiple servers together in an automatic overlay network.
Nebula is a scalable, decentralized overlay networking tool designed to create secure, encrypted peer-to-peer connections between distributed hosts. By utilizing a certificate-based identity authority, it enables the construction of private communication fabrics across disparate physical infrastructures, such as multiple cloud providers or on-premises data centers, without requiring central authentication servers. The project distinguishes itself through a zero-trust architecture that enforces granular, policy-driven firewall filtering based on certificate-derived group memberships. It facili
Nebula is a mesh overlay networking tool for server-to-server connectivity, but it uses its own encryption and protocol rather than WireGuard, which the visitor specifically requires.
GameNetworkingSockets is a UDP networking library providing secure transport, peer discovery, and traffic control systems. It implements a networking layer for reliable and unreliable messaging over UDP, including tools for message fragmentation and reassembly. The project features a peer-to-peer NAT traversal tool for establishing direct host-to-host connections by punching through firewalls and network address translation layers. It secures network traffic through encrypted transport and secure key exchange. The library includes a traffic manager to organize data into prioritized lanes to
This is a UDP networking library with NAT traversal and peer-to-peer features, but it is not a WireGuard-based mesh VPN tool and does not implement the WireGuard protocol — it is a building block for game networking, not a self-hosted server connectivity solution.
go-libp2p is a Go implementation of the libp2p modular networking stack, providing a library for building peer-to-peer applications. It functions as a decentralized application framework that separates transport, security, and discovery layers into pluggable modules for cross-platform interoperability. The library establishes peer-to-peer connections through a modular transport abstraction that supports multiple protocols, while using public key cryptography for peer identity and protocol-agnostic security transports for encrypting and authenticating all traffic. It enables distributed peer d
go-libp2p is a general-purpose peer-to-peer networking library, not a WireGuard-based mesh VPN tool — it lacks any WireGuard protocol implementation and is designed as a building block for P2P applications, not a ready-to-use server connectivity VPN.
Rathole is a reverse proxy tunneling tool designed to expose local services behind firewalls and network address translation to the public internet. It functions as a secure tunneling infrastructure that enables remote access to private network resources without requiring manual router port forwarding configurations. The system utilizes a client-server architecture where a public-facing gateway coordinates with a private-network agent. It distinguishes itself by multiplexing multiple logical service connections through a single persistent TCP stream, which reduces the overhead of maintaining
Rathole is a reverse proxy tunneling tool for exposing local services through NAT, but it is not a WireGuard-based mesh VPN and does not implement WireGuard or mesh connectivity between servers.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| easytier/easytier | 12K | Rust | LGPL-3.0 | |
| juanfont/headscale | 40.1K | Go | BSD-3-Clause | |
| tonarino/innernet |
| 5.5K |
| Rust |
| MIT |
| gravitl/netmaker | 11.6K | Go | NOASSERTION |
| netbirdio/netbird | 26.2K | Go | NOASSERTION |
| tailscale/tailscale | 32.6K | Go | BSD-3-Clause |
| n0-computer/iroh | 7.9K | Rust | apache-2.0 |
| firezone/firezone | 8.7K | Elixir | Apache-2.0 |
| slackhq/nebula | 17.4K | Go | MIT |
| valvesoftware/gamenetworkingsockets | 9.7K | C++ | BSD-3-Clause |