Configuring Jitsi Videobridge advertised addresses behind NAT

Jitsi media fails when the videobridge advertises a private or wrong address. This page explains how to set advertised addresses behind NAT or in the cloud, verify them, and test from outside.

On this page

Why Jitsi Videobridge advertised addresses decide whether video works behind NAT

When the Jitsi web app loads but remote participants see no video or hear no audio, the most likely cause is that the Jitsi Videobridge (JVB) told clients an address they cannot reach. The bridge must advertise the address that clients can actually send media to, and that address is often not the one the server holds on its own network interface. Behind NAT, or on a cloud virtual machine with a public address mapped to a private one, the bridge sees only its internal address unless you configure it otherwise. The setting that controls this is JVB_ADVERTISE_IPS in the Docker .env file, or the equivalent bridge property on a Debian package install, and it tells the bridge which addresses to place in the candidates it hands to browsers.

You need this configuration whenever the bridge host is not directly reachable on the address it uses locally. Typical cases include a VM with a public address assigned through the cloud provider, an office server behind a firewall that forwards UDP, and any setup where internal and external users need different routes to the same bridge. The Jitsi Debian/Ubuntu quick start requires 10000/UDP open to the bridge, and a NAT rule that forwards this port to the wrong internal address fails silently from the user's point of view. In the Docker setup, the jvb service runs as its own container, so the advertised address must be the address the host exposes, not the container's internal network address. Confirm the bridge's public address and port mapping before you change any setting, because a correct value with a closed port still produces no media.

Before you test with real participants, check which candidates the bridge advertises and whether they match what an outside network can reach. Run the test from a network outside your own, such as a mobile hotspot, because a test from inside the office may succeed over a route that remote users never take. STUN discovery helps browsers learn their public mapping, but it does not replace a correct advertised address on the bridge. Ask your network or cloud team to document the public address, the NAT mapping and the firewall rule for UDP, and keep that record with your configuration so that a later change to the cloud address or the router does not break media again.

Which advertised address setting fits your environment

When the bridge host holds a public address directly on its network interface, no translation sits between the bridge and clients. The advertised address is that public IP, and you set JVB_ADVERTISE_IPS to the address the host owns. Confirm the address by checking the interface on the host itself, since a provider dashboard can show a different value from what the operating system uses.

  • Public address on the interface: Check that the public IP appears on a network interface on the host, not only in the provider's control panel.
  • UDP reachability: Confirm that 10000/UDP reaches the host from the internet and that no host firewall drops it.
  • IPv6 addresses: Confirm whether the host has IPv6 addresses and whether clients will use them, since that decides which addresses you advertise.
  • Upstream filtering: Ask the hosting provider whether UDP is rate limited or blocked on that network segment.

Check reachability from a network outside your own before inviting users, because a correct local configuration can still fail behind a provider filter.

Advertised address options and when each fits

This table compares the ways to tell Jitsi Videobridge which address to advertise to clients: the Docker .env setting, the Debian package equivalent, and STUN-based discovery. Read each row against your install method and network layout, then confirm exact keys in the handbook for that method before you change anything. The main takeaway is that a wrong advertised address usually produces a call that connects but has no media, so verify from outside the network after every change.

OptionWhere it is setWhen it fitsMain risk
JVB_ADVERTISE_IPSDocker .env file, read by the jvb containerDocker installs where the host has one public address, or a known NAT mapping you can write downWrong or stale public IP after a cloud address change leaves clients with no media path
Debian package equivalentVideobridge configuration on the bridge host, set by the package install; confirm the exact key for your versionPackage installs on a host with a fixed public address that you manage directlySetting left at the internal address, so external participants cannot reach media while internal ones can
STUN-based discoveryBridge configuration pointing at a STUN server; confirm the setting name in the handbook for your releaseHosts behind NAT where the public mapping is not known in advance and the STUN server is reachable from the bridgeDiscovery returns an address that differs from the path clients actually use, and the STUN server becomes a dependency
Cloud instance with elastic addressAdvertised value set to the public address of the instance, updated when the address changesCloud VMs where the public address is attached and can be kept stableAddress changes on restart or reassignment and the advertised value is not updated
Several networks with one bridgeAdvertised values set for each address the bridge is reached on; confirm supported format in the handbookInternal and external users sharing one bridge through different routesClients receive an address they cannot reach from their network, which needs split-horizon planning
Firewall rule for UDP mediaHost or cloud firewall, with the media port opened to the bridge; confirm the port in your configurationEvery NAT or cloud setup, because advertised addresses only help if the port is reachableAddress is correct but UDP 10000 is closed, so calls fail without an obvious error

