====== TURN Server ====== Talk works correctly only in the same network. To work with multiple client behind NAT, TURN server is required. ===== CoTURN ===== Official NC HowTo for installing TURN server: [[https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794]] Dockers with coTURN server: * https://github.com/coturn/coturn/tree/master/docker * https://github.com/instrumentisto/coturn-docker-image * https://hub.docker.com/r/monogramm/docker-coturn * https://github.com/Monogramm/docker-coturn * lightweight fork using alpine and latest coturn (master branch) like instrumentisto/coturn-docker-image * https://hub.docker.com/r/cybergatelabs/coturn * simple Debian Buster + coturn package: https://hub.docker.com/r/cybergatelabs/coturn/dockerfile * Blog howto: https://mach5.web.id/2020/04/nextcloud-series-part-2-nextcloud-talk-turn-stun-server/ Online verificator for public TURN server: * https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ Some found HOWTOs: * https://docs.bigbluebutton.org/2.2/setup-turn-server.html * https://meetrix.io/blog/webrtc/turnserver/long_term_cred.html * https://github.com/spreedbox/spreedbox/wiki/Use-TURN-server * https://www.netways.de/blog/2017/08/16/setting-up-a-turn-server-for-nextcloud-video-calls/ ===== TCP/UDP Ports ===== * Default TCP/UDP 3478 (can be set to 80) * Default TLS/DTLS is 5349 (can be set to 443) * Receiving UDP ports: 49152-65535 --min-port Lower bound of the UDP port range for relay endpoints allocation. Default value is 49152, according to RFC 5766. --max-port Upper bound of the UDP port range for relay endpoints allocation. Default value is 65535, according to RFC 5766.