NDEF-1Lesson 1 of 39 min

Firewalls: what is let through

Station NETW showed how data moves. This station shows how networks are defended, starting with the device that decides which traffic may pass at all.

Rules about traffic

Your home router has one, facing the internet. Windows, macOS and many phones have their own, protecting each device. Organisations add larger ones between their networks and the internet, and between their own internal networks.

Figure NDEF-1.1One firewall, six connections

college firewall rules

1. allow internet → web server, port 443
2. allow staff devices → internet, ports 80 and 443
3. deny camera network → staff network
default: deny anything not allowed aboveNOW
1/7

A firewall sits between networks and checks each connection against a list of rules. The college firewall has three rules, read in order, and a default for everything else.

Step 1 of 7

Remembering conversations

A stateful firewall remembers which connections were started from the inside, and lets their replies back in. Connections started from outside are judged by the rules. That is why you can browse freely while strangers cannot connect to your laptop.

Separate networks for separate jobs

Segmentation splits one network into parts, with firewall rules between them: one for staff, one for students, one for guests, one for cameras and other smart devices. Public servers, such as the website, often sit in their own part, a separate zone that the public may reach, called a DMZ (demilitarised zone). If one part is broken into, the attacker still faces rules before reaching the others. It is least privilege, applied to networks.

NDEF-1 counts as completed once you step through the figure to its last step.