Firewall (CCNA)
Cheat sheet · https://pcornel.dk/topic.php?topic=1521
Answer
A firewall enforces which traffic may pass between networks or zones according to rules, usually tracking connection state. This Topic covers firewall principles; NGFW stateful inspection details are in Stateful Inspection.
Remember
An installed firewall is not evidence that the intended path traverses it or that its effective policy matches intent.
First checks
Pin down the exact flow: source, destination, protocol, port. Confirm with the routing table or traceroute that it really crosses the firewall. Find the rule that matched — hit counters, or packet-tracer on ASA/FTD — then check NAT and the connection entry (show conn).
Verify in this order
exact flow (source, destination, protocol, port) → routing sends it through the firewall → NAT → rules read top-down, first match → permit: connection entry created · deny: dropped and logged → return traffic crosses the same firewall
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1521