CS FundamentalsHardGATE CS · Product company CS fundamentals

A NAT router (public IP 203.0.113.5) holds the entry 192.168.1.20:51000 ↔ 203.0.113.5:62001 for a connection to 93.184.216.34:443. A packet arrives from 93.184.216.34:443 to 203.0.113.5:62001. What does the router forward into the LAN?

  1. A. A packet from 93.184.216.34:443 to 192.168.1.20:51000
  2. B. A packet from 203.0.113.5:62001 to 192.168.1.20:51000
  3. C. A packet from 93.184.216.34:443 to 192.168.1.20:62001
  4. D. Nothing: inbound packets are always dropped by NAT

Correct answer: A. A packet from 93.184.216.34:443 to 192.168.1.20:51000

For inbound traffic NAT rewrites only the DESTINATION (public IP and port) back to the private host's IP and port; the remote source stays as is. Unsolicited inbound packets with no table entry are dropped, but this one matches an existing mapping.

More Computer Networks questions

Exams that ask this topic