Stencel AcademyHow Infrastructure Works →
Part 2 · Lesson 10 · Intermediate

Firewalls & Security Groups

Every packet is interrogated at the door.

In this interactive Infrastructure lesson from Stencel Academy you don't just read — you type real commands like sudo ufw status verbose, curl --connect-timeout 5 web-01.stencel.ai:5432, curl http://web-01.stencel.ai/ and watch the machine respond on a live, animated map. It is part of the free How Infrastructure Works course.

Key takeaway: Firewalls default-deny: a port is closed unless a rule opens it, and who may knock matters.

Before this lesson

Builds on: TLS & Certificates.

What you'll practise

Terms you'll learn

firewallsecurity groupdefault denyingressDROP vs REJECT

Check your understanding

Port 80 answered instantly; port 5432 hung forever. Why?
Open the interactive lesson →