N

n2n

Open SourceGPL-3.0

Peer-to-peer VPN for direct Layer 2 connections

GitHub
ntop/n2n
Difficulty
●●● Advanced
Last check
2026-08-05

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

n2n Preview

Platforms

LinuxWindowsmacOSDocker

Replaces the following proprietary tools

NordVPNn2n
ExpressVPNn2n

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

WireGuard

Ultra-fast and modern VPN protocol

30.0k
NordVPNExpressVPN
GPL-2.0●● Medium
Feb 2026
OpenVPN

OpenVPN

Proven open-source VPN solution with broad platform support

11.0k
NordVPNExpressVPN
GPL-2.0●● Medium
Aug 2026
H

Headscale (Tailscale OSS)

Self-hosted coordination server for Tailscale networks

24.0k
NordVPNExpressVPN
BSD-3-Clause●● Medium
Jul 2026
← Back to VPN Solutions