Overview

Traversal Using Relays around NAT (TURN) is a protocol that assists in traversal of network address translators (NAT) or firewalls for multimedia applications. It may be used with the Transmission control protocol and user datagram protocol.
TURN is most useful for clients on networks masqueraded by symmetric NAT devices. It supports the connection of a user behind a NAT to only a single peer, as in telephony, for example[1].

Problems TURN Solves

Pros of TURN

Cons of TURN

In the context of 59.33 WebRTC, TURN is usually deployed with 59.28 STUN servers. Configuring TURN implicitly also implements the STUN protocol[5]. It's important to note that TURN does not aid in running servers on well-known ports in the private network through a 59.24 NAT[1:1].

Create your own STUN & TURN server

COTURN open source project
https: //github.com/coturn/coturn

Also Read


  1. https://en.wikipedia.org/wiki/Traversal_Using_Relays_around_NAT ↩︎ ↩︎

  2. https://vegibit.com/turn-server-explained/ ↩︎ ↩︎ ↩︎

  3. https://getstream.io/glossary/turn-server/ ↩︎

  4. https://bloggeek.me/webrtcglossary/turn/ ↩︎ ↩︎ ↩︎ ↩︎

  5. https://www.100ms.live/blog/webrtc-turn-server ↩︎

Thoughts 🤔 by Soumendra Kumar Sahoo is licensed under CC BY 4.0