> ## Documentation Index
> Fetch the complete documentation index at: https://www.datum.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Agent home for Datum, with what it is, pricing, and how to act: https://agents.datum.net
> If you can only fetch URLs: read https://www.datum.net/docs/llms.txt in full and open the most specific page for the task. Commands, limits, and field paths are on task, operations, and limits pages, not on section overviews. Pages described as "Documentation is coming soon" are placeholders.
> If you have a shell or can save files: download https://www.datum.net/docs/llms-full.txt (every page, about 740 KB) once and search it with grep, instead of fetching pages one at a time.
> datumctl describes itself: `datumctl api-resources` lists resource types and `datumctl explain <resource>` shows a schema. To act on live resources, use Datum MCP or datumctl. To search the docs, use the Docs MCP server at https://www.datum.net/docs/mcp.

# Tunnels

> Datum's first Connector is a flexible tunnel powered by the Iroh protocol and built on QUIC.

Iroh is a modular, Rust-based networking stack that establishes fast, direct, and secure peer-to-peer (P2P) connections between devices. Instead of relying on IP addresses, devices "dial" each other directly using public keys, bypassing NATs and firewalls.

Our first use case for Iroh Tunnels is with our [desktop apps](https://www.datum.net/docs/desktop-apps.md), which help you securely expose localhost to the internet. Future iterations will include "anywhere to anywhere" Tunnels.

## How a tunnel connects

* Each tunnel endpoint keeps one outbound connection to its nearest Datum relay, its *home relay*, over HTTPS on port 443. The endpoint needs no public address and no open inbound port.
* Traffic starts through the relay, then moves to a direct UDP path when both sides can holepunch one. The relay stays available as a fallback.
* The connection is QUIC, encrypted end to end with TLS 1.3, so a relay forwards only packets it can't read.

For details, see [Iroh relays](https://www.datum.net/docs/platform/iroh-relays.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.