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
- Open (5 min)Tell the first paragraph of the mini-lesson: SQL Slammer, one UDP packet to port 1434. Ask: what does a firewall at the internet connection need to know about a packet to stop this one? Collect answers before reading on.
- Mini-lesson (15 min)Teach Firewall Types and Placement: read from the start through the stateless firewall definition, then skip to Stateful and next-generation firewalls. Save the bus agency and Davis-Besse sections for Day 2. Before the stateful section, say in one line that "the agency" is a city bus agency and "the office" is one of its network segments; both come on Day 2.
- Do together (7 min)Problem 3 🔒, Problem 4 🔒 and Problem 6 🔒: each asks which firewall type fits a requirement. Have students name what the requirement needs the firewall to read before looking at the choices.
- On their own (13 min)Problem 1 🔒 what a firewall is · Problem 2 🔒 reading a rule list · Problem 4 🔒 choosing a type for a requirement.
- Exit check (5 min)🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Day 2 · What each type misses, and where firewalls go45 min
- Open (5 min)Three columns on the board: stateless, stateful, next-generation. Students sort these under the first type that has them: reads ports, keeps a connection record, reads packet contents, names the application, blocks an intrusion as it happens.
- Do together (10 min)Problem 5 🔒 Problem 6 🔒 🔒 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 6 🔒: match each requirement in the stem to what a type can do.
- Mini-lesson (10 min)Teach Firewall Types and Placement: the bus agency segments and the Davis-Besse plant. In the Davis-Besse section, read to "The plant's network had a firewall that would have stopped the worm," and ask why Slammer got in anyway. Then read on and show the diagram.
- Do together (7 min)Problem 8 🔒: the core placement skill. Trace the laptop's packet to the workstation one hop at a time, marking every device it crosses.
- On their own (8 min)Problem 7 🔒 Problem 10 🔒: read the stem for exactly what it asks, then check each choice against it.
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.
🔒 Answer keyEvery problem's answer, the concept and essential knowledge it checks, and the trap it targets.Sign in as a teacher to see this🔒 Traps this set testsWhat each common wrong answer looks like, and one line to say when you see it.Sign in as a teacher to see this🔒 What to emphasizeThe points that decide the set's problems.Sign in as a teacher to see this🔒 Questions to ask aloudQuestions for the class discussion, with what to listen for.Sign in as a teacher to see this🔒 On the examHow the set's ideas appear on the AP exam, from the course framework.Sign in as a teacher to see this🔒 Your class so farLive results for your section: the problems a third or more missed on the first try, the most common wrong answer, and what it usually means.Sign in as a teacher to see this
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.