50-stun-turn.yml 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. listen:
  2. -
  3. port: 3478
  4. transport: udp
  5. module: ejabberd_stun
  6. use_turn: true
  7. turn_min_port: 49152
  8. turn_max_port: 65535
  9. turn_ipv4_address: IP_ADDRESS
  10. -
  11. port: 5349
  12. transport: tcp
  13. module: ejabberd_stun
  14. use_turn: true
  15. tls: true
  16. turn_min_port: 49152
  17. turn_max_port: 65535
  18. turn_ipv4_address: IP_ADDRESS
  19. modules:
  20. mod_stun_disco:
  21. credentials_lifetime: 12h
  22. services:
  23. -
  24. host: IP_ADDRESS
  25. port: 3478
  26. type: stun
  27. transport: udp
  28. restricted: false
  29. -
  30. host: IP_ADDRESS
  31. port: 3478
  32. type: turn
  33. transport: udp
  34. restricted: true
  35. -
  36. host: HOSTNAME
  37. port: 5349
  38. type: stuns
  39. transport: tcp
  40. restricted: false
  41. -
  42. host: HOSTNAME
  43. port: 5349
  44. type: turns
  45. transport: tcp
  46. restricted: true