Skip to main content
← All Comparisons

ngrok alternatives with authentication

Eleven tools that decide who can open a shared app, by identity, password, network, or link.

For email-based sign-in in front of a stable hostname, use Cloudflare Access on a named tunnel. For SSO and expiring share links on your own server, use Pangolin. For basic auth or an IP allowlist with no account, use Pinggy. For a link that opens once and expires within 24 hours, with no account, use qURL™.

Why people look for ngrok alternatives

  • ngrok endpoints are public by default; access control is a Traffic Policy you add.
  • The free plan includes 3 OAuth or OIDC users a month.
  • An account and authtoken before the first URL.
  • Links have no built-in expiry, and the endpoint stays up while the agent runs.

The alternatives at a glance

ngrok alternatives with authentication: what each is best for, and account needed before the first URL, visitor access control, link expiry, single-use links
ToolBest forAccount needed before the first URLVisitor access controlLink expirySingle-use links
qURL CLIA link that opens once and expires within 24 hours, with no account on either sideNo. The first publish creates the device identity our testSingle-use access link by default; link and session lifetimes. The API's IP, country and user-agent rules do not apply to the signed links qurl share issues layerv.aiYes. qurl share returned a 24-hour link in our no-account test; no-account links are capped at 24 hours our testYes, the default for qurl share our test
Cloudflare Tunnel (named)Identity-based policies in front of a stable hostname, with service tokens for machinesYes: account plus a domain on Cloudflare developers.cloudflare.comCloudflare Access policies; service tokens for machines developers.cloudflare.comNo per-link expiry; Access session settings apply developers.cloudflare.comNot documented developers.cloudflare.com
Cloudflare Quick Tunnel (trycloudflare.com)An email one-time PIN in front of a quick tunnel, with no accountNo developers.cloudflare.comOptional --allowed-mail (cloudflared 2026.9.3 or later): listed addresses or domains get an emailed one-time PIN, no Cloudflare account on either side; browsers only; sessions last up to 4 hours or until cloudflared stops blog.cloudflare.comNo; the URL works until cloudflared stops developers.cloudflare.comNot documented developers.cloudflare.com
PangolinSSO, PIN codes, passcodes, email one-time codes and expiring share linksYes: a Pangolin Cloud account, or the admin account on your own server docs.pangolin.netSSO and identity providers, users and roles, PIN, passcode, email OTP, header auth, share links, IP/geo/path rules docs.pangolin.netYes. Share links take an expiration or never expire; deleting a link revokes it docs.pangolin.netNot documented docs.pangolin.net
zrok (free)OAuth with an email pattern on public shares, or private shares to granted accountsYes: a free account, no card zrok.ioBasic auth; OAuth with an email pattern; private shares github.comNo expiry setting; ephemeral shares end when the zrok2 share process stops, and reserved names persist netfoundry.ioNot documented netfoundry.io
Pinggy (free)Basic auth, a bearer token, or an IP allowlist with no accountNo, to start pinggy.ioBasic auth, bearer token, IP allowlist pinggy.ioFree tunnels time out after 60 minutes pinggy.ioNot documented pinggy.io
LocalXpose (free)Basic auth, a header key, or an IP allowlist from a CLI or GUIYes: a free account and access token localxpose.ioBasic auth (--basic-auth), key auth with an X-TOKEN header (--key-auth), IP whitelist (--ip-whitelist) localxpose.ioFree tunnels are time-limited (length not published) localxpose.ioNot documented localxpose.io
Microsoft dev tunnelsAccess limited to a Microsoft tenant or a GitHub organizationYes: GitHub, Microsoft, or Entra ID learn.microsoft.comTenant, GitHub organization, or anonymous; 24-hour access tokens learn.microsoft.comTemporary tunnels end when the host disconnects; persistent tunnels are deleted after 30 days idle; anonymous access can be time-limited learn.microsoft.comNot documented learn.microsoft.com
Tailscale ServePrivate access through Tailscale, with identity headers for user trafficYes: a tailnet with HTTPS certificates enabled tailscale.comTailscale access rules; identity headers for user traffic, but not tagged-device traffic tailscale.comNo; a foreground session runs until stopped, and --bg keeps it running across reboots tailscale.comNo tailscale.com
frpBasic auth or a preshared visitor key on a server you runNo; you run frps on your own server github.comHTTP basic auth (httpUser/httpPassword) on http proxies; secretKey for STCP/XTCP visitors; token or OIDC authenticates clients, not visitors github.comNot documented github.comNot documented github.com
Expose (free)Basic auth on a PHP-friendly tunnelYes: a free account for the auth token expose.devBasic auth (--basicAuth); pricing lists access control under Pro expose.devFree connections are time-limited (length not documented) expose.devNot documented expose.dev

