New — Iris AI drafts your firewall, routing & rate-limit rules. Explore AI features →
Changelog
TunnelsSecurity

Connections per visitor IP: one address can't take a whole tunnel

Every visitor IP gets its own share of a tunnel's connections, so one client opening connection after connection can't lock everyone else out.

Connections per visitor IP: one address can't take a whole tunnel

Connections used to be counted for the whole account. One client that kept opening connections and holding them open could fill them all, and every other visitor, on every tunnel of the account, got an error until it let go.

Now each tunnel has two caps, listed under Endpoints & Tunnels on Usage & Limits, as above. Connections per tunnel covers all of a tunnel's visitors together, and Connections per visitor IP is one address's share of that. By default the per-IP cap is a fraction of the per-tunnel one, so no single address can hold all of a tunnel's connections. And since each tunnel counts its own connections, one busy tunnel doesn't use up another's.

Say a scanner on 198.51.100.23 starts opening connection after connection to Acme Labs' office-db tunnel. Once it reaches its own cap, its new connections are refused, while the team's database clients keep connecting.

The Rate Limits card: the request rates and bursts for the account, for each endpoint and for each visitor IP, and the concurrent in-flight requests
Requests get the same treatment: the same page lists the request rate one visitor IP may send to a site, next to the rates for each site and for the whole account.

How it works

  • Every kind of tunnel. HTTP, TCP and UDP connections all count.
  • Past the cap. A new HTTP connection gets a 429 and is closed, a TCP connection is closed, and a UDP datagram is dropped. Connections already open carry on.
  • UDP sessions. A session that never got an answer back can make room for a new one. A session in a two-way exchange is never dropped.
  • The visitor's own address. The cap goes by the address a connection comes from, never by a header a client sends. Visitors behind one shared address, such as an office network or a CDN in front of your tunnel, share that address's cap, and support can raise it for your account.
  • Tunnels only. The caps apply to the tunnels your agents run. Apps you deploy on ngris aren't counted.

Get started

  1. In the dashboard, go to Account → Usage & Limits and open the Plan capabilities tab.
  2. Find Connections per tunnel and Connections per visitor IP under Endpoints & Tunnels.
  3. If your visitors reach a tunnel through one shared address, ask support to raise the per-IP cap for your account.
  4. Read the docs: Connections per visitor IP in the API.

Read the docs

Ask an AI to summarise this page
Deploy
App hosting Edge functions Domains & certificates
Connect
Secure tunnels API gateway Multi-region edge
Protect
Bot protection & challenge WAF & firewall Edge login
Observe & AI
Monitoring Inspector & replay Iris AI MCP server AI Gateway
Developers
Developer tools Docs ngrok policy converter Blog Changelog
Compare
Ngris vs ngrok Ngris vs Cloudflare Tunnel Ngris vs Vercel Ngris vs Netlify Expose localhost guide
More
Solutions Pricing Enterprise Sign in Get Started Free