How to set and verify advertised addresses step by step

This sequence takes a bridge from an unknown public path to a verified advertised address that outside participants can reach for media. Each step ends with a check so you know whether to move on or stop and fix the mapping.

  1. Confirm the public address and NAT mapping

    Start on the router or cloud firewall that sits in front of the bridge host. Record the public IP address that outside clients will use, and confirm which private address the bridge host has. In a cloud network, check whether the instance has a public address attached or is reached through a separate NAT gateway or elastic address. Your network or cloud team should own this step, since they hold the firewall and routing records. It is done when you have written down one public address and one private address for the bridge, with the mapping between them confirmed in the device or cloud console. If the public address changes on restart or the mapping is unclear, stop here, because every later step depends on a stable address.

  2. Confirm UDP 10000 forwards to the bridge

    Create or verify a rule that forwards inbound UDP 10000 from the public address to the bridge host on the same port. The Jitsi quick start lists 10000/UDP as a required port, so this rule is not optional for media. Check that the cloud security group or host firewall also allows that port, because a permissive router with a closed host firewall still blocks traffic. The check is an external test: from a network outside your own, such as a mobile hotspot or a cloud shell in another region, send a UDP probe to the public address on port 10000 and confirm the packet arrives at the bridge. Use the port scanner or capture tool on the bridge to see the packet, and record the result before moving on.

  3. Set the advertised address on the bridge

    On the bridge host, set the advertised address to the public IP that clients must reach. In a Debian or Ubuntu install, this is typically handled through the Jitsi configuration for the videobridge, and in the Docker setup it is passed through the environment file as the JVB advertise setting. Confirm the exact key name and file location for your installed version in the Jitsi handbook before you edit anything, because the setting name and path differ between packaging methods. Keep a copy of the original file so you can roll back. The check at this point is a file review: open the edited file and confirm that only the advertised address value changed and that it matches the public address from step one.

  4. Restart the videobridge and read the startup log

    Restart the videobridge service so it reads the new setting, using the service manager for a package install or the container restart for a Docker install. Then read the bridge log from the startup period. Look for the advertised address in the ICE candidate or startup output and confirm it shows the public address, not the private address or a loopback address. If the log still shows the private address, the setting was not loaded, so check the file path and the container environment again. This check also confirms the service started cleanly, so note any errors around certificates or Java before you continue.

  5. Confirm the bridge is reachable from outside

    Test again from outside your network, not from a machine inside the same LAN or VPC, because internal tests can succeed through paths that outside users never use. Join a test meeting from an external network with two participants so media flows through the bridge. Confirm audio and video reach the other participant in both directions. If media fails only for outside users, go back to the mapping and forwarding steps. Keep in mind that the Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially on mobile clients. Verify the certificate is valid and trusted before you judge the media path, because a certificate error can look like a network failure.

  6. Record the verified configuration

    Write down the final public address, the forwarded ports, the setting name and file location, the bridge version and the date of the external test. Store this with your change record so the next upgrade or network change can be checked against it. Note which external network you tested from and the result for each participant. The output of this step is a short record that a colleague could use to repeat the test without reading the whole history, and it is the basis for the monitoring and troubleshooting steps that follow.

How client media reaches the videobridge through NAT

The diagram starts with a remote browser that first reaches the web server over HTTPS for signalling, then sends media toward the videobridge's public address. The NAT or cloud firewall forwards UDP 10000 to the private-address videobridge, which is the point where the advertised address must match what the browser can reach. The STUN exchange shows how the reachable candidate is discovered. Check that the trust boundary is crossed only on the ports you intend to open, and that the advertised address is the one clients can actually route to.

Signalling and media paths from a remote browser through the NAT to the bridge.

Common mistakes that keep media from flowing

