openDesk networking for calls: MatrixRTC SFU ports and TURN

Call media needs ports that usually sit outside the HTTPS path ingress handles, so the exposure model and the TURN decision should be settled before go-live. This page covers the options, the constraints to confirm in the release you run, and what the work involves.

On this page

openDesk networking for calls: why media ports need a path into the cluster

Element calls need media ports beyond ordinary web ingress, so a platform team with openDesk running on Kubernetes must plan a network path for call media before users can rely on calls inside or outside the network. Web traffic for chat and call setup can pass through the ingress controller, but the audio and video streams are a separate flow that an HTTP router cannot carry. In general terms the call stack has three parts: signalling, which sets up each call; a selective forwarding unit (SFU), which receives each participant's media and relays it to the others; and an optional TURN relay, which carries media for clients that cannot reach the SFU directly. openDesk bundles Element, and the chart values and release notes for your version name the exact call components, so confirm those names before you design the path.

TURN is among the external services openDesk expects for production, alongside PostgreSQL, MariaDB, Redis, an SMTP relay and object storage, so it belongs in the production plan from the start. Your network team should answer three questions early: which UDP and TCP media ports the SFU uses in your release, how those ports reach the cluster (a LoadBalancer service carrying both protocols, a NodePort, or another path your platform supports), and whether clients on restrictive networks need a TURN path that those networks can reach, often on port 443. The exposure method depends on what your load balancer, firewalls and cloud provider support, so test each option from a client outside your network before you commit to it.

Decide this before the cluster is exposed to users. Changing the media path after people have started calling means updating firewall rules, DNS and client expectations while the service is live. Settle support terms at the same time: the Community Edition of openDesk is supported only by the community on openCode, with no SLA, while the Enterprise Edition adds SLA-backed 2nd and 3rd level support and patches. Call support therefore depends on the edition you choose, and you should confirm in writing whether that support covers the call components before work starts.

How call signalling, media and TURN relay reach the cluster

Traffic starts at the user client on the internet and crosses the network firewall at the corporate or public sector edge. A LoadBalancer or NodePort exposes the cluster there. Web signalling goes on to the ingress, media goes to the SFU pod, and an optional TURN relay can carry traffic over TCP 443 when a restrictive network blocks direct media paths. Check each hand-off against the openDesk release chart and your firewall rules. This diagram shows the pattern, not a port map, so confirm the actual ports, protocols and service types for your release before you open anything.

Signalling, media and relay paths across the internet, edge and cluster boundaries.

Choosing between LoadBalancer, NodePort and an external TURN service

This table compares five options for exposing MatrixRTC SFU media and signaling for Element calls in openDesk. Read each row as an exposure method paired with the network facts it depends on. Most decisions turn on whether one load balancer IP can carry both TCP and UDP, and whether users' networks allow outbound UDP at all.

OptionWhat it exposesWhen it fits and main trade-offsWhat to confirm with your cloud or data center team
LoadBalancer with mixed TCP and UDPOne service with UDP and TCP ports behind one external IP address.Fits when the load balancer supports mixed protocols on one IP. Simplest to operate, but some providers do not offer it.Confirm that the load balancer accepts UDP and TCP on one IP, and that users' firewalls allow outbound UDP.
LoadBalancer with separate TCP and UDP servicesUDP media and TCP fallback through two services, each with its own load balancer.Use when the provider cannot mix protocols on one IP. Expect more addresses and firewall rules to manage.Confirm whether both services can share one external IP, since the SFU expects a single address.
NodePort exposureMedia and fallback ports opened on each node and forwarded to the SFU pods.Fits when no load balancer is available. Adds node address, port and firewall management.Confirm node addresses are stable, the chosen ports are open on node firewalls, and users can reach the nodes.
External TURN service on TCP 443Relayed media over TCP 443 for users on restrictive networks, outside the SFU's own ports.Fits when networks block outbound UDP. Adds a separate service to deploy, certify and operate.Confirm TURN is in your production scope, since openDesk expects one, and that TCP 443 is allowed outbound.
Ingress alone for signalingHTTPS signaling through the ingress controller, with no UDP or media path.Covers signaling and the web client, but calls need a separate media path to connect.Confirm the ingress controller and TLS serve the call endpoints, and that media is routed another way.

