Scaling Up Your Jitsi with Jitsi Bridges

sudo hostnamectl set-hostname jitsibridge1.YOUR_DOMAIN
jitsibridge1.YOUR_DOMAIN             localhostYOUR_LOCAL_IP_IF_ANY  jitsibridge1.YOUR_DOMAIN  jitsibridge1YOUR_PUBLIC_IP        jitsibridge1.YOUR_DOMAIN  jitsibridge1127.0.0.1             localhost                 jitsibridge1.YOUR_DOMAIN# The following lines are desirable for IPv6 capable hosts::1     localhost ip6-localhost ip6-loopbackff02::1 ip6-allnodesff02::2 ip6-allrouters
ping "$(hostname)"
PING jitsibridge1.YOUR_DOMAIN ( 56(84) bytes of data.64 bytes from localhost ( icmp_seq=1 ttl=64 time=0.026 ms64 bytes from localhost ( icmp_seq=2 ttl=64 time=0.041 ms64 bytes from localhost ( icmp_seq=3 ttl=64 time=0.045 ms


echo 'deb stable/' >> /etc/apt/sources.list.d/jitsi-stable.listwget -qO - | apt-key add - apt-get install apt-transport-https apt update apt upgrade

Firewall Setup

ufw allow 22/tcp &&ufw allow 443/tcp &&ufw allow 4443/tcp &&ufw allow 10000/udp &&ufw enable

Video Bridge Setup

apt -y install jitsi-videobridge2


sudo su -
  • Give a name of your bridge with; org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME
  • org.jitsi.videobridge.xmpp.user.shard.USERNAME and org.jitsi.videobridge.xmpp.user.shard.PASSWORD should be same as in your JMS file.
  • If your JVB VM is behind the NAT so you will set up following two configuration parameters;
#If your Jitsi set up is behing the NAT comment out the line below
#If your Jitsi setup is behing the NAT set up your local ip othervise comment out
#If your Jitsi setup is behing the NAT set up your public ip othervise comment out


/etc/init.d/jitsi-videobridge2 restart
INFO: [31] org.jitsi.jicofo.bridge.BridgeSelector.log() Added new videobridge: Bridge[jid=jvbbrewery@internal.YOUR_JITSI_DOMAIN/jitsibridge1, relayId=null, region=null, stress=0.00]
/etc/init.d/jitsi-videobridge2 stop .




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The collect-code Vision

Sonic Dash 2: Sonic Boom Mod Apk 3.2.1 (Unlimited money)

How to Intern at SafetyCulture

Sprint Retrospective — a 3-min overview

Onfido Hack Day (pt. 2)

Unit Testing in iOS

Python code examples of using SVD (PCA) for embeddings

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

InvArchs’ IP Pallet Module

Ecuador Volcanoes: Part one

Quora Question Pair Similarity Problem