selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

Best open-source alternatives to ngrok

Self-hosted tunnels and reverse proxies instead of ngrok.

ngrok exposes local services to the internet via public URLs for demos, webhooks, and remote access. Users leave over usage limits or traffic routing through third-party servers, and some want a fixed address on their own domain. Self-hosted, open-source tunnel tools place the public endpoint on your own server and domain.

4 alternatives listed

Best for your setup

  • Novice

    Pangolin23.1k
    • Live demo
    • Documented

    71/100 fitHow well this app matches homelab novices, 0 to 100

    See all
  • Expert

    OpenZiti4.4k
    • REST or GraphQL API
    • Multi-user

    83/100 fitHow well this app matches homelab experts, 0 to 100

    See all
  • Hacker

    sish4.8k
    • CLI or plugin support
    • Many ways to install

    79/100 fitHow well this app matches homelab hackers, 0 to 100

    See all
  1. Apache License 2.0Open Source — No Paywall

    OpenZiti is a zero-trust networking platform designed to hide services from unauthorized access while securing every connection with authenticated identity and end-to-end encryption. It is aimed at teams that need to connect users, services, devices, and workloads across networks without exposing open ports or relying on traditional VPNs. The project supports several deployment styles, including network-level access, host-based tunneling, and application-embedded SDK integration. That makes it suitable for both existing brownfield services and new greenfield applications, as well as environments spanning cloud, on-premises, Kubernetes, IoT, and hybrid infrastructure. Its controller provides identity management, policy enforcement, a REST API, and a web admin console, while edge routers carry encrypted traffic through the overlay network.

    Multi-UserDockerSourceBinary

    Features:

    • Zero-trust overlay networking
    • Dark services
    • Cryptographic identity for users, services, devices, and workloads
    • End-to-end encryption
    • Policy-driven access control

    +5 more

  2. 2rathole logo
    14.3k
    Apache License 2.0Open Source — No Paywall

    rathole is a Rust-based reverse proxy designed for NAT traversal. It is intended for situations where a machine behind a NAT needs to expose services such as SSH, and it works by connecting a client running on the private host to a server with a public IP. Traffic arriving at the server is then forwarded back to the private service through the established tunnel. The project targets users who need a lightweight, secure alternative to tools like frp or ngrok. The README emphasizes performance, low memory usage, and operational simplicity, with configuration split between client and server sides. It supports multiple transport options including TCP, TLS, Noise, and websocket, and can be run directly from release binaries, built from source, or deployed via Docker. The configuration-driven design also includes hot reload support and per-service authentication tokens.

    BinaryDockerSource

    Features:

    • High throughput
    • Low memory usage
    • Service tokens
    • Optional Noise encryption
    • TLS support

    +5 more

    Auth:local
  3. 3sish logo
    4.8k
    MIT LicenseOpen Source — No Paywall

    sish is an open source SSH-based tunneling and forwarding service designed for people who want ngrok-style sharing without a custom client. It lets users expose local services over HTTP(S), WebSockets, or raw TCP by using standard SSH commands, and it can be self-hosted on their own infrastructure. The project is aimed at developers and operators who need quick sharing, private internal access patterns, or production-grade tunnel management. Its README highlights support for public and private workflows, TLS routing by SNI, alias-based access, load balancing, and a service console for inspecting forwarded requests. It provides Docker and binary releases, along with documentation for setup, forwarding patterns, and local development.

    Cloud OptionalOffline CapableMulti-UserMulti-TenantDockerBinarySource

    Features:

    • HTTP(S) forwarding
    • WS(S) forwarding
    • TCP forwarding
    • SSH aliases
    • SNI proxy routing

    +5 more

    Auth:local
  4. 4Pangolin logo
    23.1k
    GNU Affero General Public License v3.0Open Core — Some Features Paid

    Pangolin is an open-source remote access platform aimed at teams and organizations that need secure, zero-trust connectivity to internal services. It is positioned as a way to expose web apps and private resources without opening public ports, using identity-aware access controls and tunneled connectivity built on WireGuard. The project supports both browser-based access to web applications and client-based access to resources such as SSH, databases, RDP, and entire network ranges. It also includes site connectors for NAT traversal, routing and load balancing, health checking, automatic SSL certificate handling, and role-based access control. The README indicates options for cloud use, self-hosting, and an enterprise edition, with clients available for major desktop and mobile platforms.

    Cloud OptionalMulti-UserDockerSource

    Features:

    • site connectors
    • NAT traversal
    • browser-based reverse proxy access
    • client-based private resource access
    • automatic SSL certificates

    +5 more

    Auth:oidc-ssolocal

What to look for in a ngrok alternative

You must provide a server with a public IP address and a domain you control. Verify protocol support for HTTP, TCP, and SSH, along with authentication and TLS termination. Check whether each tool supports traffic inspection.

Other SaaS alternatives

  • 6 alternatives

    Self-hosted mesh VPNs and secure remote access instead of Tailscale.

    wg-easy, netbird, EasyTier

    +3 more
  • 67 alternatives

    An all-in-one workspace for notes, docs, and databases.

    AFFiNE, Memos, AFFiNE Community Edition

    +64 more
  • 49 alternatives

    A cloud file sync and sharing service.

    Immich, Syncthing, Cloudreve

    +46 more
  • 36 alternatives

    A long-running personal note-taking and clipping app.

    Memos, Joplin, Logseq

    +33 more
  • 35 alternatives

    The ubiquitous team messaging and collaboration platform.

    Rocket.Chat, Zulip, The Lounge

    +32 more
  • 32 alternatives

    A cloud project and task management platform for teams.

    AppFlowy, Plane, Wekan

    +29 more
Browse all alternatives