top | item 46738247

(no title)

Dagger2 | 1 month ago

They connect to whatever IP is specified in the packet's "destination IP" header field. It's exactly the same behavior as if there was no NAT going on.

discuss

order

kortilla|1 month ago

The destination IP header from the internet belongs to the router. There is nothing internal to connect to without NAT.

Dagger2|1 month ago

No, it might belong to the router. If it does then the connection goes to the router, but if it's set to a LAN machine's IP then the packet gets routed to the LAN machine.

You aren't in control of the contents of inbound packets, and NAT won't filter them to enforce anything about the destination IPs in them either.