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

Proxy endpoints: forward traffic to your own server, no agent

A proxy endpoint sends its traffic straight to your server's public IP address or hostname: web, TCP or UDP, with no agent to run.

Proxy endpoints: forward traffic to your own server, no agent

Until now an endpoint served your agents or an app hosted on ngris. A server that already runs on the internet still needed an agent next to it.

Now an endpoint can forward to that server itself. Pick Proxy endpoint in New Endpoint, give your server's address, and choose what it forwards. Above is a proxy endpoint's Overview: its server, and a TCP line on the endpoint's dedicated port.

The New endpoint page on its Origin server step: the server's address, then one line per protocol, HTTP with its SSL check, and Add a protocol
New endpoint → Proxy endpoint → Origin server: your server, then a line for each protocol it serves.
An endpoint's Dedicated Ports page: its TCP port with Release, and Reserve a UDP port
Dedicated Ports: ngris picks the port. Reserve one, or release it.

What changed

  • A third kind of endpoint. A Proxy endpoint forwards to your origin server's public IP address or hostname. It keeps its hostname, and your traffic policies work on it in all four phases.
  • One line per protocol. HTTP, TCP and UDP, each optional, at least one. The HTTP line has an SSL check: Encrypt only (the default: HTTPS, and a self-signed certificate works), Strict (a valid public certificate for the endpoint's own hostname) or Off (plain HTTP).
  • TCP and UDP through a dedicated port. A TCP or UDP line forwards the endpoint's dedicated port of that protocol to your server's port.
  • ngris picks dedicated ports. Nobody types a port number any more. On the Dedicated Ports page, click Reserve a TCP port or Reserve a UDP port, and Release to give one back. In the API, POST and DELETE /v1/endpoints/{uuid}/ports/{tcp|udp} replace PUT /v1/endpoints/{uuid}/ports, which is gone. In the CLI, add-port and remove-port replace set-ports.
  • Turn an endpoint into one, and back. The Proxy to origin server card on an endpoint's Overview page turns the proxy on, edits the server with Edit origin server, or turns it off: the endpoint is an agent endpoint again, and its server details are removed.
  • What your server receives. The endpoint's hostname as the Host, and the visitor's address in X-Forwarded-For. TCP and UDP connections come from ngris.
  • Health checks work through the HTTP line.
  • From the API, CLI and MCP too. serving_mode: "proxy" on POST /v1/endpoints, PUT /v1/endpoints/{uuid}/proxy, ngris api endpoints set-proxy, and the MCP endpoint tools.

Get started

  1. Open Endpoints, click New Endpoint and pick Proxy endpoint.
  2. On the Origin server step, type your server's address and add a line for each protocol it serves.
  3. Pick the domain and the name, and create the endpoint.
  4. Read the docs: Proxy endpoints.

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