Adjust BigBlueButton TCP Ports out.

This commit is contained in:
2021-06-07 11:31:30 +02:00
parent 8faab2827a
commit 5d8ef9a8f5
4 changed files with 41 additions and 3 deletions

View File

@ -137,7 +137,7 @@ standard_unifi_udp_ctrl_out_ports="443,3478"
# - BigBlueButton Video Conference Service
# -
standard_bigbluebutton_tcp_ports="$standard_http_ports"
standard_bigbluebutton_tcp_ports="$standard_http_ports,5066,7443"
standard_bigbluebutton_udp_port_range="16384:32768"
# - Webex Meeting

View File

@ -5,6 +5,18 @@
# --- Define Arrays
# -----------
# ---
# - Standard http ports
# ---
declare -a standard_http_port_arr
CUR_IFS="$IFS"
IFS=',' ; for _port in $standard_http_ports ; do
standard_http_port_arr+=("${_port}")
done
IFS="$CUR_IFS"
# ---
# - Masquerade TCP Connections
# ---
@ -566,6 +578,27 @@ for _port in $ldap_tcp_ports ; do
ldap_tcp_port_arr+=("$_port")
done
# ---
# - BigBlueButton Video Conference - adjust 'bigbluebutton_tcp_ports'
# ---
declare -a bigbluebutton_tcp_port_arr
CUR_IFS="$IFS"
_tmp_tcp_ports="$bigbluebutton_tcp_ports"
bigbluebutton_tcp_ports=""
declare -i count=0
IFS=',' ; for _port in $_tmp_tcp_ports ; do
if containsElement "${_port}" "${standard_http_port_arr[@]}" ; then
continue
fi
if [[ $count -eq 0 ]]; then
bigbluebutton_tcp_ports="$_port"
else
bigbluebutton_tcp_ports="${bigbluebutton_tcp_ports},${_port}"
fi
((count++))
done
IFS="$CUR_IFS"
# ---
# - IPMI
# ---