A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
A small business has 50 employees, one public IP from their ISP, and no plans to buy more. They need everyone to reach the internet. Without PAT, they'd have to buy 50 public IPs — or use a proxy. With PAT, one public address handles all 50 with no degradation for standard browsing.
PAT (also called NAT overload) is the single most common NAT configuration in the world. Every home router does it. Most small-business firewalls do it. Understanding it is essential.
That's the whole trick. Two clients using the same source port (30001) to reach the same destination both get mapped to different outside ports (40001 and 40002). Return traffic is matched on the outside port and translated back to the correct client.
! Basic PAT overload — use the outside interface's IPR1(config)# access-list 1 permit 10.10.10.0 0.0.0.255R1(config)# ip nat inside source list 1 interface gigabitEthernet0/0 overload! Or, PAT from a pool of public IPsR1(config)# ip nat pool PUBLIC_POOL 203.0.113.10 203.0.113.12 netmask 255.255.255.248R1(config)# ip nat inside source list 1 pool PUBLIC_POOL overload! VerifyR1# show ip nat translationsR1# show ip nat statistics
The `overload` keyword is what makes it PAT. Without it, the config would be dynamic NAT — one public IP per inside host. With `overload`, the router reuses public IPs by differentiating connections via port.
! Forward HTTP traffic to internal server on port 80R1(config)# ip nat inside source static tcp 10.10.10.50 80 203.0.113.50 80! Forward non-standard port 8080 to internal server on 80R1(config)# ip nat inside source static tcp 10.10.10.50 80 203.0.113.50 8080! Forward different ports on the same public IP to different serversR1(config)# ip nat inside source static tcp 10.10.10.50 80 203.0.113.50 80R1(config)# ip nat inside source static tcp 10.10.10.51 443 203.0.113.50 443R1(config)# ip nat inside source static tcp 10.10.10.52 22 203.0.113.50 2222
Static PAT translates a specific port on the outside IP to a specific port on an inside server. This is how you publish services from behind NAT. The last example forwards external port 2222 to internal port 22 — used to avoid exposing SSH on the standard port.
Static PAT commands are order-sensitive in the config: `<inside-ip> <inside-port> <outside-ip> <outside-port>`. A common mistake is reversing the ports, which results in forwarding to the wrong service. Read the command twice before committing.
`Hits: 182734` shows active translations. `Misses: 234` indicates packets that arrived without a matching translation — usually return traffic for a translation that timed out, or inbound traffic that no NAT rule matched.
Finish the lesson once you have worked through the material. This awards ★ 20 XP.
Select each vulnerable line, then classify the finding.
Findings
Review target: 16 lines · 2 expected findings