GCSE · Computer Science · OCR · Spec J277
Firewalls
Everything your school network sends to the internet, and everything coming back, has to pass one checkpoint. Some of it gets stopped, including traffic that was trying to leave.
Stand at the firewall
In, out, through or blocked?
The firewall sits between a school network and the internet. Four pieces of traffic arrive at it, from both sides. Step through and decide each one before the firewall does.
On every 'Checking…' step, call it first: through or blocked? Then press Next.
Message: All traffic between the school network and the internet passes the firewall.
Output
Step 1: First up: something from the internet wants in. It can't just walk through, because the firewall is the barrier between the network and the internet. Your call?
Use Next to move one step at a time. The log underneath keeps a tally of every decision.
Your turn to be the firewall
Through or blocked? Then: which way?
Pick a piece of traffic, then pick where it goes. When you've sorted them all, switch the rule and sort the same traffic by direction.
What would the firewall do with it?
Still to sort
Allowed through (0)
The security rules permit it.
Blocked (0)
An unauthorised flow of data, in or out.
Where the line is: It's the security rules that decide, not which side of the firewall the traffic started on.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Not a solid wall. A filter that checks traffic going in and coming out.
What you need to know
- A firewall is a system that filters network traffic.
- It sits as a barrier between a network and the internet.
- Each piece of traffic is checked against security rules.
- Traffic the rules allow gets through; unauthorised flows of data are stopped.
Have a goYour friend announces, totally confident: "A firewall is a barrier, so our network can't send or receive anything from the internet." What's the flaw?
It's a filter, not a solid wall: traffic the rules allow still gets through.
'Barrier' makes it sound like nothing passes, but the firewall checks each piece of traffic against security rules and only stops unauthorised flows.
- It filters both ways: incoming traffic and outgoing traffic.
Have a goA tablet on your home network asks a website for a page. Is that traffic incoming or outgoing as it passes the firewall?
Outgoing: it starts inside the network and heads out to the internet.
It's tempting to think only internet traffic counts, but traffic leaving the network passes the firewall and gets checked too.
- Coming in, it blocks unauthorised access attempts.
- It might block access to a suspicious website.
- Going out, it can stop unauthorised apps from sending data.
Have a goFinish the sentence: an app nobody authorised tries to send data from a laptop on the network out to the internet, so the firewall …
… can block it.
Starting inside the network doesn't make traffic trusted; a firewall protects against unauthorised flows of data out of the network as well as in.
- Firewalls, along with methods like user privileges, help reduce the risk of attacks.
The big picture
A firewall is a system that filters network traffic to protect against unauthorised flows of data in or out of a network. It acts as a barrier between a network and the internet, checking incoming and outgoing traffic against security rules. It might block access to a suspicious website, stop an unauthorised app from sending data, or block an unauthorised access attempt. Firewalls, along with methods such as user privileges, help reduce the risk of attacks and keep a network secure.
Key points
Worked example
Problem
Improve this weak answer: "A firewall is a wall around the network that stops hackers getting in."
⚠ Watch out
Thinking a firewall only stops things coming into a network. It filters outgoing traffic too, so it can stop an unauthorised app on the network from sending data out.
Memory hook
A firewall is a bouncer who checks the door both ways: who's coming in AND who's sneaking out, with the security rules as the guest list.
Check yourself
Cover the page. Where does a firewall sit, what does it use to decide, and which two directions does it check? Then give one thing it might block in each direction.
Flashcards
(9)What is a firewall?
Where does a firewall sit?
What does a firewall use to decide whether traffic gets through?
Which directions of traffic does a firewall filter?
Firewall example: something it might block access to.
Firewall example: what might it stop an unauthorised app from doing?
What does a firewall do with unauthorised access attempts?
Name a method, other than a firewall, that helps reduce the risk of attacks on a network.
Does a firewall make a network completely safe?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 3 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.