Why the single-IP requirement and TCP fallback shape the design

The SFU runs as a single replica, so its address has to stay stable. Clients reach call media through the address the cluster exposes for it, so a change to that IP changes what clients connect to. A reassigned load balancer address or a node move is therefore a change to the call path that needs a planned window. The same constraint limits how exposure can be split. Because the SFU is reached through one address, you cannot spread its public surface across several IPs or place a second entry point in front of it to share load without first confirming that the openDesk release supports that design. Decide who owns the address before go-live, reserve it with your cloud or data center team, and make sure the DNS record and firewall rules all point at that same address.

A TCP-only fallback lets calls reach media when UDP is blocked, at a cost in quality and load. Real-time audio and video normally travel over UDP, which tolerates lost packets better. Some corporate and public-sector networks block or heavily restrict UDP at the perimeter, and on those networks a TCP path may be the only way clients can reach media at all. TCP retransmits lost data and waits for it, so delay and jitter typically rise, and calls on the fallback path will generally be of lower quality than calls on UDP from the same site. The SFU also carries more work for those sessions, and a large number of them can add load on the node and the network path in ways that a UDP-only test does not reveal. Size for the fallback case explicitly and test it separately from the main path.

Confirm the exact address and protocol requirements in the deployment documentation for the openDesk release you run. Ports, protocols and address handling can change between releases, so take the values from the openDesk requirements documentation and the release notes for your version, then check them against your own network. Next, test with a pilot group before relying on the fallback. Include users on networks that block UDP, run calls with several participants, and watch SFU resource use and call quality while the fallback is active. Record the results and decide whether the fallback is acceptable for all users, for a defined group, or for no one.

openDesk networking setup for calls, in order

This sequence takes an openDesk deployment from a chosen release to working calls through the MatrixRTC SFU and TURN. Each step names who acts and ends with a check the team can record, so the signaling and TURN URLs that clients use match what the cluster serves. Port numbers and chart keys come from your release's options table and values, so confirm them there before changing anything.

  1. Confirm the release and call components

    The platform team pins the openDesk release it will deploy and reads the chart for that release to list which call components it installs, including the components that serve MatrixRTC and the SFU and any TURN settings. Check the release list before you pin, because minor releases arrive monthly and only the latest minor version is supported. Done when the rendered manifests for your environment show each call workload and its Service, and the release number is written down for every later step.

  2. Choose the exposure model from the options table

    The network owner compares the LoadBalancer and NodePort options in the networking options table and picks one exposure model for SFU and TURN traffic. The deciding questions are whether the platform can give the call endpoints the single IP that mixed TCP and UDP traffic needs, who owns the firewall in front of the cluster, and whether the team accepts TCP-only media as a fallback. Done when a short decision record names the model, the external address, the firewall owner and the fallback choice, and the network owner has reviewed it.

  3. Reserve a stable IP and DNS names

    The infrastructure team reserves a fixed external address for the call endpoints and creates DNS records for the signaling host and the TURN host, each pointing at the address its endpoint uses. Choose names that will survive upgrades, because the client configuration and the TURN settings refer to them. Done when forward lookups from the internal network and from an outside network return the reserved address for each name, and the names are recorded beside the release number.

  4. Set service type and protocols in values

    The platform engineer sets the service type and protocol settings for the call services in the Helmfile environment override for the target environment, using the chart keys named in the options table, and keeps the SFU at one replica. Keep these changes in the environment override file so each monthly upgrade diff stays reviewable. Done when the helmfile template output for that environment shows the expected Service type, the TCP and UDP ports on the chosen address and one SFU replica, and the signaling URL in the client configuration matches the host the cluster serves.

  5. Deploy TURN and wire credentials

    The platform team either deploys a TURN server or connects to one the organization already runs, then passes its URLs and shared credentials to openDesk through Kubernetes Secrets that the chart references by name. If restrictive networks must work, confirm whether the TURN listener must run on port 443 for them. Done when the call configuration shows the same TURN URLs and secret names the cluster serves, and a test client obtains a relay allocation from TURN over the path it will use in production.

  6. Verify calls from three network positions

    The team places test calls from three positions: inside the cluster network, from an outside network, and from a restrictive network that permits only outbound TCP, a case the TCP-only fallback and a TURN server on port 443 are meant to address. Each call needs audio and video in both directions and should use the signaling and TURN URLs the cluster serves. Done when all three calls connect and the record shows whether media went direct, through the SFU or through TURN from each position, with an owner for any failing position.

