59.28 STUN

Session Traversal Utilities for NAT (STUN) is a standardized set of methods, including a network protocol, used for traversal of network address translator (NAT) gateways in applications of real-time voice, video, messaging, and other interactive communications[1].
It is primarily used to discover the public IP address of a device running behind a NAT[2].

Problems STUN Solves

Pros of STUN

Cons of STUN

In the context of WebRTC, STUN is usually deployed with TURN servers. Configuring TURN/UDP implicitly also implements the STUN protocol[4:1].

Create your own STUN & TURN server

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

Also Read

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

  2. https://www.3cx.com/blog/voip-howto/stun/ ↩︎ ↩︎

  3. https://info.support.huawei.com/info-finder/encyclopedia/en/STUN.html ↩︎ ↩︎ ↩︎

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

  5. https://getstream.io/glossary/stun-server/ ↩︎

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