summaryrefslogtreecommitdiff
path: root/ejabberd/config.d/stuns-turns.yml
blob: a8e5e7a24bd1c7bf326b7f560c1dc13e8993651a (plain)
  1. # STUN/TURN services (secure authenticated)
  2. #
  3. # * TURN_IP must be the public IP of the listening port
  4. # * TURN relay requires authentication
  5. # * _tls proto (in DNS below) is nonstandard but maybe used in the wild
  6. # * stuns service (in DNS below) is legacy but maybe used in the wild
  7. #
  8. # Sample DNS entries:
  9. # @ IN NAPTR 10 0 "s" "RELAY:turn.tls" "" stun
  10. # stun IN A 192.0.2.1
  11. # _stuns._tcp IN SRV 0 0 5349 stun
  12. # _stun._tls IN SRV 0 0 5349 stun
  13. # _turns._tcp IN SRV 0 0 5349 stun
  14. # _turn._tls IN SRV 0 0 5349 stun
  15. #
  16. # Depends: erlang-p1-stun
  17. listen:
  18. -
  19. port: 5349
  20. module: ejabberd_stun
  21. tls: true
  22. certfile: 'CERT_PATH'
  23. auth_type: user
  24. turn_ip: 'TURN_IP'