When a TURN server on port 443 is needed for restrictive networks

Calls in openDesk need a media path from each participant to the SFU, and some users cannot reach it. Networks with strict outbound filtering, or with proxies that only pass web traffic, can block the UDP and non-443 TCP ports that the default paths depend on. A TURN relay listening on TCP 443 gives those clients a route that looks like ordinary HTTPS, and networks like these usually allow that traffic. Affected users typically see failed or degraded calls, which help desks often misreport as a client fault. Whether you need a relay depends on where your users sit, so treat it as a decision to test before go-live.

The relay has real operating costs. It carries the call media itself, so every relayed stream consumes its bandwidth and adds a network hop that can slow calls that would otherwise connect directly. It needs capacity planning for peak concurrent calls, its own monitoring and alerts, and a restart and failover plan, because a relay outage leaves restrictive-network users with no working path. It also has to be reachable from the networks of the users who need it, which means a suitable address, DNS record and certificate, and a placement that your security team approves. Ask your network team which networks must reach the relay and whether the cluster's outbound rules allow the traffic it sends.

openDesk's openDesk requirements list a TURN server among the external production services you are expected to provide, so the relay belongs in the production design rather than being an optional extra. The practical question is whether the default paths work for your users. Measure this with pilot users on the networks your staff and partner organizations actually use, including managed laptops, guest Wi-Fi and any proxied segments. Record which calls connect, over which path, and how audio and video hold up. Then confirm the TURN and SFU settings against the release documentation for the version you deploy, because transport options can change between releases.

Securing call ports, TURN credentials and exposed media paths

Call traffic adds exposed UDP and TCP ports, a shared TURN credential and relay paths that sit outside the application services. The five checks cover what to allowlist, how to store the credential, how to secure the TURN endpoint, which network policies apply and what to monitor before go-live.

Map the UDP and TCP surface

Calls need UDP and TCP reachable on the edge, so every port your LoadBalancer or NodePort exposes is part of the attack surface. List each protocol and port from your rendered chart values, then allowlist only the source ranges your users and the TURN path need. Confirm the port set for your version before you write firewall rules, because a port left open for testing often stays open after go-live.

Keep TURN credentials in Secrets

The TURN shared credential lets anyone who holds it allocate relay capacity on your server, so handle it like a database password. Store it as a Kubernetes Secret and reference that Secret by name, keeping plain values out of values files and rendered manifests in Git. Confirm the key names the chart reads and check that your GitOps tooling never writes the decoded value into a repository or log.

Terminate TLS on the TURN endpoint

Clients on restrictive networks often reach TURN only through a TLS listener on port 443, so that endpoint is exposed to the internet and needs the same certificate discipline as your ingress. Confirm which TURN listeners your server offers, that its certificate chains to a root your clients trust (including your internal CA, if you use one), and that renewal is automated before expiry.

Verify network policy coverage

The openDesk security documentation describes network policies. Confirm, in the policy manifests your release renders, whether they select the SFU pods and the TURN path, and whether they permit only the ingress and egress calls need. Where a gap exists, write the policies yourself and verify the allowed flows with connectivity tests from inside the cluster. Keep the list of allowed flows in your change records so each policy change can be reviewed.

openDesk security docs

Log and monitor relay use

Relay use is only visible if the TURN server logs it, so confirm which events it records, such as allocations, relayed volume and failed authentication. Confirm where those logs go, who reviews them and how long your policy keeps them. Then set an alert for unusual allocation volume and check that the metrics reach the monitoring stack you run. Use the same approach as your other production services.

Test exposed call endpoints first

Exposed call endpoints belong in the scope of your cloud and infrastructure security test before go-live, alongside the load balancer, the SFU and the TURN server. Ask the tester to probe the exposed ports from outside your network and to report anything open that is not on your list. DeployOpen runs cloud and infrastructure security testing, and the scope can be agreed in writing before work starts.

Who runs call networking after go-live

