Interview Prep/Networking/NAT, Firewalls & VPN

What is NAT and why is it used?

BeginnerConceptNAT, Firewalls & VPN
Answer

Network Address Translation rewrites IP addresses (and often ports) as packets cross a boundary. It lets many private hosts share one public IP and hides internal addressing. The device keeps a translation table so replies are mapped back.

It is not a security feature by itself; it just happens to block unsolicited inbound connections because there is no mapping for them.

All Networking questions Roadmap: Networking for DevOps

More on NAT, Firewalls & VPN