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

What return address does the outside world see?

01

Ask a STUN helper what return address it sees. Watch a home router change a label, then bring the helper’s observation back to your device.

RFC 8489 · § 2EXAMPLE
1 / 4 · Ask a helper about your return label

Follow what happens to this one message.

Your device

10.0.0.2:5000

What return label do you see?

Home router

Outside label not written yet

Follow the message through this network.

STUN helper

Waiting for the question

I can report the source label I see.

Your device can read its home label. The helper may see a different one.

What happens if you change this?

Change one thing and watch the result. Restart restores the original example.

3 / 3
03
The response reports that address to the client.

The response reports that address to the client.

What return address does the outside world see?Ask a STUN helper what return address it sees. Watch a home router change a label, then bring the helper’s observation back to your device.clientNATSTUNBindingtranslated sourceserver observes public IP:portXOR-MAPPED-ADDRESSreflexive candidateObserved mapping is not universal reachability

Key idea: Ask a helper what return label it sees. That observation is not a promise that every friend can reach it.

Terms
STUN
Session Traversal Utilities for NAT: a helper protocol that can report a source address and port, support checks and keep bindings alive. It is a tool, not a complete connection solution.
NAT
Network Address Translation. In this chosen home example the router rewrites the source IP address and port.
Port
A number selecting a network endpoint within a transport protocol. Think of an address and a numbered doorway.
XOR-MAPPED-ADDRESS
The response field carrying an encoded observation of the source address and port. XOR encoding is reversible; it is not encryption.

Look up a term in the glossary ↗

Rules & examples

A helper reports the source address and port it sees on your message.

  • A helper reports the source address and port it sees on your message.
  • Your router may have written an outside label that differs from the device’s home label.
  • A different destination may see a different mapping. Learning one label does not prove every friend can use it.

Start with the drawing. The closed explanations introduce the technical names, actual fields and source rules after the idea. These chosen offline examples do not implement a complete STUN, ICE or TURN client.

Chosen IPv4 input 10.0.0.2:5000; server-observed source 203.0.113.7:62000; XOR-MAPPED-ADDRESS value 0001d322ea12d545. XOR port uses 0x2112; IPv4 uses cookie 0x2112A442. IPv6 uses a different 128-bit mask incorporating the transaction ID and is outside this bounded helper. Addresses are documentation fixtures, not a live network test. Source: §§2 and 14.2.

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.

All chapters in RFC 8489

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 ↗