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.

Best self-hosted VPN

Self-hosted VPN software lets you run the VPN server yourself, on hardware or cloud machines you control, so traffic and access rules stay under your management rather than a third-party service. More about VPN

--sort
83 projects· by score

** Today's picks

new every day · not on page 1

Projects

30 of 83

About self-hosted VPN software

Tailscale is described as the easiest, most secure way to use WireGuard and 2FA. headscale is an open source, self-hosted implementation of the Tailscale control server, for people who want that model without the hosted coordination service. OpenVPN is an open source VPN daemon. setup-ipsec-vpn sets up your own IPsec VPN server in a few minutes, with IPsec/L2TP, Cisco IPsec and IKEv2, and includes client config and management scripts. The list is ordered by our score.

85 self-hosted VPN projects are listed here, ranked by popularity, maintenance and documentation.

Highest rated
3x-ui (49 545 GitHub stars, GPL-3.0 license, written in Go), followed by Tailscale and headscale
Docker
10 of the top 12 ship an official Docker image
Easiest to set up
3x-ui, Hysteria and setup-ipsec-vpn
Recently updated
openvpn v2.7.9 on 2026-11-05

Top self-hosted VPN software compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
3x-uiGPL-3.0Go49 545YesEasyv3.11.085
TailscaleBSD-3-ClauseGo38 796YesModeratev1.104.584
headscaleBSD-3-ClauseGo45 468YesModeratev0.29.782
netbirdBSD-3-ClauseGo30 792YesModeratev0.82.082
HysteriaMITGo22 880YesEasyapp/v2.13.079
setup-ipsec-vpnOtherShell28 982—Easy78
openvpnApache-2.0C14 786—Moderatev2.7.976
PangolinAGPL-3.0Typescript23 350YesModerate1.26.076
gluetunMITGo16 007YesModeratev3.41.375
nebulaMITGo18 510YesModeratev1.12.074
WireGuard EasyAGPL-3.0Typescript27 434YesModeratev15.5.073
SoftEtherVPNApache-2.0C13 721YesModerate5.2.518973