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

@ -3740,8 +3740,10 @@ echononl "\t\tBigBlueButton Video Conference Service out only"
if $allow_bigbluebutton_video_conference_out ; then
for _dev in ${ext_if_arr[@]} ; do
if [[ "$bigbluebutton_tcp_ports" != "$standard_http_ports" ]] ; then
if [[ -n $bigbluebutton_tcp_ports ]] ; then
$ipt -A OUTPUT -o $_dev -p tcp -m multiport --dports $bigbluebutton_tcp_ports -m conntrack --ctstate NEW -j ACCEPT
if $kernel_activate_forwarding && ! $permit_local_net_to_inet ; then
$ipt -A FORWARD -o $_dev -p tcp -m multiport --dports $bigbluebutton_tcp_ports -m conntrack --ctstate NEW -j ACCEPT
fi