TURN Traversal Using Relays around NAT
More info
- Type
- Protocol
- Spec
- RFC 8656
A relay server that forwards traffic between two peers that cannot reach each other directly.
STUN suffices for most NAT types, but symmetric NATs and restrictive corporate firewalls block hole punching. TURN then steps in: both peers connect outward to the relay, which forwards packets between them.
It always works, but it costs — all media traffic crosses your server, with the bandwidth and latency that implies. Hence TURN is the last resort in ICE prioritisation. Defined in RFC 8656; coturn is the common implementation.