ELI5: Explain Like I'm 5

Traversal Using Relay NAT

Okay, kiddo, let me tell you a story about how computers talk to each other using something called Traversal using Relay NAT, or TURN for short.

Imagine there are two computers, one at your house and one at your friend's house. Let's say you want to video chat with your friend, so your computer wants to talk to your friend's computer.

But there's a problem – your computers don't know how to talk to each other directly because there are a lot of things, like firewalls and routers, in between them that stop the conversation from happening. So, without help, the conversation cannot begin.

This is where our hero, TURN, comes to save the day.

TURN is like a captain in a relay race who helps pass on the talking baton from one computer to another. Specifically, TURN helps your computer talk to a relay server first, and then the server talks to your friend's computer instead of your computer talking directly to your friend's computer.

The relay server is like a middleman, it helps your computer talk to your friend’s computer when there is no direct connection between them. This works because firewalls and routers often allow connections going out from your computer to the internet, but they might not allow incoming connections from the internet to your computer.

So, when you make a video call, the TURN server is essentially standing in the middle, holding hands with your computer and your friend's computer, helping them communicate easily without any interruptions.

That is how, using TURN, your computer can talk to your friend’s computer by talking to the relay server. This way, your video call can go smoothly even if there are many obstacles in between your computer and your friend's computer.

And there you have it, kid! That's traversal using relay NAT or TURN in a nutshell.