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: //

Also Read

  1. ↩︎ ↩︎

  2. ↩︎ ↩︎

  3. ↩︎ ↩︎ ↩︎

  4. ↩︎ ↩︎

  5. ↩︎

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