Configure STUN/TURN
Configures built-in STUN/TURN support, and adds the new service discovery module for it.
This commit is contained in:
parent
35a56aa221
commit
ef2fa2da72
@ -200,6 +200,12 @@ unless node.chef_environment == "development"
|
|||||||
protocol :tcp
|
protocol :tcp
|
||||||
command :allow
|
command :allow
|
||||||
end
|
end
|
||||||
|
|
||||||
|
firewall_rule 'ejabberd_stun_turn' do
|
||||||
|
port 3478
|
||||||
|
protocol :udp
|
||||||
|
command :allow
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -74,6 +74,13 @@ listen:
|
|||||||
## "/pub/archive": mod_http_fileserver
|
## "/pub/archive": mod_http_fileserver
|
||||||
## register: true
|
## register: true
|
||||||
captcha: false
|
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
|
s2s_use_starttls: optional
|
||||||
|
|
||||||
@ -214,6 +221,7 @@ modules:
|
|||||||
versioning: true
|
versioning: true
|
||||||
store_current_id: true
|
store_current_id: true
|
||||||
mod_shared_roster: {}
|
mod_shared_roster: {}
|
||||||
|
mod_stun_disco: {}
|
||||||
mod_vcard:
|
mod_vcard:
|
||||||
search: false
|
search: false
|
||||||
mod_vcard_xupdate: {}
|
mod_vcard_xupdate: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user