Network ACL
Cheat sheet · https://pcornel.dk/topic.php?topic=416
Answer
An access control list is an ordered list of permit and deny lines applied to an interface in one direction. Each packet is compared from the top; the first matching line decides, and what matches nothing is denied.
Remember
First match wins. An invisible deny ip any any ends every list. ACLs are stateless: the return traffic needs its own permit where a list is applied. "In" and "out" are seen from the device. Wildcard masks are inverted: /24 is 0.0.0.255.
First checks
show ip access-lists <name>— entries and hitsshow ip interface <if> | include access list— where appliedaws ec2 describe-network-acls— cloud NACLs
Commands
show access-listsip access-group
Verify in this order
packet → ACL entries top-down → permit/deny
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Network Security → Network ACL proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Exact subjects, destinations, application, direction, trust zone and expected decision | Does not prove effective path, identity, cryptography or enforcement |
| Effective control state | Resolved rule/policy, session/SA, identity/posture, translation and selected path | Object/config presence does not prove a match or packet outcome |
| Runtime evidence | Correlated client, authenticator/firewall/VPN, AAA and destination observations for one flow/time | A single log or success does not prove every packet, peer, path or failover state |
| Closure | Original allowed/denied operation behaves as intended and regression/failure tests pass | Administrative commit or tunnel-up state alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=416