Pcornel
Security · Network Security

Network ACL

Cheat sheet · https://pcornel.dk/topic.php?topic=416

Back to the Topic

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 hits
  • show ip interface <if> | include access list — where applied
  • aws ec2 describe-network-acls — cloud NACLs

Commands

show access-lists
ip 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

BoundaryEstablishDoes not establish
Scope and intentExact subjects, destinations, application, direction, trust zone and expected decisionDoes not prove effective path, identity, cryptography or enforcement
Effective control stateResolved rule/policy, session/SA, identity/posture, translation and selected pathObject/config presence does not prove a match or packet outcome
Runtime evidenceCorrelated client, authenticator/firewall/VPN, AAA and destination observations for one flow/timeA single log or success does not prove every packet, peer, path or failover state
ClosureOriginal allowed/denied operation behaves as intended and regression/failure tests passAdministrative 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

Confirmation

Confirm action

Continue?