BBB without accessing stun.freeswitch.org

844 views
Skip to first unread message

Daniel Cleto

unread,
Apr 9, 2019, 2:09:19 PM4/9/19
to BigBlueButton-dev
Is there a way i can run bbb without the need for the client to use stun.freeswitch.org? my companie doesnt want to require any external server because it will cost money for XY reason, i was checking the connection then saw the client using stun.freeswitch.org which was then blocked, can i do something that doesnt require me to run my own stun server?.


i read(https://groups.google.com/forum/#!searchin/bigbluebutton-dev/stun.freeswitch.org$2F|sort:date/bigbluebutton-dev/KbqnE5Vl7ts/IKv-31JtCAAJ) this, but the problem is different since this is a local env, my server allows external connections but the clients will only able to connect to my server and no stun.freeswitch.org

Chad Pilkey

unread,
Apr 9, 2019, 3:11:57 PM4/9/19
to BigBlueButton-dev
A STUN server is required to determine the client's public IP. You can try without it, but I wouldn't recommend it.To disable the STUN server locate "turn-stun-servers.xml" (There are different locations in 2.0 and 2.2). Once you've located the file edit it and comment out the stun1 bean reference.

    <bean id="stunTurnService" class="org.bigbluebutton.web.services.turn.StunTurnService">
        <property name="stunServers">
            <set>
                <!--ref bean="stun1" /-->
                <!--ref bean="stun2" /-->

And then restart bbb-web. In 2.0 it's "sudo systemctl restart tomcat7" and in 2.2 it's "sudo systemctl restart bbb-web".

Make sure you heavily test with different browsers and OSs in all network locations that you want to work (ie outside and inside your network).

Daniel Cleto

unread,
Apr 9, 2019, 4:51:19 PM4/9/19
to BigBlueButton-dev
Thanks Chad, did as you sugested, didnt work without the stun server.

Chad Pilkey

unread,
Apr 9, 2019, 4:58:37 PM4/9/19
to BigBlueButton-dev
You can run your own STUN server if you want to keep it all on servers that you control, but it needs to be on its own server. There's documentation in the install docs to install a TURN server and the STUN component comes along with it.
Reply all
Reply to author
Forward
0 new messages