About this interactive
From the lesson:
- **Static NAT** is a fixed one-to-one mapping between an inside local and an inside global address. It works in both directions, so outside clients can reach the server: the destination is translated on the way in and the source on the way out.
- **Dynamic NAT** hands out a pool address to a host that needs one and takes it back when the translation clears. It is one-to-one too, so a pool of two serves two hosts at a time, and a server on a pool has no fixed public address.
- **PAT** also translates the Layer 4 port, so many hosts share one address and each session is told apart by its port. When two hosts use the same source port, one is moved to another free port; when an address runs out of ports, the next pool address is used. ICMP, which has no ports, uses its query ID.
- **Static PAT** maps one port on a public address to one port on an inside host, which is a home router's port forward. A non-standard external port gets scanned less.
- **Nothing comes in unasked:** a dynamic entry exists only because an inside host started a session.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →