Cloudflare WARP

Best Self-hosted Alternatives to Cloudflare WARP

A curated collection of the 8 best self hosted alternatives to Cloudflare WARP.

Cloudflare WARP is a secure VPN client and Zero Trust connector that routes device traffic through Cloudflare's network to encrypt connections, apply DNS and content filtering, and enforce access and identity-based policies for internet and corporate resource access.

Alternatives List

#1
Headscale

Headscale

Headscale is an open source, self-hosted implementation of the Tailscale control server for managing a private tailnet, nodes, keys, IPs, and routes.

Headscale screenshot

Headscale is an open source, self-hosted implementation of the Tailscale control server. It coordinates a WireGuard-based overlay network by exchanging node keys, assigning addresses, and managing routes and sharing within a tailnet.

Key Features

  • Implements core control-plane functions for a Tailscale-compatible network (tailnet)
  • Node registration and coordination via Tailscale clients
  • WireGuard key exchange and IP address management
  • User/namespace boundaries and machine sharing between users
  • Route advertisement and management for subnet routing
  • Designed for a single tailnet suited to personal use or small organizations

Use Cases

  • Run a private Tailscale-compatible VPN without relying on the hosted control server
  • Connect homelab, servers, and remote devices via a WireGuard-based overlay network
  • Provide secure remote access and subnet routing for a small team or community project

Limitations and Considerations

  • Focused on a narrow scope: a single tailnet rather than large multi-tenant deployments
  • Some Tailscale features may be unavailable or behave differently depending on client support and Headscale version

Headscale is a practical choice for self-hosters who want the Tailscale experience with an open control plane. It emphasizes a lean, hobbyist-friendly approach while supporting common coordination features needed for a private overlay network.

35.8kstars
1.9kforks
#2
NetBird

NetBird

Open-source zero-trust networking platform delivering a WireGuard-based private network with centralized access control, SSO/MFA, and cross-platform clients.

NetBird screenshot

NetBird is an open-source private networking platform that creates a WireGuard-based overlay connecting devices across environments without configuring VPN gateways. It provides centralized access control and a management UI for policy enforcement across Linux, macOS, Windows, Android and iOS.

Key Features

  • Kernel WireGuard integration
  • Admin Web UI
  • SSO & MFA support
  • Public API
  • Cross-platform clients (Linux, Mac, Windows, Android, iOS)
  • Peer-to-peer connections with auto peer discovery
  • Access control - groups & rules
  • Setup keys for bulk provisioning
  • NAT traversal with TURN fallback
  • Identity provider integrations
  • Activity logging
  • Self-hosting via Docker and docker-compose
  • Private DNS
  • Docker-based quickstart script

Use Cases

  • Secure remote access to private resources across distributed teams
  • Site-to-site private networks across cloud/infrastructure
  • Least-privilege access control with per-group policies via IdPs

Limitations and Considerations

  • Self-hosted deployments require a publicly accessible Linux host and opening specific ports; NAT traversal can fail in strict networks, in which case a TURN relay is used

Conclusion

NetBird unifies a WireGuard-based overlay with centralized access control and identity-aware policies, enabling zero-configuration, scalable private networks across heterogeneous environments. It supports cloud-hosted or self-hosted deployments with an admin UI and REST API for managing peers and policies.

23.1kstars
1.1kforks
#3
Pangolin

Pangolin

Open-source identity-based remote access platform combining WireGuard VPN and tunneled reverse proxy access with granular zero-trust controls.

Pangolin screenshot

Pangolin is an identity-based remote access platform built on WireGuard that securely routes traffic to private and public resources across multiple networks. It combines VPN-style connectivity with browser-based reverse proxy access to applications, using zero-trust access controls.

Key Features

  • WireGuard-based tunnels to connect remote networks (“sites”) without exposing ports or requiring public IPs
  • Browser-based access to web applications via identity- and context-aware tunneled reverse proxy
  • Client-based access to private resources (for example SSH, databases, RDP, and network ranges)
  • Granular zero-trust access controls so users only reach explicitly allowed resources
  • SSO and OIDC support, plus additional authentication options such as PIN and passwords
  • Centralized dashboard to manage applications across networks, with access logging and policy enforcement
  • Automatic TLS/SSL certificate handling for proxied apps

Use Cases

  • Provide secure access to internal tools (Grafana, Bitwarden, admin panels) across offices, cloud VPCs, and edge locations
  • Replace or complement traditional VPNs with per-application access and stronger identity enforcement
  • Publish self-hosted web apps safely without directly exposing the underlying network