Each alternative

  1. qURL CLIMade by LayerV

    Best for: A link that opens once and expires within 24 hours, with no account on either side.

    Trade-off vs ngrok: Access rules beyond the link, such as IP lists, are set through the API.

    Command to the first shareable URLqurl publish http://127.0.0.1:3000 qurl share <CRID>

    All qURL CLI facts →

  2. Cloudflare Tunnel (named)

    Best for: Identity-based policies in front of a stable hostname, with service tokens for machines.

    Trade-off vs ngrok: Needs a Cloudflare account and a domain on Cloudflare.

    Command to the first shareable URLCreate the tunnel in the dashboard, run the cloudflared install command it shows, then add a published application route

    qURL vs Cloudflare Tunnel (named) →

  3. Cloudflare Quick Tunnel (trycloudflare.com)

    Best for: An email one-time PIN in front of a quick tunnel, with no account.

    Trade-off vs ngrok: Works in browsers only; changing the allowed email means restarting cloudflared.

    Command to the first shareable URLcloudflared tunnel --url http://localhost:8080

    qURL vs Cloudflare Quick Tunnel (trycloudflare.com) →

  4. Pangolin

    Best for: SSO, PIN codes, passcodes, email one-time codes and expiring share links.

    Trade-off vs ngrok: You run the server, or use Pangolin Cloud with an account.

    Command to the first shareable URLpangolin up site --id <ID> --secret <SECRET> --endpoint https://app.pangolin.net Then add a public HTTPS resource in the dashboard

    qURL vs Pangolin →

  5. zrok (free)

    Best for: OAuth with an email pattern on public shares, or private shares to granted accounts.

    Trade-off vs ngrok: Needs an account.

    Command to the first shareable URLzrok2 enable <TOKEN> zrok2 share public 8080

    qURL vs zrok (free) →

  6. Pinggy (free)

    Best for: Basic auth, a bearer token, or an IP allowlist with no account.

    Trade-off vs ngrok: Free tunnels time out after 60 minutes.

    Command to the first shareable URLssh -p 443 -R0:localhost:8000 qr@free.pinggy.io

    qURL vs Pinggy (free) →

  7. LocalXpose (free)

    Best for: Basic auth, a header key, or an IP allowlist from a CLI or GUI.

    Trade-off vs ngrok: Needs an account; free tunnels show a warning page and are time-limited.

    Command to the first shareable URLloclx account login loclx tunnel http

    qURL vs LocalXpose (free) →

  8. Microsoft dev tunnels

    Best for: Access limited to a Microsoft tenant or a GitHub organization.

    Trade-off vs ngrok: Needs a GitHub or Microsoft sign-in; visitors see an anti-phishing page first.

    Command to the first shareable URLdevtunnel user login devtunnel host -p 8080 --allow-anonymous

    qURL vs Microsoft dev tunnels →

  9. Tailscale Serve

    Best for: Private access through Tailscale, with identity headers for user traffic.

    Trade-off vs ngrok: Direct viewers typically need a Tailscale account and client.

    Command to the first shareable URLtailscale serve 3000

    qURL vs Tailscale Serve →

  10. frp

    Best for: Basic auth or a preshared visitor key on a server you run.

    Trade-off vs ngrok: You run frps on a server with a public IP.

    Command to the first shareable URL./frps -c ./frps.toml (on the server) ./frpc -c ./frpc.toml

    qURL vs frp →

  11. Expose (free)

    Best for: Basic auth on a PHP-friendly tunnel.

    Trade-off vs ngrok: Needs an account; access control is listed under Pro.

    Command to the first shareable URLexpose token <TOKEN> expose share http://localhost:3000

    All Expose (free) facts →

Moving from ngrok

Instead of writing a Traffic Policy for each endpoint, let qURL carry the access: an email invitation lets in only the invited address, and a one-time link opens once and expires on its own. The app stays private behind LayerV the whole time.

Guide: switch from ngrok to qURL →

qURL connects outbound, so you can share your app without opening an inbound port. Keep any other public routes to your app restricted. A link’s expiry controls when it can be opened; an opened session has its own duration. Explore access and revocation.

Frequently Asked Questions

Which ngrok alternative supports single sign-on?

Cloudflare Access and Pangolin both put identity-provider sign-in in front of an app. Microsoft dev tunnels support tenant or GitHub organization access rules and tunnel-scoped client tokens. zrok public shares can require OAuth with an email pattern. A qURL email invitation lets in only the invited address, with no identity provider to set up.

Which ngrok alternative can password-protect a tunnel without an account?

Pinggy adds basic auth, a bearer token or an IP allowlist with no account. A qURL link needs no account either and works differently: it opens once and expires within 24 hours. A qURL email invitation needs no password at all, and Caddy’s basic_auth in front of the app, shared through qURL, adds one you choose.

Which alternatives make links that expire?

Pangolin share links can be given an expiry and revoked. A qURL link from qurl share opens once and expires within 24 hours by default. Microsoft dev tunnels can time-limit anonymous access.

Who can open a qURL link?

Whoever holds it, once. The documented browser flow starts a session for that browser. A link’s opening deadline and its session lifetime are separate. A script or agent without a browser can be admitted by network address, which other devices on that public IP may share. Keep your app’s own sign-in for anything sensitive.

Built it with an agent? Let it share it.

One prompt points Claude Code, Cursor, or Windsurf at the qURL skill. Or install the CLI and publish the app yourself. No account either way.

Get the prompt →

New to qURL? Start at qurl.link

Book a pilot

Tell us what to hide. We’ll scope a pilot.

Enterprise starts with a paid pilot on one application, typically 60 to 90 days, credited in full toward year one if you convert within 60 days. After that, an annual package sized to what you protect, not per seat.