mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-31 02:52:19 +08:00
Merge pull request #2128 from nextcloud/enh/noid/talk-whitelist-apache
Talk - Apache seemingly needs to be whitelisted as well
This commit is contained in:
commit
4689e402f8
1 changed files with 4 additions and 2 deletions
|
@ -13,7 +13,8 @@ elif [ -z "$SIGNALING_SECRET" ]; then
|
|||
fi
|
||||
|
||||
set -x
|
||||
IPv4_ADDRESS="$(dig nextcloud-aio-talk A +short)"
|
||||
IPv4_ADDRESS_TALK="$(dig nextcloud-aio-talk A +short)"
|
||||
IPv4_ADDRESS_APACHE="$(dig nextcloud-aio-apache A +short)"
|
||||
set +x
|
||||
|
||||
# Turn
|
||||
|
@ -34,7 +35,8 @@ no-tls
|
|||
no-dtls
|
||||
userdb=/var/lib/turn/turndb
|
||||
# Based on https://nextcloud-talk.readthedocs.io/en/latest/TURN/#turn-server-and-internal-networks
|
||||
allowed-peer-ip=$IPv4_ADDRESS
|
||||
allowed-peer-ip=$IPv4_ADDRESS_TALK
|
||||
allowed-peer-ip=$IPv4_ADDRESS_APACHE
|
||||
denied-peer-ip=0.0.0.0-0.255.255.255
|
||||
denied-peer-ip=10.0.0.0-10.255.255.255
|
||||
denied-peer-ip=100.64.0.0-100.127.255.255
|
||||
|
|
Loading…
Reference in a new issue