Limitations and Considerations

  • Dual-licensed: Community Edition under AGPL-3, with separate enterprise/commercial licensing terms

Pangolin is well-suited for teams and homelabs that need identity-aware access to distributed networks and apps. It emphasizes minimizing network exposure while still enabling convenient browser and client access to protected resources.

19.2kstars
578forks
#4
OpenVPN

OpenVPN

OpenVPN is a widely used open-source VPN daemon providing TLS/SSL-based secure tunneling, flexible client-server and site-to-site modes, and cross-platform support.

OpenVPN screenshot

OpenVPN is an open-source VPN daemon that implements SSL/TLS-based secure tunneling for creating encrypted network connections. It supports both certificate-based and pre-shared-key modes, virtual TUN/TAP interfaces, and is portable across major operating systems.

Key Features

  • TLS/SSL-based authentication and encryption using the OpenSSL ecosystem
  • Supports multiple modes: SSL/TLS client-server, static key (pre-shared), routed (tun) and bridged (tap)
  • Works with TUN/TAP virtual network interfaces for flexible routing and bridging
  • Extensive configurability via command-line options and config files; sample configs and scripts included
  • Cross-platform codebase with primary implementation in C and build support for Unix-like systems and Windows
  • Multiple authentication and integration options for Access Server (local, PAM, RADIUS, LDAP, SAML) and extensible scripting hooks
  • Build and packaging support via Autotools and CMake; project maintained on a public Git repository

Use Cases

  • Secure remote-access VPN for employees connecting to corporate networks
  • Site-to-site encrypted tunnels to link branch offices or cloud networks
  • Enabling secure access to internal services and resources from untrusted networks

Limitations and Considerations

  • PKI and certificate management can be complex for new administrators; external tooling or guides are typically required
  • Users seeking minimal latency and very small codebase may prefer newer kernel-level protocols (e.g., WireGuard) for some use cases
  • Reliance on external crypto libraries (OpenSSL and alternatives) increases the importance of timely dependency updates and security maintenance

OpenVPN remains a mature, feature-rich VPN implementation with a long history and broad platform support. It is suited to a wide range of secure tunneling needs but requires careful operational management for PKI and dependency security.

13.3kstars
3.3kforks
#5
Amnezia

Amnezia

Open-source VPN client for desktop and mobile that can automatically set up a private VPN server and connect using WireGuard, OpenVPN, IKEv2, and obfuscated modes.

Amnezia screenshot

Amnezia is an open-source VPN client for desktop and mobile that helps you connect to a VPN and, notably, deploy your own private VPN server on a VPS. It automates server setup and supports multiple VPN protocols, including options designed to help in restrictive networks.

Key Features

  • Automated VPN server deployment via SSH, including installing required Docker containers
  • Supports classic VPN protocols: WireGuard, OpenVPN, and IKEv2
  • Traffic masking/obfuscation options such as OpenVPN over Cloak, OpenVPN over Shadowsocks, AmneziaWG, and XRay
  • Split tunneling for selected sites (and apps on Android and desktop)
  • Cross-platform clients for Windows, macOS, Linux, Android, and iOS

Use Cases

  • Quickly deploying a personal VPN on a rented server for privacy and safer browsing
  • Connecting from networks with VPN restrictions using obfuscation-capable modes
  • Enabling VPN only for specific apps or websites via split tunneling

Limitations and Considerations

  • Requires access to a remote server (VPS) and working SSH credentials to automate deployment
  • Some protocols and masking methods may require extra troubleshooting depending on network censorship and ISP behavior

Amnezia is a practical choice for users who want a single client that both provisions and manages a private VPN server and provides multi-protocol connectivity across major operating systems. Its protocol variety and masking options make it especially useful in challenging network environments.

10.2kstars
720forks
#6
Firezone

Firezone

Firezone is a zero-trust VPN replacement built on WireGuard, providing identity-aware access policies, peer-to-peer encrypted tunnels, and lightweight gateways.

Firezone screenshot

Firezone is an open source zero-trust access platform designed to replace traditional VPNs with identity-aware, least-privilege connectivity. It uses WireGuard-based tunnels and a gateway/relay architecture to securely connect users to specific resources instead of whole networks.

