Configure TURN properly

Was missing a couple of necessary properties, and is now using an
explicit port range for TURN, and opening those ports in UFW.
This commit is contained in:
2020-05-02 14:07:14 +02:00
parent 0bcb2597e8
commit 4448ec2173
3 changed files with 17 additions and 3 deletions

View File

@@ -78,9 +78,11 @@ listen:
port: 3478
transport: udp
module: ejabberd_stun
auth_realm: <%= @stun_auth_realm %>
use_turn: true
## The server's public IPv4 address:
# turn_ip: 203.0.113.3
turn_ip: <%= @turn_ip_address %>
turn_min_port: <%= @turn_min_port %>
turn_max_port: <%= @turn_max_port %>
s2s_use_starttls: optional