История изменений
Исправление edigaryev, (текущая версия) :
NAT транслирует IPv4, ему плевать, что внутри IP-пакетов, ибо это уже другой уровень OSI.
NAT бывает разный, но тот что в дешевых говнороутерах как раз таки использует транспортный уровень для того, чтобы определить какому из пользователей внутрисети доставлять пакет.
Цитата из вики:
To avoid ambiguity in how to translate returned packets, further modifications to the packets are required. The vast bulk of Internet traffic is TCP and UDP packets, and for these protocols the port numbers are changed so that the combination of IP address and port information on the returned packet can be unambiguously mapped to the corresponding private address and port information.
Исходная версия edigaryev, :
NAT транслирует IPv4, ему плевать, что внутри IP-пакетов, ибо это уже другой уровень OSI.
NAT бывает разный, но тот что в дешевых говнороутерах как раз таки использует транспортный уровень для того, чтобы определить какому из пользователей внутрисети доставлять пакет.
Цитата из вики:
To avoid ambiguity in how to translate returned packets, further modifications to the packets are required. The vast bulk of Internet traffic is TCP and UDP packets, and for these protocols the port numbers are changed so that the combination of IP address and port information on the returned packet can be unambiguously mapped to the corresponding private address and port information.