Key Features

  • Granular, group-based access policies for applications, subnets, and networks
  • Peer-to-peer, end-to-end encrypted tunnels with NAT traversal (hole punching)
  • Lightweight gateway component deployable in your infrastructure
  • Optional relay (STUN/TURN) to facilitate connectivity when direct paths fail
  • SSO and identity provider integration, including OIDC-based authentication
  • Admin portal for managing users, resources, and policies
  • Audit/activity logging for visibility and compliance needs

Use Cases

  • Secure access to internal web apps, databases, and services without exposing networks
  • Remote workforce connectivity as an alternative to OpenVPN-style VPN deployments
  • Contractor or partner access with strict, least-privilege, policy-based controls

Limitations and Considerations

  • Production self-hosting is not officially supported and internal APIs may change rapidly
  • Officially distributed clients may not always be compatible with a custom self-hosted control plane build

Firezone fits teams that want a modern, identity-aware approach to private access with WireGuard performance characteristics and centralized policy management. It is especially useful when you need to reduce broad network access while keeping connectivity fast and manageable.

8.4kstars
403forks
#7
OpenZiti

OpenZiti

OpenZiti is an open-source zero trust networking platform that builds an identity-based overlay mesh with SDKs, tunnelers, and policy-based access controls.

OpenZiti screenshot

OpenZiti is an open-source, programmable zero trust networking platform for connecting applications using an identity-based overlay network instead of IP-based trust. It provides a fabric (mesh), edge components, and SDKs/tunnelers to securely connect users, devices, and services with policy-driven access.

Key Features

  • Identity-based connectivity with certificate-backed identities and policy-based authorization
  • Application segmentation and “deny by default” access controls for services
  • Overlay mesh fabric with smart routing and pluggable capabilities
  • “Dark” services and routers that can operate without inbound listening ports by using outbound connections into the fabric
  • End-to-end encryption options, including application-embedded connectivity via SDKs
  • REST management APIs and a web-based admin console for managing the network
  • Support for integrating existing apps through tunnelers and proxies when embedding SDKs is not feasible

Use Cases

  • Zero trust access to internal applications across hybrid and multi-cloud environments
  • Secure machine-to-machine or service-to-service communications without exposing ports
  • Replacing or reducing traditional VPN access with per-application access policies

Limitations and Considerations

  • Some advanced capabilities (for example, true process-to-process protection) are best achieved when applications embed the OpenZiti SDKs rather than relying only on tunnelers
  • Designing policies, identity lifecycle, and PKI can add operational complexity compared to simple IP allowlists

OpenZiti is well-suited for teams that want a flexible, open-source foundation for zero trust application access. It combines a scalable overlay fabric with strong identity controls and multiple integration options, ranging from SDK embedding to tunneling and proxying.

3.9kstars
237forks
#8
Wiredoor

Wiredoor

Self-hosted ingress platform that exposes internal HTTP/TCP services to the internet through reverse WireGuard tunnels, with NGINX routing and automatic TLS certificates.

Wiredoor screenshot

Wiredoor is a self-hosted ingress-as-a-service platform for securely exposing applications and services running in private networks to the public internet. It creates reverse VPN tunnels using WireGuard and routes inbound traffic through a built-in NGINX reverse proxy.

Key Features

  • Reverse VPN tunneling powered by WireGuard for connecting private nodes to a public entrypoint
  • Built-in NGINX reverse proxy to publish HTTP services and route traffic by domain
  • Expose both HTTP and TCP services, including support for WebSocket connections
  • Automatic TLS certificates via Let’s Encrypt, with self-signed fallback for internal/local domains
  • Web UI to manage nodes, domains, and exposed services
  • CLI-driven setup for registering nodes and creating/revoking exposures
  • Optional OAuth2-based authentication per domain/service via an OAuth2 proxy
  • Designed to work across environments (Kubernetes, Docker/Compose, VMs, legacy servers, and IoT)

Use Cases

  • Publish internal dashboards (for example monitoring tools) without opening inbound firewall ports
  • Provide temporary external access to a private service for support, maintenance, or demos
  • Expose services running inside Kubernetes clusters, Docker hosts, or on-prem networks through a single public gateway

Wiredoor fits teams and homelabs that want cloud-like ingress control while keeping networking and access fully under their own infrastructure. It provides a consistent way to connect private nodes, map domains, and expose services securely with minimal operational overhead.

1.6kstars
74forks

Why choose an open source alternative?

  • Data ownership: Keep your data on your own servers
  • No vendor lock-in: Freedom to switch or modify at any time
  • Cost savings: Reduce or eliminate subscription fees
  • Transparency: Audit the code and know exactly what's running