n2n
Open Source GPL-3.0Peer-to-peer VPN for direct Layer 2 connections
Description
n2n is a lightweight open-source VPN tool that enables peer-to-peer connections at Layer 2. Unlike traditional VPN solutions, n2n establishes direct connections between endpoints without routing all traffic through a central server. The result is a virtual network with low latency, making it ideal for distributed teams and IoT scenarios.
Preview
Platforms
Linux Windows macOS Docker
Replaces the following proprietary tools
NordVPN → n2n
ExpressVPN → n2n
Self-Hosting
n2n can be self-hosted on your own infrastructure. Visit the official documentation for installation instructions.
Documentation →Categories
Tags
#peer-to-peer
#layer2
#mesh
#iot
#c
Similar Tools
WireGuard
Ultra-fast and modern VPN protocol
GPL-2.0 ●● Medium Self-hostable
NordVPN ExpressVPN
Last: Feb 2026 30.0k
View details →
OpenVPN
Proven open-source VPN solution with broad platform support
GPL-2.0 ●● Medium Self-hostable
NordVPN ExpressVPN
Last: Feb 2026 11.0k
View details →
Headscale (Tailscale OSS)
Self-hosted coordination server for Tailscale networks
BSD-3-Clause ●● Medium Self-hostable
NordVPN ExpressVPN
Last: Feb 2026 24.0k
View details →