NAT — Network Address Translation — is the near-universal router behavior that lets many devices on a private network share a single public IP address. The router rewrites the source address (and port) of outbound traffic so the wider internet sees one address, then maps replies back to the right internal device. It is what makes home and office networks work with a single internet connection, but it also breaks a basic assumption of peer-to-peer media: two endpoints behind NAT cannot simply look up each other's address and connect, because neither has a directly reachable public address.

Every WebRTC connection therefore has to negotiate its way around NAT. It does this with ICE (Interactive Connectivity Establishment), which uses STUN servers to discover a device's public-facing address and, when a direct path cannot be established, falls back to TURN servers that relay the media between the two sides. STUN is cheap; TURN relays carry the full media stream through your infrastructure, so they cost bandwidth and add a network hop.

For a telemedicine product, NAT type is a quality and cost variable, not an abstraction. The hardest case is symmetric NAT — common precisely in the environments your users sit in, such as hospital networks and carrier-grade mobile networks — which often defeats direct connection and forces a TURN relay path. That added relay raises latency and your operating cost. The common mistake is under-provisioning TURN capacity or skipping it during testing on a permissive office network, then watching connection success rates collapse when real patients connect from restrictive clinical or cellular networks.

Book cover: Video Streaming, Volume 3 of the Fora Soft Video Engineering HandbookBook cover: Video Streaming, Volume 2 of the Fora Soft Video Engineering HandbookBook cover: AI for Video, Volume 7 of the Fora Soft Video Engineering Handbook

The handbook · 7 volumes

Fora Soft Video Engineering Handbook

NAT is why a patient on hotel Wi-Fi may not connect without TURN, and why relay costs show up on the bill. We wrote seven volumes covering the whole video stack, and for NAT traversal start with Volume 2: NAT, TCP versus UDP, QUIC and what networks do to a stream. Volume 3 covers WebRTC and Volume 7 serving. Written by Nikolay Sapunov, CEO at Fora Soft.

Browse the handbook on Amazon →7 volumes · 9,000+ pages · Kindle & paperback

Patients behind strict NAT failing to join calls?

We will review your STUN and TURN setup and give you a NAT traversal plan with connection success targets and relay cost estimates. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →