12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #include_config_file:
- # ./macro.yml
- listen:
- -
- port: 3478
- transport: udp
- module: ejabberd_stun
- use_turn: true
- turn_min_port: 49152
- turn_max_port: 65535
- ## The server's public IPv4 address:
- turn_ipv4_address: IP_ADDRESS
- -
- port: 5349
- transport: tcp
- module: ejabberd_stun
- use_turn: true
- tls: true
- turn_min_port: 49152
- turn_max_port: 65535
- # ip: IP_ADDRESS
- turn_ipv4_address: IP_ADDRESS
- modules:
- mod_stun_disco:
- credentials_lifetime: 12h
- services:
- -
- host: IP_ADDRESS
- port: 3478
- type: stun
- transport: udp
- restricted: false
- -
- host: IP_ADDRESS
- port: 3478
- type: turn
- transport: udp
- restricted: true
- -
- host: HOSTNAME
- port: 5349
- type: stuns
- transport: tcp
- restricted: false
- -
- host: HOSTNAME
- port: 5349
- type: turns
- transport: tcp
- restricted: true
|