Jitsi split-horizon setup for LAN and internet users

Serve office and internet users from one self-hosted Jitsi Meet by planning split-horizon DNS, advertised bridge addresses and ports, and hairpin NAT behavior before go-live.

On this page

Why a Jitsi split-horizon setup matters for LAN and internet users

Split-horizon DNS resolves one Jitsi hostname to different addresses depending on where the client sits, so staff on the office LAN and remote staff or guests on the internet can join the same meeting URL. The reason this matters is that a Jitsi Videobridge (JVB) tells each participant which addresses to send media to, and those addresses must be reachable from that participant's network. A single public address works for internet users but often forces LAN users through a router that does not handle the return path cleanly, while a single private address works on the LAN and fails for everyone outside it.

The roles stay the same as in a standard install. The web server serves the web app, Prosody handles XMPP signalling, Jicofo manages conferences and one or more JVBs carry media, as described in the Jitsi self-hosting guide. What changes is the DNS answer for the hostname and the addresses and ports the bridge advertises. The Debian/Ubuntu quick start expects 80/TCP, 443/TCP and 10000/UDP to be open, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional extras. Confirm which of these your internal firewalls and external edge actually expose before you plan the address map, because a missing UDP path will look like a media failure rather than a DNS failure.

Before building anything, decide which internal networks will join, which external paths they will use, and who owns the internal DNS zone. Write the matrix of client location, resolved address, advertised media address and required port, then test each row from a real device on each network. Ask your network team to confirm whether internal clients reach the public address through hairpin NAT or whether they will be routed directly, since that choice decides which advertised addresses you need. Keep the matrix with your change records, because every firewall or NAT change later can silently break one row.

How internal and external clients reach the same Jitsi

The diagram starts with two client groups: LAN users who resolve the Jitsi hostname to a private address, and internet users who resolve it to a public address. Each group reaches the web server, which serves the web app, and then the signalling path through Prosob XMPP and Jicofo before media goes to the videobridge. The firewall or NAT boundary sits between the public side and the bridge, and the hairpin path shows internal clients that should not send media out to the public address and back in. Check that each group receives the right advertised address for media.

Internal and external clients share one Jitsi server but take different network paths.

How the videobridge advertised address decides whether media connects

The videobridge advertised address decides whether a browser can send and receive media on the UDP port that carries it, so it is the first setting to plan in a split-horizon design. Browsers gather candidate addresses during connection setup, and the bridge tells each client which address to use for media on 10000/UDP. Clients on the internet reach that address through your public NAT or firewall, while clients on the office LAN need an address they can reach directly on the internal network. If the bridge advertises only one public address, LAN clients must send their packets out to the router and back in again, which is the hairpin pattern that many NAT devices refuse or handle badly.

The usual approach is to advertise more than one address, or to answer DNS differently for internal and external clients so that each group receives a bridge address it can reach. Split-horizon DNS means your internal resolver returns the private address of the bridge while the public resolver returns the public one, and the same name works for both audiences. Advertising multiple addresses requires the bridge to publish both candidates, so clients can pick the one that routes. Confirm the exact bridge setting names, the comma-separated or list syntax for several addresses, and how the Docker and Debian packages pass them, against the current Jitsi Docker guide and the Debian/Ubuntu quick start before you write the configuration. Do not assume a variable name carried over from an older release or from another deployment.

Split-horizon approaches compared by network layout

In this layout, the Jitsi server and videobridge sit on a single internal subnet behind one NAT gateway. Internal clients reach the server directly on its private address, while external clients reach the same host through a public address that the gateway forwards. Because both groups use one host, the DNS design is the most important decision: the internal resolver should return the private address for the meeting name, and the public resolver should return the public address.

  • DNS answer pattern: Internal resolvers answer the meeting hostname with the private address, and public DNS answers with the NAT public address.
  • Advertised addresses: The videobridge advertises its private address to internal clients and its public address to external clients, which requires a configuration that supports more than one address.
  • Ports to open: Forward 443/TCP and 10000/UDP from the edge to the host, and allow 80/TCP for certificate issuance and redirects.
  • Hairpin risk: Internal users who resolve the public address may send media out through the gateway and back in, which many NAT devices do not support.
  • Main failure to test: Join from an internal laptop using the public name and confirm that media flows, then join from outside and confirm the same.

Confirm with your network team whether the edge supports hairpin NAT, because that answer decides whether a single-subnet split-horizon design is viable without a separate internal name.

Configuration options and when each fits

This table compares four ways to give internal and external users different paths to one Jitsi Meet deployment. Read each row for what changes on the network, what it costs to operate, and the situation where it is the right choice. Most sites combine two or more of these options rather than choosing only one.

OptionWhat it changesOperational trade-offWhen to pick it
Internal DNS with split-horizon recordsThe same hostname resolves to a LAN address inside and a public address outside.Two answers for one name must be kept in step with certificates and firewall rules. Troubleshooting needs a resolver check from both sides.Users inside one network need the same URL as outside users, and your DNS team can maintain internal zones.
Separate advertised addresses for internal and external reachThe bridge advertises a LAN address to internal clients and a public address to external clients, so media takes the shortest path.Requires advertised-address settings that depend on your Jitsi version. Each change must be tested from both networks.Your bridge has more than one interface, or clients on the LAN fail to connect media through the public address.
Dedicated internal hostnameInternal users get a separate name, such as one for the LAN only, pointing at the internal web and bridge endpoints.Two hostnames mean two certificates, two sets of links, and a clear rule for which name users receive in invitations.Internal users must avoid the public path, or you want internal links to stay unreachable from outside.
Reverse proxy in front of the web serverA proxy terminates TLS and forwards requests, so one entry point can serve both networks with routing rules.The proxy becomes a dependency, and websocket and media-related paths must be passed through correctly.You already run a shared reverse proxy, or you need one place to manage certificates and access rules.
Hairpin NAT support on the routerTraffic from inside to the public address loops back through the router without a second path.Support varies by firewall vendor and configuration, so confirm it in your own environment before relying on it.Only if your router supports it reliably and you want to keep one public name without split DNS.

Set up split-horizon DNS and advertised addresses for Jitsi

This sequence gives internal and external clients the right address for the same Jitsi hostname, so signalling and media both reach the bridge from each network.

  1. Inventory networks, clients and addresses

    The network or platform team lists every network that will reach the Jitsi server, including office LANs, VPN pools, guest Wi-Fi and the public internet, and records which of them sit behind NAT. For each network, note the server's private address, its public address, and whether any firewall or load balancer rewrites traffic in between. Confirm with the network team which clients must be able to join from which location. The step is done when every network has a named owner and a documented path to the server.

  2. Decide the hostnames and certificate names

    The team chooses one public hostname for the meeting site and confirms that the TLS certificate covers it, since the Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video and warns that self-signed certificates cause problems, especially on mobile clients. Use the same name on the LAN so users never see two different addresses for the site. Record the name in the change ticket. The step is done when the certificate covers the chosen name and the team can show the certificate chain is trusted on a test device.

  3. Configure internal DNS to return the internal address

    The DNS team adds a record in the internal zone that maps the meeting hostname to the server's private address, so LAN clients resolve it directly and avoid routing through the router. Confirm that the internal resolver serves this zone to every internal subnet, including VPN clients that should reach the server directly. The check is a lookup of the hostname from a LAN client and from a VPN client, both returning the private address, with no stale public answer cached.

  4. Configure external DNS to return the public address

    The DNS team publishes the public record for the same hostname in the external zone, pointing to the public address that the firewall or load balancer forwards to the server. Confirm the record's time-to-live with the DNS owner and plan for the change to take effect gradually. The check is a lookup of the hostname from an external resolver, which should return the public address and nothing from the internal zone.

  5. Set the bridge advertised addresses per network

    The engineer sets the Jitsi Videobridge advertised addresses so the bridge tells each client the address that works for it. Use the configuration variables documented for the bridge in the Jitsi handbook, and confirm the exact key names for the installed release before editing, since the Docker and Debian setups differ. Where the bridge needs to advertise more than one address, list both and confirm with the vendor documentation how the bridge chooses between them. The step is done when the restarted bridge logs the expected advertised addresses.

  6. Open the required ports on the correct interfaces

    The firewall team opens 443/TCP and 80/TCP for the web server and 10000/UDP for media on the interface that faces each network, following the ports listed in the Jitsi Debian/Ubuntu quick start. The optional 5349/TCP and 3478/UDP are added only if the TURN path is used. Avoid opening media ports on interfaces that do not need them, and document any NAT rule that forwards the public address. The check is a port scan from an external host and from the LAN, showing the expected ports open and no others on the public interface.

  7. Verify with a LAN client and an external client

    The test lead runs a two-party call with one participant on the LAN and one outside the network, using a device on each side, and confirms that the meeting loads over HTTPS without certificate warnings. Check that both participants see and hear each other, then swap which party starts the call. Record the advertised address each client receives and confirm that media flows in both directions. The step is done when the two-party call works from both sides and the results are attached to the change record.

Avoiding hairpin NAT failures in Jitsi

What is hairpin NAT and why does it break Jitsi for LAN users?

Hairpin NAT, also called NAT loopback, is the case where a device on your internal network sends traffic to your public address and expects the edge router to send it back inside. Jitsi often advertises the public IP to every client, so a LAN user may try to reach the videobridge through that public address. If the router does not translate and return the traffic correctly, the media path fails while the web app still loads over HTTPS. The fix depends on whether internal clients should use a private address, which is the usual split-horizon approach, or whether the router can handle the loopback itself.

What are the symptoms of a hairpin NAT failure in Jitsi?

The most common sign is that a LAN user can open the meeting page, join the room and see the interface, but video and audio stay blank or stall. Users outside the network can often join and hear each other normally. Another sign is that a conference works for external participants while internal participants see each other drop out after a few seconds. Because the web app and signalling use HTTPS, the page itself gives no hint of the problem. Check the browser's connection statistics and the bridge logs to see which candidate address the clients are trying.

Can internal DNS fix hairpin NAT for Jitsi?

Yes, in most office networks internal DNS is the cleanest fix. You create an internal record for the Jitsi hostname that points to the server's private address, so LAN clients never send media to the public address. The certificate still has to match the same hostname, which keeps HTTPS working for everyone. Internal DNS needs to be the resolver that LAN clients use, including guest Wi-Fi if it should reach the same instance. You also need to confirm that the bridge advertises the right addresses for each network, because a mismatch can bring the problem back in a different form.

Does my edge router need NAT loopback support for Jitsi?

Not always, but you should check. NAT loopback, sometimes labeled NAT reflection or hairpin NAT, is a router feature that lets internal clients reach a public address and have the router return the traffic inside. Some consumer and small business routers do not support it, and some enable it only for certain protocols or port ranges. If you can enable it, test that UDP on the media port works from a LAN client after the change. Confirm support with your router vendor's documentation or support team before you rely on it, since behavior differs by model and firmware version.

How do I test whether a LAN client can join a Jitsi meeting?

Use a LAN client that is not on a VPN or guest network, and join a test room with a second participant on the same network and a third on the internet. Confirm that audio and video flow in both directions for each pair. Repeat the test after any DNS, NAT or firewall change, and after changes to the bridge advertised addresses. Record which address each client uses, and check whether the connection is direct or relayed. A test that uses only one browser on the same machine as the server can pass while real users still fail.

Should I expect hairpin NAT problems in cloud deployments?

It depends on how the cloud provider routes traffic between the instance's public and private addresses and on the network you connect from. Clients inside a cloud network or a corporate network that reaches the instance through its public address can hit the same loopback behavior. Test from each network segment that will use the service, rather than assuming the cloud platform behaves like a home router. Confirm with your provider how traffic from inside the virtual network to the public address is handled, and whether a split DNS zone is supported in your setup.

Who should own the split-horizon DNS and NAT changes?

The network team usually owns the router, firewall and internal DNS records, while the team running Jitsi owns the bridge settings and certificates. Agree on the hostnames, the private and public addresses, and the test steps in writing before anyone changes production. A short change record should list each DNS entry, NAT rule and bridge setting, so the same mapping is not lost during upgrades or certificate renewals. If you bring in a partner, the written scope should name who makes each change and who signs off the retest.

Security and operational risks of a split-horizon design

A split-horizon Jitsi gives internal and external users different paths to the same service, so every name, address and rule exists twice. The cards below cover the places where those two views drift apart, and what to check before users depend on them.

DNS drift between zones

The internal and external zones can hold different records for the same meeting hostname. If the internal resolver points at an old server or a stale address, LAN users load the web app but media fails silently. Keep both zones generated from one source, and test name resolution from a LAN host and from an outside host after every change. Check that the same hostname resolves to the right address in each view.

Certificates that must match both names

Browsers and mobile clients check that the certificate matches the name they connected to. If internal users reach the server by a LAN name that is absent from the certificate's subject alternative names, they see warnings or blocked joins. 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. Confirm that every name used in either view is covered, and plan renewal for all of them.

Debian quick start

Internal addresses in advertised candidates

The bridge advertises the addresses it offers to clients for media. If an internal-only address appears in that list, external participants try to reach a private IP and fail to set up media, while the signalling path still looks healthy. Review the advertised address settings for each network and confirm that only addresses reachable by the intended audience are offered. Test with a participant on each network before declaring the setup complete.

Firewall rules that differ per interface

Each view needs its own reachability rules. The 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. Internal and external firewalls often disagree on those ports, and a rule that is open on the LAN but closed at the edge produces failures that only external users notice. Write the rules per interface in one table, and verify each port from the network it is meant to serve.

Debian quick start

Bridge decryption of media in memory

Jitsi encrypts audio and video between clients and the bridge with DTLS-SRTP, and the bridge decrypts packets in memory while routing them. The security page says it never stores them. Split-horizon does not change that model, but it does mean the bridge is a trust point for both internal and external traffic. Decide whether the bridge sits in a zone your security team accepts for all participants, and confirm that end-to-end encryption is a separate choice with its own limits.

Jitsi security page

Change control across two views

A change to the server, certificate or port list now has to be made and verified in two places. An update that is applied only to the external view, or a configuration that is changed on one host but not its pair, creates a split that is hard to diagnose later. Record each address, name and port in a single inventory, require a change to pass both the LAN and internet test before it closes, and review the inventory after every upgrade.

What does a split-horizon Jitsi setup cost and how long does it take?

What drives the cost of a split-horizon Jitsi setup?

The main drivers are how many networks and addresses you must serve, how many videobridges sit behind them, and how many change windows your DNS and firewall teams need. Each internal and external path adds routing, advertised address and test work, and each extra bridge repeats that work. Cost also rises when the existing network is poorly documented, because discovery takes longer before any Jitsi setting changes. Ask any quote to break the work down by network segment, bridge count and change window, so you can see which items are fixed and which scale with complexity.

Can an internal team set up split-horizon Jitsi on its own?

Yes, a team with Linux, DNS and firewall skills can do it, but the work crosses several owners and the Jitsi scalable setup guide warns that building scalable infrastructure is not a task for beginning Jitsi administrators. A capable team usually needs to plan advertised addresses, internal DNS records and firewall rules together, then test from each network. Check whether your team has run a Jitsi Meet deployment before, whether it can test from restricted networks, and whether it can hold a change window without disrupting live meetings. If any of these is missing, a fixed-scope engagement can cover the gap.

What do network and DNS owners need to provide?

They need to supply the address plan, the DNS zones that will resolve the Jitsi hostname differently for internal and external users, and the firewall rules that allow the required ports. The Jitsi quick start lists port 80/TCP, 443/TCP and 10000/UDP as the core ports, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional. Network owners should also confirm NAT mappings for each bridge, any proxy or WAF in the path, and the certificate process for the public name. Agree in advance who approves each change and how a rollback would be handled.

How long does testing from each network take?

Testing time depends on the number of networks, the number of client types and how many scenarios you cover. Each network needs a join from inside, a join from outside, a multi-party call and a check of audio and video in both directions. Restricted networks, such as those allowing only TCP 443, need extra time because they depend on a separate fallback path and their owners may need to change rules. Ask a quote to list each test network, the scenarios per network and whether the tester has access to those networks, since access delays often cost more time than the tests themselves.

What causes the longest delays in a split-horizon rollout?

The longest delays usually come from change approval cycles for DNS and firewall rules, not from the Jitsi configuration itself. Certificate issuance for the public name, and any dependency on a proxy or WAF team, can also add waiting time. Testing from a restricted network often stalls when the owner of that network is not part of the project. Plan the change calendar early, request test access for every network in writing, and ask the vendor or partner to name which steps depend on other teams.

How are ongoing changes to a split-horizon setup handled?

Changes recur whenever a bridge is added, an address moves, a DNS record changes or a Jitsi release is applied. Each change should be treated as a controlled update with a retest from every network, which is a recurring cost. Most engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers. Ask a quote how post-delivery changes are priced, who holds the configuration record, and whether the retest set is part of the retainer or billed per change.

What should a quote for split-horizon Jitsi include?

A useful quote lists the written scope, the networks in scope, the number of videobridges, the DNS zones and firewall changes, and the test matrix. It should state the deliverables, such as the configuration, the runbook and the test results, and the dates or milestones agreed before work starts. It should also separate one-time work from recurring support. DeployOpen does not publish a price list, so ask for a quote that follows from the written scope, and compare quotes on the same network list and test matrix.

What DeployOpen scopes for a split-horizon Jitsi

A DeployOpen split-horizon engagement starts with a written inventory of the network and DNS facts that determine what each Jitsi component must advertise. We collect the public and private addresses of the Jitsi host, the NAT or load balancer rules in front of it, the firewall policy for the UDP media port and the TCP fallback ports, and the DNS zones that answer for the Jitsi hostname on the internal and external sides. The same inventory records which networks are LAN users, which are remote staff and which are guests, because those groups determine how many addresses and ports the bridge needs to advertise. The inventory is the basis for the fixed scope, so the quote reflects the number of network segments, DNS views and firewall owners the client's team has to coordinate, not a flat rate for a Jitsi install.

The design step decides the hostnames, the advertised addresses for each network view and the internal DNS records that let LAN clients reach the bridge on a private address while external clients reach the public one. It also covers how the design avoids hairpin NAT failures, where a LAN client's traffic to the public address must either be routed locally or resolved to the private address. In the client's own infrastructure, DeployOpen applies the configuration to the Jitsi host, the DNS servers and the firewall or NAT devices, using the change process the client already runs. Verification then happens from a LAN segment and from an external network, with test calls that check signalling, media and the TCP fallback path. The final deliverable is documentation for the operations team: the address and DNS map, the configuration keys changed, the test results and a runbook for adding a network or changing a public address. Ongoing changes after handover, such as new subnets or a new public address, can be covered by a retainer. DeployOpen prepares this evidence for a client's own review, but it does not issue audit reports or attestations.

How DeployOpen scopes and delivers split-horizon Jitsi

DeployOpen plans, implements, hardens, documents and supports self-hosted Jitsi Meet inside your own infrastructure. For split-horizon setups, we map which users reach the bridge from the LAN and which reach it from the internet, then build and test the address and DNS answers each group receives.

How we scope

  • Inventory every network segment, VPN pool and external path that will open Jitsi meetings.
  • Record which internal and external names, ports and certificates each user group will use.
  • Agree the written scope, deliverables and timeline with your team before any work starts.

How we build

  • Configure the bridge to advertise the correct address for each network path, then verify it.
  • Set internal DNS so LAN clients resolve the private address and avoid hairpin NAT failures.
  • Test calls from inside the LAN, from the internet and from a restricted network before handover.

How we hand over

  • Deliver a written network map listing each name, address, port and the users who rely on it.
  • Document the DNS records, certificate coverage and firewall rules needed for each path.
  • Walk your network and operations staff through the test results and the change process.

How we support

  • Offer ongoing support and upgrades as a retainer after the initial handover.
  • Retest split-horizon routing after firewall, DNS, certificate or Jitsi version changes.
  • Confirm with your team which changes need a retest before scheduling them in production.

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.