Most failed Jitsi calls with remote participants trace back to a handful of address and firewall errors rather than to the bridge itself. The cards below describe each mistake, the symptom it produces and the check that confirms it, so you can work through them in order when media does not reach a participant.

Advertising a private address

The bridge advertises an address from the internal network, such as a 10.x or 192.168.x address, so remote browsers send media to a destination they cannot reach. Participants on the LAN connect fine, while people outside see video frozen or no audio at all. Check the address the bridge advertises against what an outside host sees for your public IP, and confirm JVB_ADVERTISE_IPS lists the public address.

Mismatched NAT mapping on the router

The router maps the public address to the bridge with a different internal address or a different port than the one the bridge expects. Signalling looks healthy because it runs over TCP 443 through the web server, but media on UDP fails silently. Compare the router's port forwarding or NAT rules with the bridge host's address and confirm the mapping covers the same UDP port the bridge listens on.

Firewall blocking 10000/UDP

A host firewall or edge firewall drops inbound UDP on the media port, so the bridge receives nothing from outside. The quick start lists 10000/UDP among the ports to open, and a rule that allows only 443 will pass the web app while blocking calls. Test from an outside network with a UDP probe and check the firewall's logs for dropped packets on that port.

Quick start ports

Cloud security group missing the rule

The virtual machine's firewall is open, but the cloud provider's security group or network access list does not allow inbound UDP 10000. This is easy to miss because the instance appears correctly configured from inside. Review the security group attached to the bridge's network interface and confirm the rule allows the media port from the internet, not only from a restricted range.

Self-signed certificate breaking clients

The site runs on a self-signed or untrusted certificate, so browsers and especially mobile clients refuse to establish the media session even when the bridge is correctly configured. The handbook warns about this failure mode directly. Open the site in a private browser window and on a phone, check the certificate chain, and replace it with a certificate from a trusted authority for your domain before you debug the bridge.

Quick start requirements

Changing the public IP without updating settings

The public address changes after a reboot, a provider migration or a new elastic address, but the advertised address in the bridge configuration still points to the old one. Calls set up but media fails for every outside participant, and internal users remain unaffected. Record the public address in your change checklist, restart the bridge after updating the setting, and retest from outside after any network change.

What to check on the bridge after you change its address

After you change the advertised address on a Jitsi Videobridge, confirm that media actually flows through the new address before you call the change finished. A bridge that advertises a stale public IP can still show a working meeting page while clients fail to send or receive video, so run a two-party test from outside your network and a test from inside it once the change is live. Keep a written record of the address value you set, the interface it maps to, and the public address your NAT or cloud provider assigned, so the next person can compare them quickly. The Jitsi security page explains that all audio and video is encrypted on the network with DTLS-SRTP and that the videobridge decrypts packets in memory while routing and never stores them. Those are design facts about the software, and they do not by themselves describe how your own logging, packet capture or storage is configured. Confirm with your security team which capture and retention settings apply to your bridge hosts before you describe the data flow to an assessor.

Public addresses change more often than teams expect. Cloud instances can receive a new public IP after a stop and start, a redeployment from an image, a change of availability zone, or a rebuild of the load balancer or NAT gateway in front of the bridge. Each of these events can silently break media while the web app still loads, so add the bridge's advertised address to the checks you run after any infrastructure change, not only after Jitsi changes. Ask your cloud or network team to tell you when a public address moves, and treat an unexpected change as a reason to retest, not just to update a value. If you use a static address or an elastic address, confirm that it stays attached to the bridge across a restart in your environment.

Recheck the advertised address after every Jitsi upgrade and after changes to the container or package layout, because the configuration path and file locations can change between releases. The Jitsi upgrade guidance in this section group and the Jitsi handbook are the places to confirm which settings your version reads, so compare the bridge configuration with the current documentation before you assume the old value still applies. Repeat the outside test after each upgrade window, and keep the test results with your change record so the evidence of what was verified and when is available to your compliance team. These checks support operational reliability. They do not, on their own, establish any compliance outcome.

Limits to confirm in your environment before you rely on this setup

Advertised address settings only work when the network around the bridge matches what you configure. The cards below cover the checks that most often separate a working NAT setup from one that connects some participants and silently fails for others.

