Running Jitsi TURN on TCP port 443 for corporate networks

Jitsi TURN on TCP 443 lets participants on networks that allow only outbound HTTPS reach a meeting relay. This page covers the design, options, setup, certificates, security and testing a self-hosted deployment needs.

On this page

Why Jitsi TURN on TCP 443 matters for corporate networks

Some staff cannot join a Jitsi meeting because their corporate network allows only outbound TCP 443, so the direct UDP media path that Jitsi normally uses never gets through. A TURN relay listening on TCP 443 gives those clients a route they can reach: they connect out on a port the firewall already permits, and the relay carries their media to the bridge. The Jitsi handbook's Debian/Ubuntu quick start lists 80/TCP, 443/TCP and 10000/UDP as the ports to open, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional. Port 443 is the one every restricted network is most likely to allow, so it is the port to plan around when you size the firewall exceptions.

Treat this as a planning choice, not a default. A standard installation does not give you TURN on 443, and the design needs a second DNS name for the relay, a decision on how the web server and the TURN service share port 443 (for example, nginx stream multiplexing), and a certificate that clients trust. Confirm the exact coturn and proxy settings against the current Jitsi handbook and the documentation for the coturn and nginx versions you run, because the configuration keys and behavior change between releases. Ask your network team which outbound destinations and ports your restricted segments allow before you commit to a design, and test from one of those segments before any staff depend on it.

How a TCP 443 TURN connection reaches the bridge

The flow starts with a client on a restricted network that can only open TCP 443 outbound. The corporate firewall passes that connection to a shared nginx stream edge, which inspects the TLS handshake and routes TURN traffic to coturn while sending web traffic to the Jitsi web server. The media itself still travels to the videobridge on its own path, so the bridge's advertised address and UDP reachability remain separate checks. When testing, confirm which hops terminate TLS, which certificate the client sees for the TURN name, and that the bridge is reached through its own media route rather than through the edge.

Restricted clients reach TURN through the shared TCP 443 edge, with the bridge on its own media path.

Options for the TCP 443 TURN listener

This table compares three ways to place a TURN listener on TCP 443: a dedicated public address, nginx stream sharing 443 with the web server, and a separate TURN host behind a shared edge. Read each row as what that choice changes, then use the blast radius row to judge how much a compromise would expose. The main takeaway is that sharing 443 keeps DNS and certificates simple but couples TURN availability to the web tier.

Design pointDedicated public IP for TURNNginx stream on the web server addressSeparate TURN host behind a shared edge
DNSA separate TURN name points to its own addressA second name, such as turn.example.org, points to the same address as the web serverA separate name points to the edge, which forwards by SNI or port
Certificate handlingTURN host holds its own certificate for its nameCertificate for the TURN name is loaded where nginx terminates or passes TLS, so renewal touches the web tierCertificate lives on the TURN host or the edge, depending on whether TLS terminates there
Firewall rulesInbound 443/TCP only to the TURN host, plus media ports as coturn requiresInbound 443/TCP to the web server, which must route TURN traffic internallyInbound 443/TCP to the edge only, with an internal path to the TURN host
Operational loadOne more host to patch, monitor and back upNo new host, but nginx configuration grows and reloads affect both servicesHighest: extra host, edge rules and an additional failure point
Blast radius if compromisedLimited to the TURN host and its relay roleA flaw in the shared nginx or its stream block can reach the web applicationContained to the TURN host, but the edge still needs protection
Failure couplingTURN fails independently of the web appWeb server restart or config error can take down relay traffic tooEdge outage affects both unless the edge is redundant
Items to confirmConfirm coturn listener and TLS options for your coturn versionConfirm nginx stream and SNI mapping behavior for your nginx version and the TURN TLS handshakeConfirm how your edge passes TLS or TCP streams without breaking TURN framing

Choosing between a dedicated address and nginx stream multiplexing

