By default, iroh endpoints use the public relays maintained by n0.computer to facilitate connections when direct peer-to-peer links aren’t possible. The public relays are great for development and testing, but production deployments should run their own.Documentation Index
Fetch the complete documentation index at: https://docs.iroh.computer/llms.txt
Use this file to discover all available pages before exploring further.
Why use your own relay?
Running dedicated relays gives you:- Isolation: your traffic isn’t mixed with other developers on the shared public network
- Performance: relays close to your users reduce latency and improve NAT traversal success
- Capacity: the public relays are rate-limited; your own relays have no rate limits and capacity you control
- Redundancy: distribute relays across regions or cloud providers for failover
- Compliance: keep relayed traffic inside your own network or jurisdiction
Get a relay
You have two paths. Pick managed if you want a relay running today without ops work; pick self-host if you have infrastructure available and want full control over the deployment.Deploy a managed relay
Sign up for Iroh Services and spin up a managed relay for your project in minutes.
Self-host a relay
Run the
iroh-relay binary on a server with a public IP and DNS name. Automatic TLS via ACME is built in.