Exact setting name for your install

The setting name depends on how you installed Jitsi. Debian packages, the Docker stack and custom container builds read bridge options from different files and variables, and a name that works in one layout can be ignored in another. Confirm the exact key for your version in the handbook and restart the bridge after the change. Then check the advertised address in the bridge logs and in a test call, not only in the configuration file.

Docker guide

Firewall and carrier-grade NAT mappings

Advertising a public address only helps if inbound UDP reaches the bridge on the port you advertise. Confirm that your firewall forwards the media port to the bridge host, and that no upstream device rewrites ports again. Carrier-grade NAT on some ISPs and mobile networks can break the mapping that STUN discovery expects. Test from a network outside your own.

Media port to open
10000/UDP

Whether internal users need a separate path

A single advertised public address can send users on your own LAN out through the router and back in, which many networks handle poorly. Decide whether internal participants need a different advertised address or internal DNS. That design is covered in the split-horizon setup, so settle it before you test with mixed locations.

Fallback for restrictive networks

Some corporate and public networks allow only outbound TCP on port 443, so UDP media through the bridge never connects no matter how the addresses are set. Decide early whether those users must be supported. If they must, plan the TURN fallback and its port 443 design as a separate build, and do not assume the advertised address setting alone covers them.

Changes to the cloud provider address

Public addresses on many cloud instances change after a stop, restart or rebuild unless you attach a reserved address. A stale advertised address causes calls to fail without a clear error message. Confirm whether your provider keeps the address stable, decide whether to use a reserved address or a DNS name, and add a check to your restart and update runbook.

Questions teams ask about Jitsi advertised addresses behind NAT

How much effort does configuring Jitsi advertised addresses take for a team with Linux and networking skills?

For a team that already administers Linux servers and understands NAT, the bridge change itself is small: the videobridge must advertise the public address that clients can reach, usually set through JVB_ADVERTISE_IPS in the Docker .env file or the equivalent setting in a Debian install. The effort sits in the surrounding work: confirming the public and private addresses, opening UDP port 10000 through every firewall and cloud security group, checking that the bridge sees the right interface, and testing with participants outside the network. Teams new to media traffic often underestimate the last step. Plan time for at least one full cycle of change, restart and outside test, and confirm the exact variable names against the Jitsi handbook for your release before you edit anything.

Is a partner worth it for Jitsi NAT configuration, and when is it not?

A partner is worth considering when the network has several layers, such as a cloud VPC, a hardware firewall, a load balancer and a WAF, or when the bridge must serve both internal and external users. The Jitsi scalable setup guide warns that building scalable infrastructure is not a task for beginning administrators and recommends configuration management tools such as Ansible or Puppet, which signals that network-facing changes benefit from experienced hands. A partner is less necessary when one bridge sits on a single public IP with clear firewall rules and your team can run outside tests. DeployOpen works on fixed-scope engagements, so the written scope should name the network diagram reviewed, the settings changed, the tests run and the handover notes delivered before work starts.

What does the work need from our side: router, cloud console, DNS and a test network?

Expect to provide access to each control point that decides where media packets go. The usual list includes:

  • Firewall or router rules for UDP 10000 and any TCP fallback ports, with the NAT mappings that forward them to the bridge.
  • Cloud console access to security groups, network ACLs, elastic or static public IPs and load balancer listeners.
  • DNS records for the Jitsi hostname, and a view of any internal DNS that resolves the same name for LAN users.
  • A separate test network or mobile hotspot outside your perimeter, so tests reflect a real external path.

Ask the engineer who does the work to name each item in writing, and confirm who holds change approval for production firewalls before the first test window.

Can we change the advertised addresses without downtime?

Often yes, but the answer depends on how the bridge is deployed. A single-bridge setup restarts the videobridge when the advertised address changes, which drops active meetings on that bridge. A deployment with several bridges can drain one at a time, after moving new conferences away from it, then apply the change and verify before returning it to service. Schedule the change for a window with few meetings, check current load from your monitoring, and keep a rollback copy of the prior .env or configuration file. Confirm with your vendor or the Jitsi handbook how the restart and drain steps apply to your release, because the exact behavior depends on the version you run.

How do we test advertised addresses from outside our network?

Test from a network that is not part of your office LAN, such as a mobile hotspot or a cloud instance in a different VPC. Join a meeting from outside, confirm that audio and video flow in both directions, and check that the browser connects over UDP to the public address rather than falling back to a relay. Repeat with a second participant, since problems often appear only with three or more participants. Use browser connection statistics and the bridge logs to see which candidate addresses were chosen. For STUN discovery, check that the public address reported to clients matches what your firewall maps. Record each test with the time, network and result so the next change can be compared against it.

What drives the cost of this work up or down?

The cost of this work follows the number of network layers and the number of bridges, not the single setting itself. Cost rises with a hybrid split between LAN and internet users, several bridges behind load balancers, cloud security groups managed by another team, strict change control with multiple approval steps, and a need for evidence for an auditor. Cost falls when the network diagram is current, the firewall and cloud rules are documented, a test network already exists, and the bridge runs on a single public address. For any quote, ask the provider to list the written scope, who performs each test, what evidence is delivered, whether retesting after future upgrades is included, and which items are one-time versus ongoing support.

Which settings do we confirm before we start testing?

Confirm the public IP that clients will reach, the private IP the bridge binds to, and the mapping between them on every NAT device. Check that UDP 10000 is open end to end, and that the Jitsi hostname resolves to the address your web server serves. Verify that the bridge advertises the public address and not an internal one, using the variable your release documents for JVB_ADVERTISE_IPS or its equivalent. Also confirm that HTTPS works with a proper domain certificate, because the Jitsi handbook states that HTTPS is necessary for working audio and video and that self-signed certificates cause problems, especially with mobile clients. Write these values down before the first outside test so any later mismatch is easy to trace.

Where to read the official Jitsi guidance

Before you change any advertised address, read the official Jitsi handbook alongside your own network diagram. The Jitsi handbook self-hosting guide explains how the web server, Prosody, Jicofo and Jitsi Videobridge fit together, and it is the right place to confirm which component owns which address and port. For the firewall side, the Debian/Ubuntu quick start lists the ports a deployment needs open: 80/TCP, 443/TCP and 10000/UDP, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional. Compare that list against every firewall, load balancer and NAT rule between the bridge and the internet, because the bridge's media port is the one most often blocked without anyone noticing.

Use the quick start as a checklist, not a complete design. It assumes a single host, so if your bridge sits behind a separate public address, a cloud NAT gateway or a split-horizon DNS setup, confirm each mapping yourself and verify that the UDP port is reachable from outside your network. Ask your platform or network team to confirm the public address, the internal address and any port translation for each bridge before you set JVB_ADVERTISE_IPS or the equivalent setting in your install method.

If you plan more than one bridge, read the Jitsi scalable setup guide before you add the second one. It states that videobridges scale horizontally by adding more, and that the default install is already set up for that. It also warns that a scalable infrastructure is not a task for beginning administrators and recommends configuration management tools such as Ansible or Puppet. Each new bridge needs its own correct advertised address, so plan those settings in your configuration management from the start rather than editing them by hand on each host.

How DeployOpen scopes and delivers Jitsi NAT configuration

DeployOpen treats advertised addresses as part of the network design, not a last-minute setting. We scope the topology, configure the bridge around the addresses media actually uses, and test media from outside the network before handover. The work runs inside your own cloud accounts, data centers or private networks.

How we scope

  • Map which addresses each bridge sees locally and which ones external participants reach.
  • Confirm the public IP, NAT type and cloud address model for every videobridge host.
  • Agree in writing which UDP and TCP ports are open, and which firewall owners must act.

How we build

  • Set the advertised address values for each bridge and check them against the chosen topology.
  • Verify STUN discovery and the candidate addresses the bridge publishes during a test call.
  • Run a call from outside the network and record which path media takes for each participant.

How we hand over

  • Deliver the final bridge configuration, network diagram and port matrix as written documentation.
  • Include the external test procedure so your team can repeat it after changes or upgrades.
  • Walk through the runbook for address changes, including what to recheck after an IP moves.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer.
  • Ask any provider to confirm how they will retest NAT settings after firewall, cloud or Jitsi version changes.

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.