Running Mattermost Calls in air-gapped networks: what changes
Mattermost Calls can run without internet access if two dependencies are removed: the public STUN service, which Calls would otherwise use to discover public addresses, and any cloud service used for recording or transcription. Replacing STUN with private addresses and designing the recording and transcription path around self-hosted components is what changes in a closed network. The rest of the Calls architecture stays the same, so the work is mostly about deciding what the network must reach and what it must never reach. Mattermost's server deployment planning docs include a separate starting point for air-gapped deployments, and the Mattermost pricing page lists air-gapped deployment under the Enterprise Advanced plan, so confirm plan entitlements with Mattermost before you design around them.
This page is for teams whose networks are closed by policy or by physical design: defense and government enclaves, critical infrastructure control networks, and regulated sites where no route to the public internet exists. A closed network has no outbound route at all, so every package, container image, model file and license check must be carried across the boundary by hand. A restricted egress network allows traffic only to approved destinations through a proxy or firewall. Restricted egress is often easier to design for, because you can allow a specific update mirror or registry, while a closed network forces you to plan every transfer in advance. Decide which of the two you operate before you read the rest of this page, because it changes how you handle updates and licensing.
Before any build work, confirm three things in writing with the team that owns the boundary: which network segments Calls clients, the media service and the calls-offloader host will sit on, which of those segments can reach each other, and who approves every artifact that crosses in. Ask Mattermost to confirm which Calls and recording features are supported in your entitlement and deployment model, and which components need a license key. Your security and compliance teams will also want the evidence trail for each transfer, which connects to the supply chain controls in NERC CIP-013-2 if you operate under that standard, or to your own software integrity process if you do not. Treat these answers as scope inputs, since they determine the STUN, TURN and offloader decisions in the sibling sections.
How Calls media, private addressing and the offloader fit inside a closed network
The diagram starts with Calls clients on the internal network, which reach the Mattermost server and the media service through private addresses only. Media flows between clients and the media service, with an optional TURN relay inside the same boundary when some users sit behind restrictive firewalls. The calls-offloader host receives recordings and transcription work from the server. Check that every edge stays inside the trust boundary and that no step depends on the public STUN service.
Calls traffic and offloader jobs stay inside one closed boundary, with no external paths.
Which Calls network and service choices fit an air-gapped network
This table compares the four main Calls decisions a team faces without internet access: how media addresses are discovered, whether a TURN relay is needed, where calls-offloader runs, and whether recording and transcription stay on-premises. Read each row for when the option fits, what the network team must provide, and the main trade-off, then confirm exact ports and settings in the current Calls documentation before committing.
| Decision | When it fits | What the network team must provide | Main trade-off |
|---|---|---|---|
| Private media addresses instead of public STUN | Every client and the RTCD media service can reach each other on the internal network, so no public address discovery is needed | Stable private addresses or DNS names for the media service, routing between user subnets and media hosts, and UDP and TCP reachability on the ports the Calls documentation lists | Simple to run, but any client that sits on a network segment without a route to the media host cannot join a call |
| Skip STUN entirely and rely on internal routing | Users sit on flat or well-routed internal networks with no NAT between them and the media service | Confirmation that no NAT or address translation sits between users and media, and firewall rules that allow the media path | Less infrastructure to manage, but NAT or segmentation added later can break calls without an obvious error |
| TURN relay for clients behind restrictive proxies | Some users sit behind proxies or segmented zones that block direct UDP media paths | A TURN host placed in a zone both user segments and the media service can reach, plus certificates and credentials managed inside the enclave | Improves reachability for restricted clients, but adds a relay to size, monitor and patch and can add latency |
| No TURN relay, direct media only | Every expected caller is on a network path that allows direct media traffic to the media service | A documented test matrix of user segments and firewall rules, and change control for any new zone or proxy | Fewer moving parts, but users in unexpected zones may fail to connect and troubleshooting falls to the network team |
| calls-offloader on the same host network as the Mattermost server | The team wants recording and transcription close to the core services and has spare capacity on a Docker host | A Docker host with the calls-offloader image loaded from an internal registry, and network access from the host to Mattermost and the media service | Simpler connectivity, but recording load shares a host with core services unless it is sized separately |
| calls-offloader on a dedicated host inside the enclave | Recording or transcription volume is expected to be steady, or the security team wants it isolated | A dedicated Docker host, separate storage for recordings, and firewall rules limited to the documented API paths | Better isolation and sizing control, with more hosts to build, patch and back up |
| On-premises recording and transcription | Recordings and transcripts must stay inside the enclave and a licensed offline path exists for the features you need | Local storage sized for the recording quality and retention you set, plus a confirmed license for calls-offloader features in your edition | Keeps data in the enclave, but storage growth, retention rules and access reviews become your responsibility |
| Cloud-based transcription or external AI services | Only where the enclave policy explicitly permits outbound calls to a specific service | Written approval, an outbound path with allow-listing and logging, and a data handling review | Usually incompatible with a true air-gap, so most teams should treat it as a policy exception rather than a default |
Choosing private addressing by site layout
On a flat site, the Calls media service, the Mattermost server and every client share one private subnet, so no routing decision sits between them. Because there is no public STUN service to discover a public address, the media service should advertise the private address of its own interface. Clients on the same subnet can usually reach that address directly, which makes this the simplest layout to validate. The main risk is that a host with several interfaces, such as a Docker bridge or a second NIC, advertises the wrong address, so the address must be set explicitly.
- Set the media address explicitly: Pin the advertised address to the private IP of the media host rather than relying on automatic detection.
- Confirm client reach: Every client subnet that will join calls must reach the media host on UDP and on TCP 8443.
- Check the API path: The Mattermost server must reach the media service API on port 8045.
- Test with a second client: Start a call between two clients on different hosts and confirm audio and video in both directions.
- Watch for host firewalls: Local firewall rules on the media host can block UDP even when the network path is open.
Before go-live, confirm the exact configuration keys against the Calls documentation for the version in use, then run a two-client call and check the media host logs.
In a segmented site, user workstations sit on a client VLAN and the media service sits on a separate media VLAN, usually with a firewall or router between them. The media address must be a private address on the media VLAN that clients can route to, not a client-side address. Routing and firewall policy then decide whether calls work, so the design needs a clear list of allowed flows. Mixed-VLAN sites often fail because the media host answers from a different interface than the one clients contacted, which breaks the return path.
- Use a media-VLAN address: Advertise the address that clients on the client VLAN reach, which is normally the media VLAN interface.
- Allow the client-to-media flows: Open UDP and TCP 8443 from the client VLAN to the media VLAN, and the Mattermost server to port 8045.
- Check return routing: Confirm the media host has a route back to each client subnet and that its default gateway does not send replies elsewhere.
- Review stateful inspection: Make sure the firewall does not drop UDP return traffic or time out idle media flows too quickly.
- Test across every VLAN pair: Run calls from each client VLAN, not just one, because policy often differs between them.
Before go-live, document each allowed flow, have the network team confirm the rules, and verify a call from every client segment.
Some sites place the media service behind NAT or reach it through a proxy or gateway. In this case the address a client sees is not the address the media host holds, so the advertised address has to match what clients can actually reach. A general-purpose HTTP proxy usually cannot carry the real-time media flows, so you should confirm what the proxy forwards before relying on it. Where the path depends on translation, a mismatch between the internal and external address is the most common cause of calls that connect but carry no media.
- Advertise the reachable address: Set the media address to the address clients use after translation, which may differ from the interface address on the host.
- Map ports on both sides: Confirm the NAT rules forward UDP and TCP 8443 to the media host without changing ports.
- Confirm proxy capability: Verify the proxy or gateway passes the media traffic. Do not assume a web proxy handles it.
- Plan for a relay fallback: If clients cannot reach the media service directly, a TURN relay may be needed, which is covered in a sibling topic.
- Test from outside the proxy: Run calls from clients that sit behind the same proxy or NAT as real users.
Before go-live, confirm the Calls configuration keys for your version with the vendor documentation and test each translated path with a live call.
How to set up Calls offline, from addresses to recording
This sequence takes a Mattermost deployment with no internet access from licensing and image intake through private media addresses, the media service, an optional TURN relay and the offloader host, and ends with a test call, a local recording and an offline transcription.
Confirm the Enterprise Advanced entitlement
Before any design work, confirm with Mattermost sales that your license covers air-gapped deployment. The Mattermost pricing page lists air-gapped deployment under the Enterprise Advanced plan, and the pricing page directs buyers to contact sales rather than publishing prices, so the entitlement should be written into your contract and reflected in the license file you will load on the offline server. Done means you hold a license that names air-gapped use and your organization has a copy of the signed order.
Build or import server and offloader images
Your platform team, with DeployOpen if engaged, builds or imports the Mattermost server, the Calls plugin package, the RTCD service and the calls-offloader image through your internal registry and package process. Each artifact is checked for integrity and authenticity against the publisher's published checksums or signatures before it crosses into the isolated network, and the verified set is recorded in your change log. Done means every image and package is in the internal registry with a recorded hash and an approval entry, and nothing is pulled from a public source.
Configure private media addresses without public STUN
Set the RTCD and Mattermost server to advertise private, routable addresses on the media network, and disable any configuration that depends on the public STUN service or external lookups. Confirm each client segment can reach the media service on UDP and on the TCP 8443 path your design uses, and that no outbound DNS or NTP dependency is left unresolved. Done means the Calls configuration references only internal addresses and a test client on a second segment can resolve and reach the media service.
Deploy the media service
Deploy the RTCD media service on hosts or Kubernetes nodes inside the boundary, using the internal registry images and the private addressing from the previous step. Confirm that the service starts, registers with the Mattermost server, and exposes its API path to the server. Done means the Calls plugin reports the media service as available in the System Console and a test call between two users on the same segment connects with audio and video.
Add a TURN relay only if tests require it
Run a test call from every client segment that must use Calls, including any segment behind a proxy or restrictive firewall. Add a TURN relay inside the boundary only if one of those segments fails to establish media in direct testing, and place it where clients can reach it without any external hop. Done means a test call from the most restricted segment connects, or you have documented that no relay is needed for your topology.
Set up the offloader host and local storage
Install the calls-offloader on a dedicated host with Docker, using the internal image, and mount recording storage on local or internal network storage sized to your recording quality and retention policy. Transcription models and language assets must be loaded from internal media, since the offloader cannot fetch them at runtime. Confirm the host has no default route to the internet, and record the storage path and access permissions. Done means the offloader reports healthy to the Mattermost server and its configuration lists only internal storage paths.
Verify a recording and an offline transcription
Start a call with two participants on different segments, record it, and confirm the recording file is written to the local storage path. Then request a transcription of that recording and confirm the job completes while the host's outbound connections are blocked. Check firewall logs for any attempted egress from the Calls, RTCD and offloader hosts during the test. Done means the recording exists on local storage, the transcript is generated with no outbound connection, and the test results are filed with your security team.
Transcription and recording without cloud services
The calls-offloader is the service that records calls and produces transcriptions for Mattermost Calls, and in an air-gapped network every dependency it uses must be staged inside your boundary before go-live. Recording and transcription do not work from a fresh install alone. The team needs to plan for the transcription model and language files, the container images the offloader runs from, and the Docker host that runs them, then confirm that each item can be pulled from an internal registry or file store with no outbound request. Any step that quietly reaches a public model hub or image registry will fail on an isolated network, so test the offloader with the outbound route blocked, not just with the firewall rules you intended to write.
Decide early where recordings live and who can reach them. Recordings are media files written to storage you choose, so the storage location should sit inside the same controls as your other sensitive data: encrypted at rest, backed up on your schedule, and mounted only on the hosts that need it. Set a retention rule for recordings and transcripts before the first call is recorded, and align it with your records policy and any legal hold obligations. Access is a separate question. Confirm which Mattermost roles can start a recording, who can open or download the output, and whether a participant is told that a call is being recorded. Write these answers down, because an auditor will ask for them and a reviewer will test them.
Treat live captions as experimental. Mattermost documents live captions as an experimental feature, so do not promise them to users or to a compliance owner until you have tested them offline on your own build. For every capture or transcription feature you plan to rely on, confirm in writing with Mattermost that it runs without internet access, which models and language packs it needs, and whether the license covers that feature on an air-gapped deployment. Licensing for recording and transcription is a question to put to the vendor, as it can differ from the server license you already hold. Ask for the quote and the license terms in writing, and have the scope match the features you actually intend to run.
Security controls for offline Calls and recordings
An air-gapped Calls deployment moves software, media and recordings through paths that a reviewer will examine closely. The cards below cover the controls that connect those paths: how packages enter, how traffic is separated, who can reach recordings, how media is protected, what gets logged and how patches are applied.
Verified transfer across the boundary
Every container image, Helm chart, plugin bundle and binary that crosses into the isolated network should be recorded with a checksum and a signature check before it is loaded. Keep a transfer log that names the person who approved each item and the source it came from. Ask the team that will review the environment how they expect software integrity and authenticity of vendor software to be shown, because that expectation shapes what the log must contain. A transfer record that cannot be matched to a checksum will be hard to defend later.
Mattermost deployment planningSegmented media and admin paths
Keep the media path from the RTCD service separate from the administrative path that carries API calls from Mattermost to the offloader and operator access to hosts. Give each path its own network rules so that a compromised media host cannot reach the administrative plane. Document which ports and addresses each path uses, and confirm them in a test before go-live. Segmentation is easier to explain to an assessor when the diagram matches the firewall rules.
Access control for recordings and transcripts
Recordings and transcripts are generated data with the same sensitivity as the conversations they capture, and they often sit on a separate storage volume. Restrict read access to the people who need it, apply retention rules that match your records policy, and confirm who can delete files. Test whether a standard channel member can reach a recording file through a URL or the file system. Treat the storage location as part of the Mattermost access model, not an afterthought.
Encryption of media in transit
Media between clients and the RTCD service is encrypted as the platform documents it, and the design should not rely on assumptions about the network being private. Confirm which traffic is encrypted, which is not, and where certificates come from in an environment with no public certificate authority. Plan certificate issuance and renewal inside the boundary, since an expired certificate will stop calls. Verify the behavior with a packet capture on a test segment.
Logging and monitoring of the offloader and media service
Collect logs from the calls-offloader, the RTCD media service and the Mattermost server in one place inside the boundary. Alert on failed recording jobs, transcription errors, repeated failed connections and unexpected changes to configuration. Metrics from the Calls plugin and RTCD can show call quality problems before users report them. Confirm that log retention matches your audit requirements and that the log store is itself protected.
Patching through a controlled import process
Updates to Mattermost, the offloader and their dependencies should follow the same verified transfer path as the first install, with a staging copy tested before production. Pick a release line deliberately, since monthly server releases and Extended Support Releases carry different support windows. Record each import, the version it brought in and the rollback step. Schedule updates around active calls and recording jobs so that a patch does not interrupt a recording in progress.
Mattermost server releasesOperating Calls when updates arrive by media
In an air-gapped network, every Mattermost server release has to travel into the enclave by media, so the day-two plan starts with the release calendar. Mattermost releases a new server version in binary form on the 16th of each month, and the Mattermost server releases page states the support end date for each version, including Extended Support Releases. Plan your upgrade window against those dates, not against when a release is first published. The Calls plugin, the RTCD media service and the calls-offloader must also stay compatible with the server version you run, so each upgrade is a set of components, not just the server binary. Confirm the compatibility matrix for each release with Mattermost before you schedule the transfer, and record the pairing you intend to run in your change record.
Build a staging enclave that mirrors production as closely as your environment allows: the same Mattermost server version, the same plugin and RTCD versions, the same offloader image, the same PostgreSQL major version and the same TURN and private address configuration. Run a call end to end in staging, including screen sharing, and if you have recording or transcription enabled, test those too. Each artifact that crosses the boundary (server binary, plugin bundle, container images, Helm chart or manifests, and any package dependencies) should be hashed, logged and scanned on the clean side before it is imported. Keep a checklist for the import step so the same process is repeated for every release, and so the person who imports media is not the only person who can verify it.
Schedule rollbacks before you start the upgrade. Take a database backup and a copy of the file storage, keep the previous server, plugin and RTCD versions available as media in the enclave, and write down the exact steps and the decision point after which rollback is no longer practical, such as after a database migration has run. Because support windows are fixed by Mattermost, a rollback is a legitimate option, but it does not remove the need to upgrade later, so track the next release you will need to carry in. Ask your team to confirm how long a transfer and verification cycle takes in your enclave, since that time, not vendor schedules alone, determines whether you can keep up with monthly releases or should standardize on Extended Support Releases.
Limits to confirm before committing to offline Calls
Air-gapped Calls depends on decisions made outside the cluster: what your license entitles you to, which features need outside services, and what your clients need to connect. Confirm each item in writing or in a test environment before you commit budget and a build date.
Plan and entitlement
Air-gapped deployment is listed on the Mattermost pricing page under Enterprise Advanced, so confirm that your contract includes it rather than assuming a lower plan covers the same setup. Ask the vendor whether the entitlement also covers the Calls components you intend to run, and whether offline license activation and renewal are supported in your environment. Get the answer in writing before you plan the network build.
Mattermost pricingFeatures that need outside services
Some Calls features depend on services that normally run outside your network. Map each feature you plan to use against what it calls at runtime, including any default public STUN address, and test the list in an isolated lab. Anything that fails silently in the lab will fail for users on day one.
Live captions offline
Live captions are experimental and may depend on components or licensing that differ from recording and transcription. Ask the vendor whether live captions run fully offline on your chosen platform, which models and language packs must be staged, and whether any feature falls back to an external endpoint. Do not promise captions to users until a test in your network confirms them.
Client certificates and packages
Desktop and mobile clients, and the browsers that open Calls, need your internal certificate authority trusted and any client packages staged from internal sources. Inventory every operating system and browser version your users run, and confirm which ones accept your internal root certificate without manual steps. Plan how updated packages reach devices that never touch the internet.
Offloader licensing and host
The calls-offloader service handles recording and transcription on a Docker host, and its license terms decide whether you can run it on hosts without outside connectivity. Ask the vendor how the license is validated offline, what happens when it expires, and whether the host needs any update channel. Record the answers in your change ticket with the host sizing you plan.
Internal media path in firewall rules
Calls media must reach the media service over the internal network, and your network team must allow the ports and protocols the design uses between clients, the Calls service and any relay. Review the rules with the people who own segmentation, and confirm that no rule depends on an external address. Test with real clients on each segment before sign-off.
What running offline Calls costs and what it asks of your team
Does running Mattermost Calls air-gapped require an Enterprise Advanced license?
Air-gapped deployment is listed as an Enterprise Advanced capability on the Mattermost pricing page, so confirm your plan entitlement before you design anything. The pricing page lists no public prices and directs buyers to contact sales, so the license cost is a quote item, not a figure you can plan from the website. Ask the vendor in writing which plan covers the Calls components you intend to run, whether the calls-offloader and transcription features fall under the same entitlement, and how seat licenses are counted. Mattermost sells these plans as prepaid annual subscriptions based on seat licenses, so the license line recurs each year. Confirm the terms before the rest of the budget is set.
What drives the infrastructure cost of an offline Calls build?
The main cost components are the Mattermost server and database, the RTCD media service, the calls-offloader host, load balancing for UDP media, and the storage used for recordings. Each one is a separate line in a quote. The offloader host is sized by its Docker host requirements and by the recording quality you choose, and recording storage grows with the hours of calls you retain. Ask for hardware and storage assumptions in writing, including how many concurrent calls and what recording quality the estimate covers. Hardware you already own lowers the figure, while new racks, storage arrays or a second site raise it. Recurring costs include power, support contracts, and the staff time for patching.
Can our own team build offline Calls without an outside partner?
Yes, a capable internal team can build it, provided it has Kubernetes or Linux operations skills, network engineers who can change firewall rules, and someone who can run package transfers across the isolated boundary. The harder parts are usually the network design for media ports, the offline transfer of container images and charts, and verification that the system behaves correctly with no public STUN service. A partner is useful when those skills are thin in-house, when the team must also meet a compliance deadline, or when a fixed-scope delivery with written acceptance tests is preferred. Whichever path you take, ask who owns the runbooks after go-live.
How long does an offline Calls project take, and what sets the duration?
No duration is given in the sources for this work, so ask any provider for a timeline built from your own environment. The main factors are how quickly network changes are approved, how many firewall zones the media traffic crosses, whether your Kubernetes platform already exists, and how long the staging enclave takes to become available. Package transfer approvals, change windows and the number of test rounds for call quality also add time. Fixed-scope engagements agree the timeline in writing before work starts, so request milestones tied to network sign-off, a working staging test and a production cutover.
What does the team need to provide for an air-gapped Calls build?
The work needs several things from your side before it starts:
Is a TURN server always required for offline Mattermost Calls?
No. A TURN relay is needed only when some users sit behind firewalls or proxies that block direct media paths between clients and the media service. In a flat internal network where all clients can reach the RTCD service directly, it may not be required. The public STUN service is not available offline, so you must confirm that clients obtain usable private addresses, either by configuration or by network design. Test from every segment where users sit, including guest networks and VPN paths, before deciding. If a TURN relay is added, it becomes another service to patch, monitor and place within your perimeter rules.
How do Mattermost and Calls upgrades change offline work?
Every upgrade in an offline environment means a new package set must be built on a connected system, verified, transferred across the boundary and then applied in staging before production. Mattermost publishes server releases on the 16th of each month, and Extended Support Releases follow a longer cycle, so plan around the release you run. Mattermost v11.7 is an Extended Support Release with support ending 2027-05-15, which is a useful anchor for a long-running offline deployment. Each release can also change Calls, RTCD and offloader versions, so retest call quality and recording after every change. Ask any provider to include upgrade runs, rollback steps and the transfer procedure in the quote.
How DeployOpen scopes and delivers offline Mattermost Calls
DeployOpen plans, builds and documents Mattermost Calls for networks with no internet access, inside infrastructure you control. The work starts with a written scope that names the network boundary, the media path and the transcription choices before any configuration begins.
How we scope
- Map which hosts, subnets and clients need Calls media paths, and confirm private addresses replace the public STUN service.
- Confirm with your team whether a TURN relay is needed for users behind restrictive proxies, and record the decision in writing.
- Agree in writing whether recording and transcription run on an offline calls-offloader host, and confirm the license needed for it.
How we build
- Prepare container images and Helm charts in your internal registry before installation, so no step reaches the internet.
- Configure RTCD, UDP and TCP 8443 routing, and the 8045 API path from Mattermost to match the approved network design.
- Test calls, screen sharing and recordings from each client segment, and check that no outbound connection is attempted.
How we hand over
- Deliver a runbook covering the offline image update process, package checks at the boundary and the rollback steps.
- Document every port, address range and configuration key so your security and network teams can review the design.
- Walk your operations team through the Prometheus endpoints and the alerts that show call quality problems.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, scoped separately from the initial build.
- Plan each Mattermost server upgrade and Calls component update as a tested release that moves across the isolated boundary.
- Retest network paths and call quality after each upgrade, and confirm the results against the agreed scope.

