Quick answer: A firewall is a filter that blocks unwanted connections to and from your devices. Most homes already have two: one built into the Wi-Fi router and one built into Windows or macOS. You don’t need to buy one. You just need to make sure they’re switched on.
Picture the security guard at the gate of a housing society. Residents and expected visitors get in; strangers who just turn up get stopped and asked questions. A firewall does the same job for network traffic. Every bit of data that tries to reach your device is checked against a set of rules, and anything that doesn’t fit gets dropped.
What a firewall actually does
- Blocks unsolicited connections. When you open a website, the reply is allowed back in because you asked for it. A random computer on the internet trying to connect to your laptop out of the blue is not.
- Controls which apps can use the network. The firewall in your computer can stop a specific program from accepting incoming connections.
- Treats networks differently. Windows is stricter on a “Public” network, like a café, than on your “Private” home network.
What a firewall doesn’t do
This is the part people often miss. A firewall can’t tell a genuine download from a malicious one if you chose to download it. It won’t spot a phishing email, a fake login page, or a scam call. Those need antivirus software, updates, and a sceptical eye. Our guide to spotting phishing messages covers the human side.
The two firewalls you probably already have
| Router firewall | Computer firewall | |
|---|---|---|
| Where it is | Inside your Wi-Fi router | Built into Windows or macOS |
| Protects | Every device at home, including the TV and cameras | Just that computer |
| Goes with you? | No, only at home | Yes, on every network |
| Usually on by default? | Yes | Yes on Windows; check on Mac |
Your router also uses a trick called NAT, which hides the devices on your home network behind a single public address. That alone stops most unsolicited traffic from reaching your devices.
How to check yours is on
Windows 11 and 10: search for Windows Security, open it, and click Firewall & network protection. Domain, Private and Public network should each say Firewall is on. If one doesn’t, click it and switch it on.
Mac: open System Settings → Network → Firewall and turn it on. On a Mac it’s often off by default, which is fine at home behind a router but worth turning on if you use public Wi-Fi.
Router: sign in to your router’s app or admin page and look for a Firewall or Security section. Leave it on. While you’re there, turn off UPnP if you don’t need it for gaming or video calls, and change the default admin password.
Do phones need a firewall app?
Generally no. Android and iOS keep apps in separate “sandboxes” and don’t leave services open to the internet the way older computers did. Keeping your phone updated and installing apps only from the official store does far more good than a firewall app.
When a firewall asks you a question
Windows sometimes pops up “Windows Defender Firewall has blocked some features of this app”. If it’s a program you installed on purpose, like a game or a video-call app, allowing it on Private networks only is a sensible middle ground. If you don’t recognise the program, click Cancel. Curious about related router settings? See what VPN passthrough is and whether it should be on.
