The NAT protocol provides for translation of IP addresses
and TCP port numbers between a local address space and
the global address space.
For outgoing traffic, the NAT protocol
tracks the destination IP address and TCP port, and uses
them to map the source IP address and TCP port.
For
incoming traffic, the NAT protocol uses the source IP
address and TCP port to map the destination IP address
and TCP port.