# Self-hosted alternatives to VPNs

The best self-hosted alternative to VPNs is Teleport (highest rated, 21 107 stars).

> 1 self-hostable, open-source alternative to VPNs, ranked by score.

- [Teleport](https://selfhost.directory/project/teleport): Teleport is an infrastructure identity platform that secures access to servers, Kubernetes clusters, databases, Windows desktops, web applications, cloud…

## Also in Authentication

Not listed as VPNs alternatives, but from the same category:

- [Werbot](https://selfhost.directory/project/werbot): Werbot is a self-hosted bastion host providing single sign-on access to servers, databases, and apps via SSH, RDP, VNC with full session recording and audit logging.
- [Webterminal](https://selfhost.directory/project/webterminal): Self-hosted open-source bastion host unifying SSH, RDP, VNC, database and Kubernetes access via browser or native clients with fine-grained auth and full audit.
- [melody-auth](https://selfhost.directory/project/melody-auth): Open-source OAuth auth server for Cloudflare Workers or self-hosted Node.js with Redis/PostgreSQL. Features MFA, social login, SAML SSO, RBAC, and web admin panel.
- [FusionAuth](https://selfhost.directory/project/fusionauth-containers): FusionAuth is a self-hosted CIAM platform for auth, authorization, and user management with SSO, MFA, passkeys, and social login. Free Community edition available.
- [autentico](https://selfhost.directory/project/autentico): Self-hosted OIDC identity provider as a single Go binary with SQLite, handling login, MFA, passkeys, sessions, and tokens with built-in admin UI.
- [auth-portal](https://selfhost.directory/project/auth-portal): AuthPortal is a self-hosted, open-source auth gateway for Plex, Jellyfin, Emby with unified login, RBAC, LDAP sync, OAuth/OIDC, MFA, and admin console.

All 94 Authentication projects: https://selfhost.directory/authentication

## About these VPNs alternatives

1 open-source, self-hosted alternatives to VPNs are listed here, ranked by popularity, maintenance and documentation.

- **Highest rated:** Teleport (21 107 GitHub stars, AGPL-3.0 license, written in Go)
- **Docker:** 1 of the top 1 ship an official Docker image
- **Recently updated:** Teleport v18.10.0 on 2026-07-09

### VPNs alternatives compared

| Project | License | Language | Stars | Docker | Setup | Latest release | Score |
|---|---|---|---:|---|---|---|---:|
| [Teleport](https://selfhost.directory/project/teleport) | AGPL-3.0 | Go | 21 107 | Yes | Advanced | v18.10.0 2026-07-09 | 76 |

---
Source: https://selfhost.directory/alternative-to/vpns