Lesson plan: Firewall Types and Placement

AP Cybersecurity · Unit 3 Securing Networks · Topic 3.4 Protecting Networks: Firewalls · Practice set

At a glance

Suggested time
3 class periods (45 min)
Pacing
First of two sets for Topic 3.4. The CED gives Topic 3.4 eight class periods; this plan suggests 3 for this set, 3 for Access Control Lists and Rule Order, 1 for CED Scenario 3A and 1 for review. Day 3 here uses the placement half of Scenario 3A (where Firewalls A and B go, and what type each should be); configuring Firewall A belongs to Access Control Lists and Rule Order.
Before this set
Network Segmentation (segments, higher and lower security zones, the screened subnet or DMZ in CED Figure 3.3). Students should know that a packet carries a source address, a destination address, a protocol, and a port. The mini-lesson defines packet, port, and UDP in passing, and the set uses port 443 (HTTPS).
Skills
2.A Identify security controls, and explain how they mitigate risks.
2.B Determine layered security controls that address vulnerabilities.

The one idea: A firewall's type decides what it can read: headers only (stateless), headers plus a record of open connections (stateful), or also the contents and the application (next-generation). Its placement decides which traffic it gets to read: only the traffic whose path crosses it.

Day by day

Day 1 · Three kinds of firewall45 min

Day 2 · What each type misses, and where firewalls go45 min

Day 3 · Every path, every entry45 min

  • Do together (8 min)Problem 12 🔒: two firewalls, four flows. Trace each flow switch by switch out loud; this is the method for the rest of the day.
  • In pairs (12 min)Problem 9 🔒 Problem 11 🔒 Problem 13 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
  • On their own (5 min)Problem 14 🔒: check the plan against the placement rules from the lesson.
  • Groups (15 min)CED Scenario 3A, placement half: Adams County Hospital has public servers running a patient web application and an internal file server with patient records. The scenario's text refers to a network diagram that the CED pages do not print, so groups sketch the network themselves (CED Figure 3.3, the two-firewall screened subnet, is a good start), place Firewall A and Firewall B, and name a type for each with one reason tied to what that firewall must see. The CED prints no answer; accept any type a group defends this way.
  • Wrap (5 min)Each student writes two sentences: what decides a firewall's type, and what decides where it goes.

Differentiation

If students are struggling
Give students the three-column type chart from the Day 2 Open to keep on the desk. For placement, have them highlight each flow's path on the wiring list before reading the choices, starting with Problem 8 🔒 and Problem 12 🔒.
Extension
Take the CED Scenario 3C submarine drawing from Network Segmentation (weapons, naval operations, crew recreation LANs) and mark where each firewall sits, what type it is, and which LAN's firewall is strictest. Or add a third internet link to Problem 14 🔒's brewery and redraw the plan.
Vocabulary support
stateless, stateful (dynamic packet filtering), next-generation firewall (NGFW), packet header, deep packet inspection, intrusion prevention, segment, ingress and egress.

From the course framework

LO 3.4.A Identify types of network-based firewalls.

  • 3.4.A.1 A firewall is used to allow or deny network traffic in or out of a network. The firewall itself is software that can be hosted on a standalone device or integrated into another network device, such as a router.
  • 3.4.A.2 A stateless firewall filters traffic based on information in packet headers, such as IP addresses, ports, and protocols.
  • 3.4.A.3 A stateful firewall (also known as dynamic packet filtering) tracks the state of network connections passing through the firewall and can filter according to connection-related rules in addition to the filtering done by a stateless firewall. This allows for more control over content allowed in and out of a network.
  • 3.4.A.4 A next-generation firewall (NGFW) has both the capabilities of typical stateless and stateful firewalls and additional advanced features, such as intrusion prevention, deep packet inspection, and filtering by application type.

LO 3.4.C Determine the effective placement of firewalls in a network.

  • 3.4.C.1 Each segment of a network should have a firewall to control the flow of data in and out of that segment.
  • 3.4.C.2 Network segments may have different security needs based on the data and services within them. The level of security for each firewall can be set independently.
  • 3.4.C.3 Each point of data ingress and egress between the internal network and the public internet should have a firewall.