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.
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.
kortilla|1 month ago
Dagger2|1 month ago
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.