---
title: "Relay operator documentation · Mesh"
description: "Deploy and operate a Mesh relay with the behavior and limitations of the current implementation."
canonical_url: "https://www.mesh-network.org/docs"
locale: en
meta:
  "og:description": "Deploy and operate a Mesh relay with the behavior and limitations of the current implementation."
  "og:image": "https://www.mesh-network.org/_og/d/h_630%2Ca_~TWVzaCDigJQgUHJpdmF0ZSwgUGVyc2lzdGVudCwgRW5kLXRvLUVuZCBFbmNyeXB0ZWQgTWVzc2FnaW5n%2Cc_Mesh%2Cdomain_WWW.MESH-NETWORK.ORG%2Cp_Ii9kb2NzIg%2Cs_yaceZ2IYOuBF68Hj.png"
  "og:image:alt": "Mesh — Private, Persistent, End-to-End Encrypted Messaging"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Relay operator documentation · Mesh"
  "twitter:description": "Deploy and operate a Mesh relay with the behavior and limitations of the current implementation."
  "twitter:image": "https://www.mesh-network.org/_og/d/h_630%2Ca_~TWVzaCDigJQgUHJpdmF0ZSwgUGVyc2lzdGVudCwgRW5kLXRvLUVuZCBFbmNyeXB0ZWQgTWVzc2FnaW5n%2Cc_Mesh%2Cdomain_WWW.MESH-NETWORK.ORG%2Cp_Ii9kb2NzIg%2Cs_yaceZ2IYOuBF68Hj.png"
  "twitter:image:alt": "Mesh — Private, Persistent, End-to-End Encrypted Messaging"
  "twitter:title": "Relay operator documentation · Mesh"
---

> Index of every page on this site: [llms.txt](https://www.mesh-network.org/llms.txt)

Mesh relay

# **Relay operator documentation**

Deploy and operate a Mesh relay with the behavior and limitations of the current implementation.

**Experimental software.** The relay protocol, storage format and operating parameters may change. Test upgrades and keep backups of your data volume.

## What a relay does

A Mesh client connects to a relay over TCP to submit and retrieve end-to-end encrypted message envelopes. Relays exchange network traffic with one another over UDP. A relay cannot decrypt the message payload, but it processes and stores the routing information required to deliver it.

Running a relay helps distribute the network. It also makes you responsible for securing the host, keeping the container available and protecting its persistent data.

## Current support

| **Capability** | **Current status** |
| --- | --- |
| Official distribution | Docker image on GitHub Container Registry |
| Image | `ghcr.io/mockingmagician/mesh-relay:latest` |
| Platform | Linux `amd64` |
| Client transport | TCP on port `41234` |
| Relay transport | UDP on port `41234` |
| Persistent storage | Docker volume mounted at `/data` |
| Public network | Bootstrap through the documented origin relays |
| Prebuilt relay binary | Not published |

## Before you start

You need a continuously reachable host with Docker, a public IPv4 address or DNS name, and an external port allowed over both TCP and UDP. The default external port is `41234`, but it can be changed independently of the container's internal port.

IPv6 literal addresses are not supported by the current address parser. Use an IPv4 address or a DNS name that resolves appropriately.

## Documentation map

- [Install the Docker relay](https://www.mesh-network.org/docs/relay-docker)
- [Understand the supported configuration](https://www.mesh-network.org/docs/configuration)
- [Update, back up and troubleshoot the relay](https://www.mesh-network.org/docs/operations)
- [Review the network and security model](https://www.mesh-network.org/docs/network-security)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://www.mesh-network.org/#website","@type":"WebSite","description":"Peer-to-peer messaging network, maintained by the Mesh Network Association","inLanguage":"en-US","name":"Mesh","url":"https://www.mesh-network.org/","workTranslation":[{"@id":"https://www.mesh-network.org/fr#website"},{"@id":"https://www.mesh-network.org/es#website"},{"@id":"https://www.mesh-network.org/it#website"},{"@id":"https://www.mesh-network.org/de#website"},{"@id":"https://www.mesh-network.org/zh#website"},{"@id":"https://www.mesh-network.org/ja#website"},{"@id":"https://www.mesh-network.org/no#website"},{"@id":"https://www.mesh-network.org/pl#website"},{"@id":"https://www.mesh-network.org/ru#website"}]},{"@id":"https://www.mesh-network.org/docs#webpage","@type":"WebPage","description":"Deploy and operate a Mesh relay with the behavior and limitations of the current implementation.","name":"Relay operator documentation · Mesh","url":"https://www.mesh-network.org/docs","isPartOf":{"@id":"https://www.mesh-network.org/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://www.mesh-network.org/docs"]}]}]}
```

## Sitemap

See the full [sitemap](https://www.mesh-network.org/sitemap.md) for all pages.
