Vol. I · No. 46The hardware sectionSat, 10 Oct 2026
Layers 3–7 · Security device

Firewall

the packet / next-gen firewall

A firewall decides which traffic is allowed to pass and which is blocked. It inspects each packet against a policy, tracks the state of every connection, and drops anything not explicitly permitted — the network’s rule-keeper.

A firewall checks every packet against a policy and blocks whatever isn’t allowed.

Operates at
Layers 3–7
packet to app
Decides by
Rules
allow / deny
Tracks
State
stateful
Default
Deny
allow-list

How it works

Every packet judged against the rules
Outside
incoming traffic
untrusted
packet in
Firewall
match the policy
allow or drop
only if allowed
Inside / LAN
protected hosts
trusted
The rule set, top to bottom
allow 443/tcp → web ← matchALLOW
allow 22/tcp from adminALLOW
everything elseDENY

The firewall checks each packet against an ordered rule set. A permitted flow passes and its state is remembered; anything not matched by an allow rule hits the final deny and is dropped.

The main points

What a firewall does, step by step

1
Inspect the packet

It reads addresses, ports and — on next-gen firewalls — the payload.

2
Match against the rules

Rules are checked top-down; the first match wins.

3
Check the state

It confirms the packet belongs to an already-allowed connection.

4
Allow or drop

Permitted traffic passes and is logged; everything else is blocked.

In cybersecurity

The firewall is the policy boundary — it’s the network’s primary defence and a prime target to get past.

Default deny

Allow only what is explicitly needed.

Stateful inspection

Track connections, not just isolated packets.

Deep packet inspection

Next-gen firewalls read L7 application data.

Segmentation

Separate zones with rules governing what crosses.

Logging & alerting

The authoritative record of what was blocked.

Rule hygiene

Stale allow rules quietly become open holes.

Protocols it runs

IPTCPTLSHTTP

Sits beside

RouterProxy ServerLoad Balancer

On the bench

Firewall — Packet / next-gen firewall