Summary

  • RFC 3022, January 2001, describes Basic NAT and NAPT, which translate "many network addresses and their TCP/UDP ports ... into a single network address and its TCP/UDP ports".
  • It also states the bill plainly: the solution "has the disadvantage of taking away the end-to-end significance of an IP address, and making up for it with increased state in the network", so IPSec security "cannot be assumed to end hosts, with a NAT device enroute".

A fix that needs no cooperation from the ends

Start with the boring problem. Internal addresses may be unusable outside "either for privacy reasons or because they are invalid", and the world outside keeps moving: customers switch providers, backbones get reorganised, providers merge, split, and merge again.

Translation makes all of that vanish "by centralizing changes to a single address translation router". Nobody inside has to know. Nobody outside has to be told. The box in the middle absorbs the difference, and absorbing the difference is the whole product.

What the ends give up

The paragraph worth reading twice is the admission. An IP address used to say which host you were talking to. Behind NAT it says which translator is speaking for that host — and the translator keeps a table that remembers the difference.

"Increased state in the network" is the phrase. That state is why end-to-end arguments stop working. If IPSec assured security between two endpoints, the assurance now depends on a device that was not in the original conversation, was never invited to it, and cannot see inside the encryption it has just become responsible for.

The rule that makes it fragile

Because the translator holds the mapping, one sentence decides whether anything works at all: "It is mandatory that all requests and responses pertaining to a session be routed via the same NAT router."

Read it again and you have the architecture of the next quarter century. Stubs get a single exit. Multi-homed networks need care. A second path that bypasses the box is not a second path; it is a broken session. Redundancy becomes a configuration problem, and the thing in the middle becomes the thing you cannot lose.

Applications had to change anyway

The memo also explains why so many protocols suddenly needed helpers. Applications that need an application-level gateway "must not have their payload encoded, as doing that would effectively disables the ALG, unless the ALG has the key to decrypt the payload".

That is a strange sentence to find in a document about addresses, and the grammar is the least of it. The translator's helper can only help if the application hands over something it can read. Encryption and translation were on a collision course from the first paragraph; the memo wrote the collision down and moved on.

Privacy as an accident

Section 8 notes that traditional NAT "can be viewed as providing a privacy mechanism as sessions are uni-directional from private hosts and the actual addresses of the private hosts are not visible to external hosts".

Watch how that arrived. Nobody designed NAT as a firewall. It became one because an unrequested inbound packet had no entry in the table, and the table was the only thing standing there. A side effect of the state turned into the reason millions of people installed the box, and then into the reason the box was said to be indispensable.

Why the compromise held

The memo names the advantage in the same breath as the drawback: it "can be installed without changes to hosts or routers". That is the entire justification, and it is enough. A change that asks nothing of anyone beats a better change that asks everything of everyone, every time.

The address paid for it. An IP address used to be an identity, then became a location, and behind a translator it is a session — a temporary entry in someone else's table, refreshed by traffic, forgotten when the traffic stops. The internet kept working because almost everything people do is a session. The exceptions are the applications that still break today, and the engineers who still take the call.

A quarter of a century on, the memo reads less like a specification than a warning label everyone agreed to ignore. The box was a concession to a shortage of addresses. It became the default shape of the network: a layer that holds the state, decides what the world sees, and cannot be removed without renumbering everything behind it. Every later argument about who gets to sit in the middle of the internet — and what they owe the people on either side — starts here, in a document that had the decency to itemise the bill.