The platform team owns the cluster side of call networking: the Helm values, the Services that expose the call ports, the firewall rules that match them and the monthly upgrade that can change any of them. openDesk supports only the latest minor version, so falling behind a monthly minor release leaves the deployment without support.

  • Helm values changes: Keep every call-related override in your environment values files so each monthly minor release shows a reviewable diff against the defaults. Record the service type, port and external address settings for the call components in the same change.
  • Service and firewall changes: After each upgrade, confirm which Services were created, recreated or changed type, and whether the external address still matches the firewall rules and DNS records.
  • Upgrade window: Plan the move to the newest minor version in advance. If you skipped minor versions, check the openDesk release management notes for intermediate steps before you apply the new release.
  • Questions for security: Ask which exposed ports and address ranges the next release changes, and whether the allowlist needs updating before rollout.
  • Questions for the service desk: Ask which failure patterns they saw after the last change, so you can test those paths in the next staging run.

Before each production change, check that the values diff, the Service diff and the firewall ticket are attached to the same change record.

Limits of openDesk networking for calls to confirm before you commit

Six limits in openDesk's call networking affect the cluster and firewall design more than the feature list does. Each one needs a decision or a confirmation from ZenDiS, your platform team or your network team before the port plan is fixed.

Single SFU replica limit

The MatrixRTC SFU runs as a single replica in the openDesk deployment, so call media has no built-in second instance to take over. Active calls on that pod are likely to drop when it restarts or moves. Plan maintenance windows around it and size capacity for one media path. Ask ZenDiS whether the release you plan to deploy still has this limit and how restarts are handled, then confirm the answer in the release notes before go-live.

openDesk releases

NodePort exposure on every node

If your cluster cannot give the SFU a LoadBalancer that carries both TCP and UDP, NodePort publishes high ports on every node, and clients reach those ports through node addresses. Each node then needs its own firewall rules for the call ports. Any node you add, replace or re-address later inherits that exposure. Ask your platform team which Service type your cloud or data center supports, and ask your network team how they will track node changes in the firewall policy.

Tested on kubespray only

openDesk's requirements name kubespray as the tested distribution and state that OpenShift is not tested. A call setup that works on kubespray is not evidence that it works on OpenShift, including the Service and firewall behavior described above. Ask ZenDiS whether a call proof of concept on OpenShift is supported and who carries the risk if it fails. Settle this before you choose the distribution, because changing it later affects every port decision.

openDesk requirements

Deprecated Ingress nginx

The openDesk requirements allow haproxy-ingress or Ingress nginx as the ingress controller, and Ingress nginx is deprecated. Call signalling reaches the cluster through that controller, so replacing it also changes how the signalling path is exposed to clients. Confirm that your chosen controller routes the MatrixRTC signalling hostnames correctly before you build on it. Ask your platform team for a plan to move off Ingress nginx before support for it ends, and test the move on a non-production cluster first.

Enterprise-only call admin tools

Element AdminBot and the Admin Console are listed as Enterprise-only features in openDesk's edition documentation. If your operators expect these tools for call administration, the Community Edition will not supply them. Ask ZenDiS which edition your organization would run, whether SLA-backed support covers these tools, and what the Enterprise license file and private registry require from your team before the deployment is planned.

Enterprise Edition docs

Federation port 8448 is separate

Synapse federates with other Matrix servers on port 8448 by default, and that listener is separate from the call media ports. Opening 8448 does not open the call media path, and the call ports do not replace it. Synapse's documentation recommends firewalling the federation listener, and an empty federation domain list disables federation. Confirm with ZenDiS whether your deployment federates at all, and only then open 8448 to the networks you agree on.

Synapse federation docs

What does openDesk networking for calls cost, and what do we need to provide?

What drives the cost of openDesk call networking work?

Scope drives the cost, and a quote follows from the written scope. DeployOpen does not publish a price list. Four inputs move the effort most:

  • Exposure model: whether calls stay on your internal network or also reach users on external networks and other organizations' servers.
  • Network zones: each zone between the cluster and the users adds routing, firewall and test work.
  • TURN hosting: a TURN server you run yourself, or one your team already operates, changes who builds and patches it.
  • Change process: firewall approvals and the test scope decide how many verification rounds are needed.

Most of this work is one-time. Load balancers, TURN hosts and any support retainer recur, so ask each quote to separate the two.

Can our own team run openDesk call networking without a partner?

