ACLs and NAT cheat sheet
Standard and extended ACLs, wildcards, placement, static NAT, dynamic NAT and PAT.
01 ACLs
| Type | Numbers | Matches | Place it |
|---|---|---|---|
| Standard | 1–99, 1300–1999 | Source only | Close to the destination |
| Extended | 100–199, 2000–2699 | Protocol, source, destination, ports | Close to the source |
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 110 deny tcp 10.1.1.0 0.0.0.255 host 10.2.2.10 eq 23
access-list 110 permit ip any any
interface gi0/0
ip access-group 110 in
!
ip access-list extended WEB
permit tcp any host 10.2.2.10 eq 443
deny ip any any log- Top to bottom, first match wins; an implicit
deny anyends every list. - One ACL per interface, per direction, per protocol.
host 10.1.1.1= 10.1.1.1 0.0.0.0;any= 0.0.0.0 255.255.255.255.
On the full sheet
- NAT
- Exam traps (4)