Visual RFC.
ALL RFCs / RFC 8656
Read the RFC ↗
RFC 8656 / PROTOCOL MECHANISMS

How can a helper carry a message to your friend?

01

The direct path is blocked in this example. Ask a TURN server to lend you a relay address, then watch where that address lives.

RFC 8656 · § 7EXAMPLE
1 / 4 · Try the direct path

Follow one small step. Then change one choice below.

Your device has a note

HELLO
Your device×Friend

This chosen direct path is blocked. Learning an outside address did not fix it.

Try a reachable relay

Your device→TURN relay→Friend

The helper will carry messages between two working legs of the trip.

What happens if you change this?

Try one change. Restart puts the original example back.

3 / 3
03
Receive the relayed address and lifetime.

Receive the relayed address and lifetime.

How can a helper carry a message to your friend?The direct path is blocked in this example. Ask a TURN server to lend you a relay address, then watch where that address lives.clientTURNAllocateauthenticate exchangerelayed address + granted lifetimeAllocation has finite resource scope, not unlimited relay permission

Key idea: Borrow a reachable address on a helper. The helper carries the data; the address alone does not open every gate.

Terms
TURN
Traversal Using Relays around NAT. It lets a device control a server that carries data to and from peers.
Relay address
An address and port reserved on the relay server, not a new address on your own device.
Allocation
The server’s temporary reservation of a relay address and related state.

Look up a term in the glossary ↗

Rules & examples

Borrow a helper’s address when the direct path is blocked.

  • The borrowed address lives on the server, not on your device.
  • Valid service access and available capacity are needed.

Start with the small note and the helper. Open the optional explanations for technical terms and exact RFC rules.

Chosen IPv4 UDP relay address 203.0.113.40:55000. An authenticated Allocate request requests a UDP relay and receives XOR-RELAYED-ADDRESS, XOR-MAPPED-ADDRESS and LIFETIME on success. The relay address and server-observed client address are different. This example assumes reachable client–server and server–peer paths, supported address family and successful policy checks. Access cases are chosen outcomes, not a cryptographic or complete authentication implementation; see the STUN lesson for message-integrity experiments. TURN also supports IPv6 and other client–server transports. This guide models UDP relay traffic, not the RFC 6062 TCP relay extension.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

Finding a route and sending media are separate jobs.

Some messages set up a conversation or discover a reachable address. Other packets carry the audio or video. Follow those jobs separately.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 5766 + RFC 6156RFC 8656 § 24

This revision incorporates IPv6 support and REQUESTED-ADDRESS-FAMILY, adds DTLS support, and aligns TURN with updated STUN.

Read the updated RFC section ↗

All chapters in RFC 8656

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