About this interactive
A firewall sits between the internal network and the rest of the world and decides, for traffic in each direction, whether to allow or deny it.
Security zones. The firewall's interfaces are grouped into zones by trust: the internet (least trusted), the screened subnet or DMZ (more trusted), and the internal network (most trusted). A common policy, the one in this activity, lets a connection start from a more trusted zone toward a less trusted one, and blocks anything starting the other way unless a condition is met.
Returning traffic. When a machine inside asks a website for a page, the firewall records the outgoing connection and lets the matching reply back in. This is stateful inspection: the firewall keeps a table of the connections it has seen start, and a packet that claims to be a reply but matches nothing in that table is dropped.
ACL rules. An access control list creates exceptions: "allow the internet to reach the web server on port 443". A rule can match on MAC or IP address, protocol and port, and on some firewalls a URL. An ACL can also deny: a rule can block an address that the zone policy would otherwise allow.
Next-generation firewalls. A traditional firewall decides on header information: addresses, protocol and port number. A port only suggests an application (443 is usually web traffic), so a traditional firewall cannot tell what really travels on an allowed port. A next-generation firewall (NGFW) uses deep packet inspection to identify the application and look into the content, for example to recognize malware in a download. To see inside encrypted HTTPS, it has to decrypt it (TLS inspection) where the organization has set that up. The video places traditional firewalls at OSI layers 1 to 4; the information they filter on is in the layer 2 to 4 headers (MAC, IP, port). Layer 1 is the signal itself, and nothing filters on it.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →