Enabling IPv6 for BigBlueButton alongside IPv4 for dual-stack users
Enable IPv6 in BigBlueButton when your users or network already run IPv6 and you need meetings reachable on both stacks, with IPv4 working unchanged for everyone else. The mediasoup media path reads its IPv6 setting from /etc/bigbluebutton/bbb-webrtc-sfu/production.yml, and that option is off by default, so dual-stack operation is an explicit configuration change that the install does not make for you. Teams usually take this on when a campus, office or hosting provider assigns IPv6 addresses to clients, when users on IPv6-preferred networks report joins that fail, or when a review requires the service to answer on both stacks. Before you change anything, confirm the install requirement and the TURN details for your release in the BigBlueButton troubleshooting guide.
Start on the host. Confirm the server has a working IPv6 address and default route, and that the operating system reports it on the interface the media services use. FreeSWITCH needs listen-ip changes when the host has IPv6 disabled, so check its configuration as part of the same change rather than after the media path is already switched on. Record the address and port each service listens on before and after the edit, so you have a known-good list to verify against. Make the change on a staging copy of the server first, restart the affected services in a planned maintenance window, and keep a rollback copy of the original production.yml and FreeSWITCH settings beside the new ones.
Dual-stack clients need their own verification. Test a join from an IPv4-only network, from an IPv6-capable network, and from a client behind a restrictive firewall that has to fall back to TURN. Check which address families your TURN records and DNS names publish for the server, and add AAAA records only after the TURN details for your release are confirmed, because a published address the media server does not listen on can leave clients on that stack unable to join. Keep IPv4 working throughout the rollout, and repeat the same test set after each upgrade or host change so a regression on one stack is caught before users report it.
Which IPv6 configuration fits your server and network
This table compares three IPv6 configurations for a BigBlueButton server, plus the TURN addition for dual-stack clients. Read each row from left to right: the middle columns show what you change and when the option fits, and the last column lists what to check before you choose. The main takeaway is that IPv6 stays off by default, so a dual-stack server needs a deliberate change in mediasoup and a verified network path.
| Configuration | What changes on the server | When it fits | What to confirm before choosing it |
|---|---|---|---|
| IPv4 only | No IPv6 changes. The mediasoup IPv6 option stays off, which is the default. | Your users, networks and upstream services do not need IPv6 paths to this server. | Confirm that no user group, LMS or firewall policy depends on IPv6 reaching this server. |
| Dual-stack with mediasoup IPv6 enabled | Turn on the IPv6 option for mediasoup in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml, which is off by default. | The host has IPv6 configured, and clients reach the server over IPv6 where their networks support it. | Confirm a routable IPv6 address, IPv6 firewall rules for the required ports and a matching AAAA record for the hostname. |
| Host without IPv6 (FreeSWITCH listen-ip change) | IPv6 is disabled on the host, so FreeSWITCH needs listen-ip changes. The mediasoup IPv6 option stays off. | The operating system or network cannot provide IPv6, and the team accepts IPv4 media paths for this server. | Confirm the listen-ip values your release needs in the troubleshooting docs, then test a call after the change. |
| Dual-stack with IPv6 TURN records | Publish AAAA records for the TURN host alongside its IPv4 records, on top of the mediasoup IPv6 setting. | Dual-stack users sit behind restrictive firewalls and need a TURN relay they can reach over IPv6 or IPv4. | Confirm the TURN server answers over IPv6 from outside your network, not only from the local network. |
Both IP stacks reach the media path, but the host's IPv6 state sets the configuration
The diagram starts with IPv4 and IPv6 clients. Both reach the BigBlueButton front end for web and API traffic, and both send media toward bbb-webrtc-sfu with mediasoup. Users behind restrictive firewalls can be relayed through a TURN server. Video goes to bbb-webrtc-sfu and audio goes to FreeSWITCH. The host's IPv6 state is the decision point. When IPv6 is on, IPv6 for mediasoup is configured in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml, where it is off by default. When IPv6 is off, FreeSWITCH needs listen-ip changes. Firewall rules inside the server perimeter must cover both stacks. Confirm each path against the BigBlueButton troubleshooting guide.
Client paths into BigBlueButton media, with the IPv6 decision and firewall scope.
Setup sequence for a dual-stack BigBlueButton server
This sequence takes a BigBlueButton 4.0 server from a host with working IPv6 connectivity to one where IPv4 and IPv6 clients both join meetings. Each step ends with a check, so a fault shows up at the step that caused it.
Confirm working IPv6 address and route
Your systems team checks the host before any BigBlueButton package is installed. Confirm that the server has a global IPv6 address on its interface and a default IPv6 route to the internet, and that outbound IPv6 connections succeed from the server itself. Also check that the address is not disabled by kernel settings or cloud network configuration, since the IPv6 settings later in this sequence have nothing to bind to without it. The step is done when the address and route both appear in the host's network configuration and a test connection over IPv6 succeeds from the server.
Check the IPv6 requirement in the install docs
Before you run bbb-install.sh, read the IPv6 requirement in the BigBlueButton install documentation and check it against your host. The 4.0 release installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so use a clean server. Confirm the minimums too: 16 GB of RAM with swap, 8 CPU cores, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth. The step is done when you have a written note of the requirement and the host meets it, including any IPv6-specific prerequisite the page names.
Confirm which media server 4.0 uses
Find out which media server your 4.0 install runs before you edit any media settings. The IPv6 switch in this topic applies to mediasoup, configured in the bbb-webrtc-sfu production file, so it only matters when mediasoup carries your media. The default media server in 4.0 is LiveKit, so check the running configuration on the host and the install options you chose. If LiveKit is active, skip the mediasoup steps and follow the LiveKit configuration guidance for your network instead. The step is done when you have recorded the active media server and know which file governs its network settings.
Enable the IPv6 setting in production.yml
Edit the IPv6 setting in
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml, where it is off by default, and turn it on. Use the key name shown in the BigBlueButton troubleshooting guide so the value matches your version, and keep a copy of the original file. Restart thebbb-webrtc-sfuservice, then restart any other BigBlueButton services the docs name for this change. The step is done when the services restart without errors in the logs and the mediasoup component starts normally.Change FreeSWITCH listen-ip only if needed
Skip this step when the host has working IPv6, because FreeSWITCH needs its listen-ip changed only when the host has IPv6 disabled. If the host lacks IPv6, adjust the listen-ip setting for FreeSWITCH as the troubleshooting guide describes, so FreeSWITCH binds to an address that exists on the host. Make one change at a time and restart FreeSWITCH after each change. The step is done when the FreeSWITCH log shows it bound to the address you set and a test call connects with audio in both directions.
Add AAAA records for hostname and TURN
In DNS, publish AAAA records that point the BigBlueButton hostname and the TURN server hostname to their IPv6 addresses, alongside the existing A records. Keep the A records in place so IPv4 clients still resolve both names. Make sure the certificate covers the same hostnames, so browsers accept them over either address family. If the TURN server runs on a host without IPv6, do not publish an AAAA record for it. The step is done when an AAAA lookup from your own resolver returns the expected address for each name and the A lookups are unchanged.
Test joins from an IPv6-capable network
Verify the full path from a client on an IPv6-capable network, in addition to the checks on the server. Join a test meeting from a browser on that network, then confirm that audio, camera and screen sharing work. Repeat the same join from an IPv4-only network to confirm that dual-stack support did not break existing users. The step is done when both joins succeed, the server logs show each session, and you have recorded the results so the next change can be tested against the same checks.
When FreeSWITCH listen-ip must change on a host without IPv6
FreeSWITCH carries the audio side of a BigBlueButton session, so its listen-ip settings have to match the address families the host actually has. On a host with IPv6 disabled, a listen-ip value that expects an IPv6 address will not bind, and audio can fail even when the web pages load normally. Start by choosing one of two paths. The first is to leave the host IPv4 only. Nothing in the FreeSWITCH or mediasoup configuration needs to change, but you should confirm that the IPv4 listen and external address values still match the server's public address. The second is to enable IPv6 at the operating system level, which is a larger change. It is worth the effort only if your users, networks or reverse proxies need IPv6 paths, because every later check depends on that choice.
Enabling IPv6 at the operating system level means more than adding an address. The host needs a working IPv6 address and default route, the kernel settings must not disable IPv6 on the interfaces BigBlueButton uses, and the firewall must allow the IPv6 traffic you expect. Mediasoup IPv6 support is configured separately in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml, and it is off by default, so enabling it is a deliberate step. After that, check each FreeSWITCH listen-ip value against the addresses the host now has, so every listener binds to an address that exists. Test with one IPv4 client and one IPv6 client, and confirm that audio works in both before you treat the change as complete.
Exact listen-ip values, file locations and restart steps depend on the BigBlueButton release you installed, so confirm them for the installed release before editing a production host. Record which path you chose, the address each FreeSWITCH listener uses and how to roll back, and check whether package upgrades overwrite hand-edited files so your changes survive the next update. The official guidance for this setting is in the BigBlueButton troubleshooting documentation, which is the reference to check against your version before any change.
Security and operations risks when IPv6 is enabled
Four controls change when a second address family is added: firewall policy, port rules, names with certificates, and logs. Each one needs a check on both IPv4 and IPv6 before users depend on the dual-stack setup.
IPv6 traffic bypasses IPv4 rules
A dual-stack host accepts connections on its IPv6 address as well as its IPv4 address. If the firewall policy was written only for IPv4, services filtered on IPv4 may be reachable over IPv6, including administrative ports such as SSH and any internal service left listening on the host. Check this from outside your network: list the IPv6 rules with ip6tables -S or nft list ruleset, then scan the server's public IPv6 address from an IPv6-capable network and confirm that only the BigBlueButton ports respond.
Mirror port rules on both stacks
BigBlueButton needs TCP 80 and 443 for web access and UDP 16384 to 32768 for media. Cloud security groups and host firewalls often keep separate IPv4 and IPv6 entries, so the media range can be open for IPv4 clients while IPv6 clients are silently dropped, or the reverse. Look for one-sided rules by exporting both families from your cloud console or CLI and from nft list ruleset, then comparing them line by line. Any port open on one stack should have a matching decision on the other, and any gap should be recorded.
Certificates and DNS for AAAA names
An AAAA record makes the hostname resolve to the server over IPv6, and clients then validate the same certificate on that path. The install requires a valid hostname for SSL, so the certificate must name that hostname exactly. Stale AAAA records left after a server rebuild can send users to an address that no longer answers. Check with dig AAAA your-hostname +short, confirm each address belongs to the current server, then run openssl s_client -connect [address]:443 -servername your-hostname and verify the certificate name and chain.
Monitoring and logs for both stacks
Dashboards, alert rules and log filters often match IPv4 addresses, so IPv6 failures can look healthy on the panels while users on that path cannot join. Logs from the web front end, the media path and TURN should record the client address family, and alerts should cover reachability on each address. Check this by joining a test meeting from an IPv6-only network, then find that session in the web and media logs and confirm the client address appears and triggers the same alert or dashboard panel as an IPv4 session.
TURN records for dual-stack clients
Once BigBlueButton serves IPv6, the TURN server is where dual-stack clients can fail without an obvious error. Users behind restrictive firewalls depend on TURN when direct media paths are blocked, and the install docs recommend a TURN server for those users. Each TURN hostname needs an A record for IPv4 and, if clients may reach it over IPv6, a matching AAAA record. A client that prefers IPv6 will try the AAAA address first, so a missing or outdated AAAA record, or a TURN listener bound only to IPv4, can block those users while IPv4 users join normally. The exact record set and listener settings depend on your release and TURN software, so confirm them in the TURN setup guide for your release before you change DNS.
Testing has to cover clients that prefer IPv6, because a successful join from an IPv4-only network proves little about the others. Run joins from a dual-stack client where the operating system and browser prefer IPv6, from an IPv4-only network, and from a network that reaches the TURN hostname only over IPv6 if your design allows that. Confirm that media flows through the TURN relay when direct paths are blocked, and check the server logs for connection failures on each path. On the BigBlueButton side, IPv6 for the mediasoup media server is configured in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml and is off by default, and FreeSWITCH needs listen-ip changes when the host has IPv6 disabled. Compare the troubleshooting docs against your configuration, and record results per client type so you can repeat the tests after any DNS or server change.
Limits to confirm in your environment
Before you change any IPv6 setting, confirm four limits that decide whether this guide applies to your servers. Each limit sits at a different layer, from the provider network to the media server and the upgrade path. Work through them in order and record each answer before you edit configuration files.
Provider IPv6 assignment and routing
Confirm with your hosting provider or data center that your servers receive a public IPv6 prefix, that the address is routed to each instance, and that any perimeter firewall passes IPv6 traffic on the ports BigBlueButton uses. IPv6 may be unavailable or disabled unless it is requested, so an instance can show an IPv6 address in the console without a working route. Ask for the assigned prefix, the default gateway, and whether inbound rules can be written for IPv6 as well as IPv4. Without these answers, the host configuration cannot be verified.
Media server and mediasoup scope
Confirm which media server carries audio and video on your 4.0 install before you change any IPv6 setting. The mediasoup option lives in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml and is off by default, so editing it has no effect on a media path that does not use mediasoup. FreeSWITCH needs its listen address changed when the host has IPv6 disabled, which is a separate step. Run a test call on each client type you support, and record which configuration file each result depends on.
IPv6 requirements in 4.0 docs
The 4.0 install documentation sets the baseline your server must meet, and IPv6 work has to fit inside it. The host runs Ubuntu 24.04 64-bit, TCP ports 80 and 443 and the UDP range 16384 to 32768 must be reachable, and a valid hostname is needed for SSL. Docker is required for sandboxed LibreOffice document conversion. Read the current requirements on the day you install, then confirm that each port is open over IPv6 with the same rules you apply to IPv4.
Install docsClean install for the 4.0 layout
Direct upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported, and the install docs recommend a clean server installation. An existing server on one of those versions usually needs a fresh host to adopt the 4.0 layout. Plan for that early: decide the hostname and certificate, export the recordings and configuration you need, and confirm whether IPv6 settings are applied during the new install or afterward. Ask your provider whether a new instance receives the same IPv6 prefix, because the address you tested on the old host may change.
Questions buyers ask before enabling IPv6 for BigBlueButton
Is IPv6 required to run BigBlueButton?
No. IPv6 is optional for BigBlueButton 4.0. The install requirements cover TCP ports 80 and 443, UDP ports 16384 to 32768, a valid hostname for SSL and Docker for sandboxed document conversion, and none of these depend on IPv6. IPv6 media is switched on separately in the mediasoup configuration, where it is off by default, so an IPv4-only server keeps working without the change. Enable IPv6 when your users, networks or policies need dual-stack service. Confirm the install requirements for your release in the BigBlueButton install documentation before you plan the work.
How much effort does IPv6 support add to a BigBlueButton server?
On one server with working IPv6 addressing, the work is a small set of configuration edits, plus testing. The main file is /etc/bigbluebutton/bbb-webrtc-sfu/production.yml, and if the host has IPv6 disabled, FreeSWITCH also needs listen-ip changes. Effort rises when the host has no usable IPv6 address, when several servers or a Scalelite pool must behave the same way, when TURN servers need dual-stack DNS records, when perimeter and cloud firewalls need matching IPv6 rules, or when Greenlight and LMS front ends need retesting. Each extra server, network zone and client group adds test cycles. Ask for a written list of changed files, firewall rules and test cases in the scope.
How long does IPv6 work on a BigBlueButton server usually take?
The timeline depends on what is already in place: IPv6 allocations from your provider, DNS control, firewall access, a test client and a change window for live classes. Dependencies on your side often set the schedule more than the edits do. Approvals for firewall or cloud rules, a late prefix assignment or a lack of maintenance time can move the dates. The number of servers, whether TURN and Scalelite are involved, and how many networks you need to test from also change the duration. DeployOpen agrees timelines in the written scope before work starts, so ask for the planned sequence, the dependencies you own and the test window. No fixed duration is stated here because it depends on your environment.
Can our own engineers turn on IPv6 in BigBlueButton without a partner?
Yes, a team with Linux and network administration skills can do the work if it can test from networks with working IPv6. The work is configuration and verification across the host, DNS, firewalls and TURN, not new software. Check that your engineers can edit the mediasoup and FreeSWITCH settings safely, restart services in a planned window and read logs after a change. The main risks are a dual-stack mistake that breaks IPv4 joins, or a missed firewall rule that blocks media only on IPv6. If your team lacks time or a suitable test client, a fixed-scope engagement covers the same steps with written deliverables. Keep the BigBlueButton troubleshooting guide open as a reference for the FreeSWITCH and mediasoup settings.
What access and details do we need to give for IPv6 work?
DeployOpen needs the access your own team would use, plus the details that describe your network. Expect to provide:
- Shell or sudo access to each BigBlueButton host and any TURN server
- IPv6 allocation details from your provider, including prefixes and the addresses assigned to each host
- DNS control for AAAA records and any TURN hostnames
- Firewall and cloud security rule access, covering perimeter devices and instance security groups
- An IPv6 test client on a network with working IPv6, to confirm joins, audio and video
Also name a contact who can approve change windows, because live classes need a planned restart. Missing items usually delay the start of the work, so confirm them before the written scope is signed.
How is the price of IPv6 work for BigBlueButton set?
DeployOpen does not publish a price list. A quote follows the written scope, which lists the servers, TURN and front-end components, firewall and DNS changes, test cases and deliverables. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The one-time cost is the engineering and testing time for the agreed scope. Ongoing support, upgrades and continuous testing are available as retainers, which recur. Your own costs can include any charges your provider makes for IPv6 allocations, changes to cloud or perimeter services, and staff time for approvals and change windows. Ask the quote to separate one-time work from retainers, and to name each server and test case it covers.
How DeployOpen scopes and delivers IPv6 work for BigBlueButton
DeployOpen scopes IPv6 for BigBlueButton as one change across the server, media stack and TURN layer, planned and tested together. Work runs in your infrastructure on a fixed scope agreed in writing before the build starts, and ongoing support is available as a retainer. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, so the scope starts with the host's operating system and network configuration.
How we scope
- The written scope lists each host, its IPv6 addresses, and whether the media servers and TURN hosts are included.
- The scope states whether FreeSWITCH and bbb-webrtc-sfu are both covered, since the mediasoup and FreeSWITCH settings are separate.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; a quote follows from that scope.
How we build
- Confirm the host, network and firewall baseline first, including UDP 16384 to 32768 and TCP ports 80 and 443.
- Enable IPv6 for mediasoup in
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml, which is off by default, and verify it on each media server. - Where a host has IPv6 disabled, change the FreeSWITCH listen-ip settings and test audio before and after the change.
How we hand over
- Handover includes a written record of each changed file, its previous value and the host it applies to.
- TURN records for dual-stack clients are documented with the DNS and certificate details your team needs to confirm.
- Handover includes test results from a dual-stack client and an IPv4-only client, recorded for your review.
How we support
- Ongoing support and upgrades are available as retainers, so IPv6 settings can be rechecked at each BigBlueButton upgrade.
- Confirm with your team who owns DNS, firewall rules and certificate renewal after go-live, and record it in the handover.
- Ask that the runbook includes IPv6 checks for media and listen-ip issues, based on the BigBlueButton troubleshooting guidance.