Yes, if your team already runs openDesk on Kubernetes and has people who own the cluster, DNS, load balancers and firewalls. The work is mostly configuration and testing, so capacity and access often decide it as much as skill. Check three things before deciding. First, whether your team can expose the required ports through a load balancer that your change process allows. Second, whether someone will test calls from representative networks, including restrictive ones where a TURN server on port 443 may be needed. Third, who will handle failures after go-live. If you want a partner for part of the work, the written scope defines who does what.

How long does openDesk call networking work take?

The timeline is set by the written scope and by your change windows. Duration depends on how many network zones are involved, whether TURN hosting changes alongside the ports, how many firewall and load balancer owners must sign off, and how many test rounds the scope includes. Ask for a schedule that lists each change window as a dependency, because a firewall change that waits for the next window moves every test after it. Plan test time on representative networks as its own block, since calls that work on a lab network can still fail from restrictive office or guest networks. Once the scope and windows are agreed in writing, the schedule can be built from them.

What must our team provide before openDesk call networking starts?

Your team provides access, named owners and test users. Expect to provide:

  • Cluster access: a kubeconfig or equivalent role with rights to the namespaces and services involved, plus details of the existing ingress controller.
  • DNS: someone who can create and change the records for the call endpoints.
  • Firewall and load balancer owners: named people who approve port changes and can change load balancer settings.
  • Test users on representative networks: accounts on the networks your staff and partners actually use, including restrictive ones, so calls are tested where they are most likely to fail.

Agree who owns each item in the written scope. Missing owners are a likely cause of delay, so name them before the schedule is set.

What happens if calls fail after openDesk goes live?

Start by treating post go-live failures as network and configuration checks, then move to the application. Check the port exposure, the load balancer and the firewall path first, then confirm whether clients fall back to TCP or whether a TURN server is in the path. The single SFU replica may interrupt calls already in progress when that component restarts, so record the time and the component involved. Keep load balancer and firewall logs for the same window, along with the test users and networks that reproduced the failure. Ongoing investigation and fixes are available as a retainer, which DeployOpen offers alongside continuous testing and upgrades. Confirm response expectations in the written retainer terms before go-live.

Does openDesk Enterprise Edition change who supports calls after go-live?

The support path depends on the edition you run. ZenDiS recommends openDesk Enterprise Edition for production. It uses the same open-source core licenses but adds closed-source modules, an Enterprise-only registry and license file, and SLA-backed 2nd and 3rd level support and patches, sold as SaaS or for on-premises installation. The Community Edition is supported only by the community on openCode, with no SLA. For calls, the Enterprise edition gives you a contracted support route for the platform, while the Community Edition leaves escalation to community channels. Your team still operates the ports, DNS and firewall rules in your environment, so confirm the edition and support terms before you finalize the networking scope. openDesk Enterprise Edition docs

How DeployOpen scopes and delivers call networking for openDesk

DeployOpen treats call networking for openDesk as a defined piece of work: the ports, load balancer or NodePort exposure, TURN decision and firewall paths are written down before anything is changed. The work runs inside your own infrastructure, with the openDesk Kubernetes setup and its Helmfile configuration as the reference point.

How we scope

  • The written scope lists every call-related port, the exposure method and the TURN decision for your environment.
  • Scope records whether the cluster exposes UDP through a LoadBalancer or NodePort, and who controls those ports.
  • Fixed-scope engagements are agreed in writing before work starts, and ongoing support is available as a retainer.

How we build

  • Build the Service and firewall rules from the port list, and confirm the single-IP requirement on your load balancer.
  • Test the SFU and TURN paths from inside the client network, including a TCP-only fallback case.
  • Document the chosen exposure method, DNS names and certificate handling in the handover pack.

How we hand over

  • A handover pack with the port matrix, firewall change list, and the test results for each call path.
  • Runbook notes on the single SFU replica limit and what your team must monitor during calls.
  • Named owners for each firewall rule, DNS record and certificate, agreed before go-live.

How we support

  • Support covers changes to the port set, TURN settings and firewall rules across openDesk releases.
  • Ongoing support is available as a retainer, with retesting after each openDesk minor release you adopt.
  • Plan for openDesk's monthly minor releases and confirm the port set still matches the release you run.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.