Add suport for BigBlueButton video conference service.
This commit is contained in:
parent
fe55462803
commit
32048f3a35
@ -49,6 +49,11 @@ standard_ipsec_nat_t=4500
|
|||||||
standard_http_ports="80,443"
|
standard_http_ports="80,443"
|
||||||
standard_mailuser_ports="587,465,110,995,143,993"
|
standard_mailuser_ports="587,465,110,995,143,993"
|
||||||
|
|
||||||
|
# - BigBlueButton Video Conference Service
|
||||||
|
# -
|
||||||
|
standard_bigbluebutton_tcp_ports="$standard_http_ports"
|
||||||
|
standard_bigbluebutton_udp_port_range="16384:32768"
|
||||||
|
|
||||||
# - Jitsi Video Conference Service
|
# - Jitsi Video Conference Service
|
||||||
# -
|
# -
|
||||||
standard_jitsi_tcp_ports="$standard_http_ports"
|
standard_jitsi_tcp_ports="$standard_http_ports"
|
||||||
|
@ -800,6 +800,27 @@ snmp_trap_port="$standard_snmp_trap_port"
|
|||||||
mumble_ports="64738"
|
mumble_ports="64738"
|
||||||
|
|
||||||
|
|
||||||
|
# ======
|
||||||
|
# - BigBlueButton Video Conference Service
|
||||||
|
# ======
|
||||||
|
|
||||||
|
# - BigBlueButton Video Conference Service Gateway
|
||||||
|
# -
|
||||||
|
# - NOT YET IMPLEMENTED
|
||||||
|
# -
|
||||||
|
local_bigbluebutton_video_conference_service=false
|
||||||
|
|
||||||
|
# - BigBlueButton Video Conference Service Ports
|
||||||
|
# -
|
||||||
|
# - TCP 80: Webinterface.
|
||||||
|
# - TCP 443: Webinterface (SSL)
|
||||||
|
# -
|
||||||
|
# - UDP 16384-32768: FreeSWITCH/HTML5 RTP streams
|
||||||
|
# -
|
||||||
|
bigbluebutton_tcp_ports="$standard_bigbluebutton_tcp_ports"
|
||||||
|
bigbluebutton_udp_ports="$standard_bigbluebutton_udp_port_range"
|
||||||
|
|
||||||
|
|
||||||
# ======
|
# ======
|
||||||
# - Jitsi Video Conference Service
|
# - Jitsi Video Conference Service
|
||||||
# ======
|
# ======
|
||||||
@ -1297,6 +1318,7 @@ allow_mysql_request_out=true
|
|||||||
allow_ipmi_request_out=true
|
allow_ipmi_request_out=true
|
||||||
allow_remote_console_request_out=true
|
allow_remote_console_request_out=true
|
||||||
allow_mumble_request_out=true
|
allow_mumble_request_out=true
|
||||||
|
allow_bigbluebutton_video_conference_out=true
|
||||||
allow_jitsi_video_conference_out=true
|
allow_jitsi_video_conference_out=true
|
||||||
allow_nc_talk_out=true
|
allow_nc_talk_out=true
|
||||||
|
|
||||||
|
@ -769,6 +769,27 @@ snmp_trap_port="$standard_snmp_trap_port"
|
|||||||
mumble_ports="64738"
|
mumble_ports="64738"
|
||||||
|
|
||||||
|
|
||||||
|
# ======
|
||||||
|
# - BigBlueButton Video Conference Service
|
||||||
|
# ======
|
||||||
|
|
||||||
|
# - BigBlueButton Video Conference Service Gateway
|
||||||
|
# -
|
||||||
|
# - NOT YET IMPLEMENTED
|
||||||
|
# -
|
||||||
|
local_bigbluebutton_video_conference_service=false
|
||||||
|
|
||||||
|
# - BigBlueButton Video Conference Service Ports
|
||||||
|
# -
|
||||||
|
# - TCP 80: Webinterface.
|
||||||
|
# - TCP 443: Webinterface (SSL)
|
||||||
|
# -
|
||||||
|
# - UDP 16384-32768: FreeSWITCH/HTML5 RTP streams
|
||||||
|
# -
|
||||||
|
bigbluebutton_tcp_ports="$standard_bigbluebutton_tcp_ports"
|
||||||
|
bigbluebutton_udp_ports="$standard_bigbluebutton_udp_port_range"
|
||||||
|
|
||||||
|
|
||||||
# ======
|
# ======
|
||||||
# - Jitsi Video Conference Service
|
# - Jitsi Video Conference Service
|
||||||
# ======
|
# ======
|
||||||
@ -1240,6 +1261,7 @@ allow_mysql_request_out=true
|
|||||||
allow_ipmi_request_out=true
|
allow_ipmi_request_out=true
|
||||||
allow_remote_console_request_out=true
|
allow_remote_console_request_out=true
|
||||||
allow_mumble_request_out=true
|
allow_mumble_request_out=true
|
||||||
|
allow_bigbluebutton_video_conference_out=true
|
||||||
allow_jitsi_video_conference_out=true
|
allow_jitsi_video_conference_out=true
|
||||||
allow_nc_talk_out=true
|
allow_nc_talk_out=true
|
||||||
|
|
||||||
|
@ -2858,6 +2858,35 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# ---
|
||||||
|
# - BigBlueButton Video Conference Service out only
|
||||||
|
# ---
|
||||||
|
|
||||||
|
echononl "\t\tBigBlueButton Video Conference Service out only"
|
||||||
|
|
||||||
|
if $allow_jitsi_video_conference_out ; then
|
||||||
|
for _dev in ${ext_if_arr[@]} ; do
|
||||||
|
|
||||||
|
if [[ "$bigbluebutton_tcp_ports" != "$standard_http_ports" ]] ; then
|
||||||
|
$ip6t -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
|
||||||
|
$ip6t -A FORWARD -o $_dev -p tcp -m multiport --dports $bigbluebutton_tcp_ports -m conntrack --ctstate NEW -j ACCEPT
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
$ip6t -A OUTPUT -o $_dev -p udp -m multiport --dports $bigbluebutton_udp_ports -m conntrack --ctstate NEW -j ACCEPT
|
||||||
|
|
||||||
|
if $kernel_forward_between_interfaces && ! $permit_local_net_to_inet ; then
|
||||||
|
$ip6t -A FORWARD -o $_dev -p udp -m multiport --dports $bigbluebutton_udp_ports -m conntrack --ctstate NEW -j ACCEPT
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
||||||
|
echo_done
|
||||||
|
else
|
||||||
|
echo_skipped
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# - Jitsi Video Conference Service out only
|
# - Jitsi Video Conference Service out only
|
||||||
# ---
|
# ---
|
||||||
|
@ -3568,6 +3568,35 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# ---
|
||||||
|
# - BigBlueButton Video Conference Service out only
|
||||||
|
# ---
|
||||||
|
|
||||||
|
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
|
||||||
|
$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
|
||||||
|
fi
|
||||||
|
|
||||||
|
$ipt -A OUTPUT -o $_dev -p udp -m multiport --dports $bigbluebutton_udp_ports -m conntrack --ctstate NEW -j ACCEPT
|
||||||
|
|
||||||
|
if $kernel_activate_forwarding && ! $permit_local_net_to_inet ; then
|
||||||
|
$ipt -A FORWARD -o $_dev -p udp -m multiport --dports $bigbluebutton_udp_ports -m conntrack --ctstate NEW -j ACCEPT
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
||||||
|
echo_done
|
||||||
|
else
|
||||||
|
echo_skipped
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# - Jitsi Video Conference Service out only
|
# - Jitsi Video Conference Service out only
|
||||||
# ---
|
# ---
|
||||||
|
Loading…
Reference in New Issue
Block a user