Skip to content
Commitwise
Menu

NAT

Network address translation: a router rewrites private addresses to its public one so many devices share it.

Definition

The router remembers each outgoing connection and maps replies back to the right device. Incoming packets that don't match a mapping are dropped, so devices behind NAT can't accept connections from the internet, and idle mappings expire. Carrier-grade NAT puts many customers behind one public address.

In practice

A phone's WebSocket sends a ping every 30 seconds so the carrier's NAT doesn't forget the connection.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.