On a single server with one public address, sharing TCP 443 between the Jitsi web server and TURN is often the practical choice, because there is no second address to manage and the TLS certificate for the main domain can be reused. Nginx stream mode can read the TLS server name on incoming connections and route TURN traffic to coturn while sending everything else to the web server. The trade-off is that one host now carries both web traffic and relayed media, so a fault or overload in one affects the other.

  • Address reuse: The TURN name can resolve to the same public address as the meeting domain, so no extra IP is needed.
  • Certificate reuse: A certificate covering the TURN name can sit alongside the web certificate, but it must be issued and renewed for that name.
  • Shared failure domain: A web server restart or config error also stops TURN, so plan a maintenance window that covers both.
  • Capacity limits: Relayed traffic competes with web and signalling load on the same network link.
  • Config ordering: The stream block must own port 443, which means the web server listens on an internal port.

Before choosing this path, confirm that no other service on the host needs port 443 and that your firewall allows the stream routing you plan.

Setting up TURN on TCP 443 step by step

This sequence gives users on restricted corporate networks a TURN path over TCP 443 that shares the port with the Jitsi web app, so calls can connect when only that port is open. Each step ends with a check you can run before moving to the next.

  1. Allocate a second DNS name on the edge

    Create a dedicated hostname, such as a TURN name separate from the meeting hostname, and point its A (or AAAA) record at the same public address that serves the Jitsi web app. The address must be the one your firewall forwards to the edge host for TCP 443. Confirm resolution from outside your network with a DNS lookup against a public resolver and check that the answer matches the edge address. Do not reuse the meeting hostname for TURN, because the name is what the client uses to select the TURN route at the proxy. Ask your DNS team to confirm the record is publicly visible, since split-horizon records can make the name resolve correctly inside but not from a restricted network.

  2. Issue a valid certificate for the TURN name

    Request a publicly trusted certificate for the new hostname from your certificate authority, using the same process you use for the meeting domain. Install the full chain on the edge host and keep the private key readable only by the proxy and coturn service accounts. Test from outside your network with an TLS client that shows the chain, and confirm the certificate is trusted, the name matches, and the expiry date is what you expect. The Jitsi handbook warns that self-signed certificates cause failures, especially on mobile clients, so a self-signed certificate here is not an acceptable shortcut. The check passes when a client outside your network validates the chain without warnings.

  3. Configure coturn for TLS over TCP

    Edit the coturn configuration so it listens for TLS on a local port that the proxy will reach, not on public port 443 directly. Set the realm to the TURN hostname, point the certificate and key options at the files from the previous step, and enable the TCP and TLS listeners you need. Keep the relay port range limited and disable any open-relay behavior, which means requiring authenticated sessions with the shared secret Jitsi uses. Restart coturn and confirm with the service status and the log output that the TLS listener is bound to the local address you chose. Use a local TLS client test to confirm the handshake completes with the correct certificate before adding the proxy in front of it.

  4. Route TLS by SNI in nginx stream

    Add a stream block to the nginx configuration on the edge host that listens on TCP 443 and reads the server name from the TLS ClientHello. Map the TURN hostname to the local coturn listener and send every other name to the local web server listener that handles the Jitsi web app. This is the step where the same port serves both web traffic and TURN, so the web server must move to a local port in the stream configuration while keeping its own TLS and vhost settings. Validate the file with the nginx configuration test, reload the service, and confirm the stream block has no conflicting listener on port 443. Be aware that proxies that terminate TLS before this point will break SNI routing, so confirm your load balancer passes the stream through unchanged.

  5. Point Jitsi advertised and TURN settings at the new name

    Update the Jitsi configuration so clients receive the TURN hostname on port 443 as a TURN server option. In a Docker deployment this is set in the .env file, and on Debian packages it is set in the Jitsi configuration files that Prosody and the web app read. Keep the advertised address settings for the videobridge unchanged unless your network needs them, and record each key you touch so you can roll back. Confirm the change by reading the effective values from the running containers or configuration files, not only from the source file. Coordinate this change with the team that owns the shared TURN secret so the credential generation on Prosody matches what coturn expects.

  6. Restart services and verify from a restricted network

    Restart the components in dependency order: coturn first, then the nginx service, then the Jitsi components that read the new settings. Confirm that the meeting page still loads over HTTPS on the same port and that a test room opens in a browser from outside your network. Then test from a network that allows only TCP 443, such as a guest or restricted VLAN, and confirm a one-to-one call connects through the TURN relay. Check the coturn logs for successful allocations on the TURN hostname, and confirm the web app traffic still works after the stream change. Record the results and the test networks used, so the evidence can be reused when you repeat the test after an upgrade.

Certificates and a second DNS name for port 443

The TURN name on port 443 needs a publicly trusted certificate, and it should be a dedicated DNS name such as turn.example.org rather than a path on the web hostname. The Jitsi handbook warns that self-signed certificates cause problems, especially with mobile clients, and a TURN relay that clients reach over TLS is no exception. A client that rejects the certificate will fall back to other paths or fail to connect, so the failure can look like a network fault when it is a trust fault. Ask your certificate authority or internal PKI team whether the certificate chain will be accepted by the browsers and mobile clients your users run, and confirm that the chain is complete before the first test.

A dedicated name is easier to reason about than a path on the web hostname because TURN is not an HTTP service. Coturn terminates TLS for its own protocol, and it needs its own certificate and key files, while the web server needs the certificate for the Jitsi site. Separate names let you change one service's DNS, certificate or firewall rule without touching the other, and they make logs and firewall rules easier to read. Plan which name is advertised to clients in the Jitsi configuration so that the TURN address matches the certificate exactly.

Renewal is where two services on one public address most often fail together. The certificate must reach both the web server and coturn, and each must reload after renewal, so write the reload step for both into your automation. Confirm with your certificate automation tool how it handles two services on one address, including whether a single certificate covers both names, where the files are written, and which hook restarts each service. Also confirm how your monitoring will alert you before expiry, because a silently expired TURN certificate only shows up when a restricted-network user cannot join.

Security risks of exposing TURN on port 443

Putting TURN on TCP 443 makes the relay reachable from networks that filter everything else, so the same exposure that helps a restricted user also reaches anyone else who can connect. The cards below cover the risks that follow from that exposure and the control to confirm for each before the listener goes live.

TURN as an open relay

A TURN server that accepts allocations from any client can carry traffic for strangers, which makes your server a free relay and a source of abuse you will be blamed for. Confirm that the coturn configuration only issues credentials to requests from your Jitsi deployment, and that the realm and authentication settings reject unknown users. Test from outside your network with a client that has no valid credentials and confirm the allocation is refused.

Jitsi quick start

Credentials leaking through the shared edge

On port 443 the TURN listener shares an address with the web app, so a misconfigured proxy rule, debug page or access log can expose the TURN secret or the short-lived credentials issued to users. Confirm that the shared secret is stored outside web-served directories, that proxy logs do not record query strings or authorization headers for the TURN path, and that the credential lifetime is short enough that a leaked value expires quickly.

Weak TLS on the TURN listener

The TURN listener carries TLS for the restricted-network path, and an outdated protocol version or weak cipher suite there weakens every session that depends on it. Confirm the TLS policy on the stream or proxy block matches the one used by your web server, that certificates come from a trusted authority with a valid name for the TURN domain, and that the supported protocol versions and ciphers are reviewed when you upgrade nginx or coturn.

TURN host reaching internal networks

A relay host that can route to internal subnets lets relayed traffic reach systems that were never meant to receive it from the internet. Confirm that egress rules on the TURN host allow only the media paths your videobridge needs, that private address ranges are denied by the coturn peer rules, and that the host sits in a segment where a compromise cannot reach databases or management interfaces.

Corporate proxies breaking TLS

Some corporate inspection proxies terminate and re-encrypt TLS, which can break the TURN handshake or quietly expose relayed media to a third party's certificate chain. Confirm with the security team whether TLS inspection applies to the TURN domain, whether it can be exempted by name, and whether the proxy's trust store matters for your certificate choice. Document the decision so the exception is reviewed along with the rest of the network policy.

Logging of relayed metadata

TURN logs record who connected, from which address, when, and how much data moved, which is sensitive metadata for meetings in regulated sectors. Confirm which fields coturn writes, where the logs are shipped, who can read them, and how long they are kept under your retention policy. Keep the logging level sized to your troubleshooting needs rather than to the most verbose setting.

Questions buyers ask about TURN on TCP 443

How much does a Jitsi TURN on TCP 443 setup cost?

