Added UDP Port config
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
COMPANYNAME="ZH Consultores"
|
||||
COMPANYDOMAIN="zhconsultores.com"
|
||||
COMPANYSUBDOMAIN="reunion"
|
||||
UDPPORT="12000"
|
||||
|
||||
+6
-5
@@ -16,12 +16,12 @@ echo " "
|
||||
echo " "
|
||||
echo " "
|
||||
echo "Before executing this script, make sure to meet the following requisites:"
|
||||
echo " 1. Properly configure HAProxy in OPNsense"
|
||||
echo " 1. Properly configure OPNsense: Alias, Forward NAT Rule UDP, Real Server, BackendPool, Condition, Rule, PublicServer"
|
||||
echo " 2. Replace favicon.ico, watermark.png, background.png for company ones"
|
||||
echo " 3. "
|
||||
echo " 4. "
|
||||
echo " 3. \$COMPANYSUBDOMAIN CNAME record in cloudflare pointing to ragnar.zh.com.pa"
|
||||
echo ""
|
||||
echo "Execute this script every time you run apt-get upgrade"
|
||||
echo ""
|
||||
echo "WARNING: Execute this script only once!"
|
||||
echo ""
|
||||
read -r -p "Do you want to continue installing this Jitsi Meet server? Choose \"No\" to Cancel and Exit [y/N]: " response
|
||||
case $response in
|
||||
@@ -60,7 +60,8 @@ apt install jitsi-meet
|
||||
/usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
|
||||
|
||||
# Adapting config to work properly behind NAT
|
||||
echo "org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=$LOCALIP
|
||||
echo "org.jitsi.videobridge.SINGLE_PORT_HARVESTER_PORT=$UDPPORT
|
||||
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=$LOCALIP
|
||||
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=$PUBLICIP" >> /etc/jitsi/videobridge/sip-communicator.properties
|
||||
sed -i 's/org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES/#org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES/g' /etc/jitsi/videobridge/sip-communicator.properties
|
||||
rm -rf /etc/nginx/modules-enabled/60-jitsi-meet.conf
|
||||
|
||||
Reference in New Issue
Block a user