Skip to content

edgevpn

Peer-to-peer VPN, TCP reverse proxy and file transfer joined by a shared token

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

2,094

Last commit

5 days ago

Nov 2026

Repository age

5 years

since May 2021

Latest version

v0.37.2

Nov 2026

Contributors

–

2 active in 90 days

Releases

18

last 12 months

Language

Go

EdgeVPN builds private networks over libp2p. You generate a token or a YAML config, share it with the machines you want to connect, and they find each other without a central server or fixed host addresses. The token is the config encoded in base64.

It can run as a VPN between peers, with automatic IP assignment and a small built-in DNS server. It can also work like a reverse proxy, exposing a TCP service to other nodes in the p2p network without a full VPN, in the way you would use ngrok. A third mode sends files between nodes. Trusted zones to restrict who joins exist but are experimental.

It ships as a statically compiled Go binary for Linux and macOS, with a Homebrew formula, a Docker image, a web UI embedded in the binary and an alpha desktop GUI for Linux. You can also use it as a Go library. Kairos uses it to form Kubernetes clusters, and LocalAI uses it for its p2p features. It suits you if you want a self-run mesh instead of a hosted VPN or tunnel service.

Who it's for

Homelab users linking machines behind NAT

Peers connect with a shared token, so you do not need a public server or port forwarding setup.

Skip if: You need per-user accounts, access control lists and central administration.

Developers who expose local TCP services

The reverse proxy mode shares a service with other nodes like ngrok, without a full VPN.

Skip if: You need public HTTP URLs reachable by people outside your p2p network.

Go developers building distributed tools

It can be embedded as a library that provides a p2p ledger.

Skip if: You want a finished product and will not write Go code.

The problem it solves

Connecting machines across different networks usually means running a central VPN server or paying for a tunnel service. EdgeVPN lets peers find each other with a shared token, with no server to set up.

Strengths

  • Single static Go binary; install by script, Homebrew or Docker
  • VPN, TCP reverse proxy and file transfer in one tool
  • Automatic IP assignment and built-in DNS server for peers
  • Usable as a Go library; Kairos and LocalAI build on it
  • Active: 18 releases in the last year, Apache-2.0 license

Trade-offs

  • Trusted zones are experimental and do not stop a token holder from joining
  • Desktop GUI is alpha and Linux only
  • Anyone with the token can join the network
  • Only 2 contributors were active in the last 90 days

Self-host edgevpn

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

curl -sfL https://raw.githubusercontent.com/mudler/edgevpn/master/install.sh | sh

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is EdgeVPN free?

Yes. It is open source under the Apache-2.0 license.

Do I need a central server?

No. Peers join with a shared token or config file, and no central server or host IP setup is required.

Which platforms does it run on?

Linux and macOS as a command-line tool. A Docker image and Homebrew formula are available.

Can it share a service without a VPN?

Yes. The reverse proxy mode exposes a TCP service to other p2p nodes, and a separate mode sends files.

Similar tools in VPNs and proxies

weron

VPNs and proxies

WebRTC overlay VPN for reaching nodes behind NAT without opening ports

2.1k 81 2 years ago Dormant AGPL-3.0

gluetun

VPNs and proxies

16k 658 3 days ago Active MIT

OpenVPN

VPNs and proxies

Open source VPN daemon for running your own TLS-based tunnel server

15k 3.4k today Thriving GPL-2.0

Replaces Tailscale