liveBook · Manning

Stateful firewall

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

Stateful packet filtering is a traffic-filtering technique that permits or denies packets according to connection state and packet relationships.

A stateful firewall filters traffic using both packet details and connection context. Unlike a router ACL, which evaluates every packet independently, it can recognize whether a packet belongs to an established communication flow and permit an appropriate reply. section 11.5.1 section 11.6

Core behavior includes:

  • Allowing a host in an internal or Inside zone to initiate communication with an external or Outside host, then allowing the reply traffic. section 11.5.1
  • Blocking unsolicited traffic initiated from the Outside zone toward the Inside zone when policy does not permit it. section 11.5.1
  • Applying policies between multiple zones, including a demilitarized zone (DMZ) for servers that must accept internet connections. section 11.5.1 section 11.6
  • Serving as the foundation of a next-generation firewall, which can add application identification, malware protection, and intrusion prevention. section 11.5.2

Internal web request

A host in the Inside zone connects to a web server on the internet. The firewall records the relationship and permits the server’s reply. If the internet host instead initiates a new connection toward the Inside zone, the firewall blocks it under the zone policy. section 11.5.1

Figure 11.10 Simple firewall rules. Hosts in the Inside zone can initiate communications with hosts in the Outside zone, but hosts in the Outside zone cannot initiate communications with hosts in the Inside zone.

Use the zone diagram to compare permitted Inside-to-Outside session establishment with blocked Outside-to-Inside initiation. section 11.5.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines stateful filtering, contrasts it with ACLs, and explains zones and reply traffic without covering configuration commands or verification.
Examples
Uses internal-to-internet web communication, Inside and Outside zones, and DMZ-hosted internet-facing servers as concrete examples.
What it assumes
Contrasts the concept with router ACLs, treating per-packet stateless filtering as the comparison point.
What you can do after
Evaluate whether traffic is a permitted reply or an unsolicited connection under stateful and zone-based policy.
How it connects
Connects stateful firewalls with ACLs, security zones, DMZs, next-generation firewalls, application control, malware protection, and IPS.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.