Configure STUN/TURN

Configures built-in STUN/TURN support, and adds the new service discovery
module for it.
This commit is contained in:
Basti 2020-05-01 16:25:38 +02:00
parent 35a56aa221
commit ef2fa2da72
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
2 changed files with 14 additions and 0 deletions

View File

@ -200,6 +200,12 @@ unless node.chef_environment == "development"
protocol :tcp
command :allow
end
firewall_rule 'ejabberd_stun_turn' do
port 3478
protocol :udp
command :allow
end
end
#

View File

@ -74,6 +74,13 @@ listen:
## "/pub/archive": mod_http_fileserver
## register: true
captcha: false
-
port: 3478
transport: udp
module: ejabberd_stun
use_turn: true
## The server's public IPv4 address:
# turn_ip: 203.0.113.3
s2s_use_starttls: optional
@ -214,6 +221,7 @@ modules:
versioning: true
store_current_id: true
mod_shared_roster: {}
mod_stun_disco: {}
mod_vcard:
search: false
mod_vcard_xupdate: {}