Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 062678d

Browse files
committed
Make clearer the external IP address
1 parent 145938d commit 062678d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_posts/2019-02-15-install.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,20 +754,21 @@ Next, the websocket forwarding address in nginx. Edit the file `/etc/bigbluebut
754754
auth_request_set $auth_status $upstream_status;
755755
}</code></pre>
756756

757-
Note: As of BigBlueButton 2.2.29 (and later), you can have nginx proxy incoming WSS connections to WS on port 5066 to work around a [bug in FreeSWITCH](https://github.com/bigbluebutton/bigbluebutton/issues/9667). If you are using 2.2.29 or later, you can run the following BASH script to implement the workaround:
757+
Note: As of BigBlueButton 2.2.29 (and later), you can have nginx proxy incoming WSS connections to WS on port 5066 to work around a [bug in FreeSWITCH](https://github.com/bigbluebutton/bigbluebutton/issues/9667). If you are using 2.2.29 or later, you can run the following BASH script to implement the workaround. Again, here we have `EXTERNAL_IP_ADDRESS` as 203.0.113.1, but you would substitute your own external IP.
758758

759759
~~~
760760
#!/bin/bash
761761
762+
EXTERNAL_IP_ADDRESS=203.0.113.1 # <-- put in your own external IP address
763+
762764
yq w -i /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml public.media.sipjsHackViaWs true
763765
sed -i 's/https/http/g' /etc/bigbluebutton/nginx/sip.nginx
764766
sed -i 's/7443/5066/g' /etc/bigbluebutton/nginx/sip.nginx
765767
766-
IP=203.0.113.1 # <-- put in your own external IP address
767768
TARGET=/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml
768769
769-
xmlstarlet edit --inplace --update '//param[@name="ws-binding"]/@value' --value "$IP:5066" /opt/freeswitch/conf/sip_profiles/external.xml
770-
yq w -i $TARGET freeswitch.sip_ip "$IP"
770+
xmlstarlet edit --inplace --update '//param[@name="ws-binding"]/@value' --value "$EXTERNAL_IP_ADDRESS:5066" /opt/freeswitch/conf/sip_profiles/external.xml
771+
yq w -i $TARGET freeswitch.sip_ip "$EXTERNAL_IP_ADDRESS"
771772
~~~
772773

773774
If you use [bbb-install.sh](https://github.com/bigbluebutton/bbb-install) to install/upgrade BigBlueButton, it will automatically apply the above changes. If you manually upgrade your BigBlueButton server, you can add the above lines to [apply-conf.sh](/2.2/customize.html#apply-confsh) to have the above settings applied by `bbb-conf` when doing the [manually upgrade](/2.2/install.html#upgrading-from-bigbluebutton-22) steps.

0 commit comments

Comments
 (0)