No price is published for this work, and the cost follows from a written scope. The main cost is labor: the design of the second DNS name, the nginx stream layout alongside the existing web server, certificate issuance, coturn configuration and testing from a restricted network. Other cost drivers are the number of networks you need to test from, whether the change touches a shared load balancer or WAF, and how many firewall change requests your own security team must review. Ask for the quote to list each item separately, state which parts are one-time and which recur, and name who supplies the test network and the DNS and certificate access. Compare it with your internal labor estimate for the same items, not with the cost of the server alone.

How long does it take to add TURN on port 443?

Duration depends on how many approvals sit in the path, more than on the technical build itself. The sequence has a design step, a DNS and certificate step, a server configuration step, a firewall change, and a test pass from a network that allows only TCP 443. Firewall and change-control lead times usually set the schedule, so start those requests early. Ask for a timeline in the written scope that marks which steps depend on your teams and which depend on the vendor or the implementation partner. No general duration is given here because none was supplied for this topic.

What does our internal team need to provide for this work?

Your team supplies four things before the build starts:

  • A second DNS name that resolves to the Jitsi host and can be served from your DNS zone.
  • A valid certificate for that name, issued by a public or internal CA your clients trust, since self-signed certificates cause failures on mobile clients according to the Jitsi handbook.
  • Firewall change requests that allow TCP 443 to the host from the networks in scope, plus any proxy or WAF rules that inspect or block the traffic.
  • A test network that permits only TCP 443 outbound, so the fallback path is proven under the conditions it is meant for.

Ask the partner to list these inputs in the scope with an owner and a date for each.

Can our own team build TURN on TCP 443 without a partner?

A team with Linux, nginx and TLS experience can build it, provided it has time to test and the access to make DNS, certificate and firewall changes. The Jitsi scalable setup guide warns that building more complex Jitsi infrastructure is not a task for beginning administrators and recommends configuration management tools, so the risk lies in an unrepeatable setup and in breaking the existing web server on the same port. Consider a partner if your team lacks nginx stream experience, cannot get a restricted test network, or needs the work documented for an assessment. Whichever route you choose, write the configuration in a repeatable form and keep a rollback path for the shared port 443 service.

What ongoing work comes after TURN on TCP 443 is live?

Several tasks recur after go-live. Certificates must be renewed before they expire, and a renewal failure on this path breaks clients that rely on it. Jitsi and coturn updates change configuration and sometimes packages, so each upgrade needs a retest from the restricted network. Firewall rules, DNS records and proxy or WAF policies drift over time and need periodic review. Monitoring should confirm that the TURN listener on 443 stays reachable and that certificate expiry is tracked. Ask any quote to separate these recurring tasks from the one-time build and to state whether ongoing support is a retainer or a per-incident arrangement.

What makes the cost of TCP 443 TURN go up?

Costs rise with the number of hostnames, server nodes and networks involved. A single Jitsi host with one DNS name and one test network is the simplest case. Each additional bridge, region, or sharing of port 443 with other services adds design and testing work. Strict security reviews, multiple change boards, and a WAF that inspects TLS traffic all add time. Requirements for documented evidence, such as material for an internal assessment, also add effort. Ask the partner to name which of these conditions apply to your environment before accepting a quote.

Does TURN on TCP 443 help with security or compliance reviews?

It supports the connectivity goal but does not on its own satisfy a security or compliance requirement. Jitsi Meet audio and video is encrypted on the network with DTLS-SRTP according to the Jitsi security page, and the TLS layer on port 443 adds a second encrypted path for restricted networks. A TURN relay must not become an open relay, so credentials and access should be restricted. DeployOpen prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications, and independent auditors make that determination.

Limits to confirm before you commit to port 443

Running TURN on TCP port 443 adds a relay path that only works if several layers cooperate. Each card below names one limit to confirm in your own environment before you commit to the design, because the answers depend on your network, your TURN software and your Jitsi version.

TURN software TCP and TLS behavior

Confirm how your TURN server version handles TCP and TLS allocations on the port you plan to use, including which transports it accepts for relayed media and how it reports them in logs. Ask the vendor or project for the exact behavior of your release rather than relying on older guides. Test a TLS allocation end to end before you plan any further work around it.

Jitsi Meet repository

Firewall and proxy handshake rules

Verify that the corporate firewall or outbound proxy allows the chosen port and completes the TLS handshake without inspecting or rewriting it. Many egress policies allow TCP 443 only for known web traffic, so a relay that presents a non-HTTP handshake can be blocked even though the port is open. Ask the network team for the policy in writing and test from a client inside that network.

Relayed media performance

Measure call quality when media is relayed through TURN compared with a direct path between participants. Relayed traffic adds a hop, uses the TURN host's bandwidth and can add latency and packet loss under load. Run test calls at the sizes and durations your users expect and record the results before you set expectations for the rollout.

WAF and load balancer passthrough

Confirm that any WAF, load balancer or reverse proxy in front of the server forwards the TLS stream on port 443 unmodified. Products that terminate TLS, inspect payloads or enforce HTTP-only rules will break the relay even when the port is reachable. Ask the platform team which inspection features apply to this host and whether they can be exempted.

Jitsi version and TURN settings

Check that the Jitsi release you run supports the TURN settings described for your deployment, since option names and defaults change between builds. Confirm how Prosody issues TURN credentials and which configuration keys your release reads. Plan an upgrade test against your current build before you change the setup in production.

Debian quick start

Concurrent relayed session capacity

Establish how many simultaneous relayed sessions one TURN host can carry at your target bandwidth, and do not assume a figure from a vendor page. Load test with realistic call patterns, watch CPU, memory, file descriptors and network throughput, and set a limit with headroom. Repeat the test after each change to the host size, TURN version or proxy layer.

Testing TURN on 443 from a restricted network

The test that matters for a TURN on 443 setup is a client on the same kind of network your target users sit on, not a test from your office or the open internet. A client on an open network will usually connect over UDP or direct paths and never touch the relay, so it proves very little. The restricted test client should allow only TCP 443 outbound, block UDP and every other port, and start from a clean browser or client profile so that cached sessions, stored permissions and earlier certificate exceptions cannot hide a failure. Build this network with a firewall rule set or a test VLAN that matches the policy your change owner has described, and record the rules you applied.

Run a short, repeatable test plan. Join a meeting from the restricted client, bring in a second participant on a different network, and confirm that audio and video flow in both directions. Then confirm that media is actually going through the relay on port 443 rather than failing silently or falling back to a path that the restricted network would not allow. Check the connection details the client reports, and watch the TURN server logs for allocations from the test client's address. Repeat the same steps for each browser and version your organization supports, and for the desktop client if it is in scope. Confirm the browser and version list with the change owner before testing starts, because the matrix defines how much evidence the change needs.

Keep the test records as evidence. For each run, note the date, the client and build, the browser version, the network rules applied, the second participant's location, the result and any errors with their timestamps. Store the records with the change ticket so the change owner, security reviewers and any later auditor can see what was tested and how. Retest after any change to the certificate, the web server configuration, the firewall policy or the Jitsi release, because each of those can break the 443 path without touching the rest of the deployment.

How DeployOpen scopes and delivers TURN on TCP 443

DeployOpen plans, builds and hands over a TURN on TCP 443 path for Jitsi Meet inside your own infrastructure, so users on restricted corporate networks can reach media through the same web entry point. Each engagement starts from a written scope that names the network rules, DNS names, certificates and test users involved.

How we scope

  • Map which outbound ports and protocols your corporate networks allow, and which ones they block for video traffic.
  • Agree the second DNS name, certificate approach and the nginx stream layout on the existing web server in writing.
  • Confirm which networks, locations and user groups must be tested, and who signs off the restricted-network results.

How we build

  • Configure coturn and the TCP 443 route alongside the existing Jitsi web server, keeping HTTPS for the web app intact.
  • Issue and install the certificate for the TURN name and check that clients accept it without self-signed warnings.
  • Test from a restricted network segment with the same browsers and devices your users rely on, and record the results.

How we hand over

  • Deliver the configuration, DNS records, certificate renewal steps and firewall rule list as documentation your team can run.
  • Walk your operators through the test cases, the expected results and the logs to check when a call fails to connect.
  • Record every deviation from the agreed scope so your team knows what was changed and why.

How we support

  • Engagements are fixed-scope, so changes to networks, Jitsi versions or certificates are scoped separately in writing.
  • Ongoing support, upgrades and retesting after Jitsi or network changes are available as a retainer.
  • Confirm the retainer terms, response expectations and the upgrade cadence with us before the work starts.

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.