What Is a Firewall and Do You Need One? You Already Have Two
What Is a Firewall and Do You Need One? You Already Have Two
A firewall is a gatekeeper for network traffic: it inspects the connections trying to reach your devices and blocks the ones you did not ask for, while letting the traffic you did ask for through. Most homes already run two firewalls — one in the router and one built into Windows or macOS — and both are switched on by default. You almost certainly do not need to buy one; you need to check the two you already have.
That is the answer most firewall guides bury. They start with definitions, drift into enterprise hardware, and end by implying you need a product. For a home user the truth is simpler and cheaper. Your router already filters incoming traffic from the internet, and your computer’s built-in firewall already filters what reaches the apps on that computer. The job is a five-minute check that both are still on, plus knowing the one rule that matters when a firewall gets in your way.
What a firewall actually does
A firewall sits between a device and a network and applies rules to traffic. Every connection has a direction, a destination, and a port — a numbered doorway a service listens on. A web browser asking for a page is outbound traffic you requested. A stranger on the internet probing your computer is inbound traffic you did not request. The firewall’s job is to tell the two apart.
The rule it applies most of the time is simple: allow traffic that is a reply to something you started, and block unsolicited traffic from outside. When you open a website, your computer sends a request out, and the firewall remembers it so the reply can come back in. When nobody inside asked for anything, an incoming connection attempt gets dropped silently. That one rule stops the background noise of the internet — the automated scans that probe every address on the internet looking for an open door — from ever reaching your apps.
Firewalls work at different layers, but for a home user there are two that matter. The network firewall in your router protects every device in the house at once, because all traffic passes through it. The host firewall on your computer protects that one machine, including from traffic that comes from inside your own network — a compromised smart device, or a guest’s infected laptop, for example. They are not duplicates of each other. They are two gates in series, and that is why having both on is the right default.
The two firewalls you already have
Your router’s firewall is the first gate. It uses a technique called network address translation, which means the devices in your home share one public address and are not directly reachable from the internet at all. An incoming connection has nowhere to go unless you deliberately opened a port for it. That is why a home network, left alone, is hard to reach from outside: the router simply has no route to hand an unsolicited connection to your laptop.
Your computer’s firewall is the second gate. Windows Firewall is on by default on every modern Windows machine, and the macOS firewall ships on with the standard settings. It watches each app’s network access, allows the apps you use, and asks you the first time a new app wants to accept incoming connections. Most people click through that prompt without reading it, which is the one place the second gate gets weakened — more on that below.
So do you need a firewall? Yes — and you already have two of them, paid for, installed, and switched on. The question is not whether to get one. It is whether yours are still on and still configured the way you think they are.
The 5-minute check
Run this check now. It takes five minutes and it is the whole practical job for a home user.
First, check Windows Firewall. Open Settings, then Privacy & security, then Windows Security, then Firewall & network protection. You should see three network types — Domain, Private, and Public — each marked as on. The one that matters most is Public: it is the profile your laptop uses on coffee-shop and hotel Wi-Fi, and it is the strictest. If any profile says off, switch it back on. If you are on a Mac, open System Settings, then Network, then Firewall, and confirm it is on.
Second, check that your network is set to Private at home and Public everywhere else. A network marked Private trusts the other devices on it, which is right for your own home and wrong for a public network. Windows asks you this the first time you join a network; if you clicked Private on a hotel network once, fix it now, because the firewall rules are looser on Private networks.
Third, check your router. Log into its admin page and confirm that remote management is off — the admin page should only be reachable from inside your home — and that no port-forwarding rules exist that you did not set. Port forwarding is the one setting that punches a hole through the router’s firewall on purpose, usually for a game server or a camera. A rule you did not create is a hole you did not agree to. The home Wi-Fi router checklist walks through the full router check, including firmware updates, in fifteen minutes.
Fourth, look at the list of apps allowed through Windows Firewall. In the same Firewall & network protection screen, open “Allow an app through firewall” and scan the list. Every app there has permission to receive incoming connections. Most entries are legitimate — your browser, your video-calling app, your games. An entry you do not recognise, or an app you uninstalled months ago, can be removed. This list grows silently over time, because every “Allow” click on a prompt adds an entry.
Never disable it to fix an app
The most common firewall mistake is also the most understandable: an app does not work, someone online says “turn off your firewall”, and it works. That advice is wrong in exactly the way that matters. Disabling the firewall removes the gate for everything, not just the app that was stuck.
The right fix is narrower. If a trusted app cannot connect, allow that app through the firewall instead of turning the firewall off. Windows Firewall’s allow list exists for exactly this: one app, one exception, everything else still protected. If a game or a video-calling app needs an incoming connection, add it by name and move on. If an app you have never heard of is asking for access, the correct answer is no — a legitimate app explains itself, and a prompt you do not understand is a prompt to decline and investigate.
The same applies to the router. If a game or a service tells you to open a port, open only that port, only for the device that needs it, and note what you did. Never enable the setting labelled DMZ, which forwards all incoming traffic to one device and removes the router’s protection from it entirely. DMZ exists for testing and for devices built to face the internet; a home laptop is not one of them.
When a firewall is not enough
A firewall is one layer, and it is honest to say what it does not do. It does not stop you from downloading a malicious file yourself — that traffic was requested by you, so the firewall lets it through. It does not stop a phishing email, a fake login page, or a malicious attachment. It does not clean malware that is already on the machine. Those jobs belong to other layers: antivirus software, a malware scan when something feels off, and your own judgement about unexpected messages.
That is also why a firewall prompt deserves a second of thought. When a new app asks to get through the firewall, Windows is asking whether you trust it to accept connections from the network. If you just installed the app yourself and it needs network access to work, allow it. If the prompt appears out of nowhere, while you were doing nothing, something on your machine is trying to listen — decline it, and run a scan. The virus-signs guide covers what to look for, and the free malware scan assistant walks through the right scan for your device.
A firewall also does not replace the rest of home network security. Keeping router firmware current, using a strong Wi-Fi password, and keeping your devices updated matter just as much. The network security services guide explains what professional protection adds when a home setup grows into a small business — but for most homes, the built-in layers, kept on and kept updated, are the whole job.
What about a third-party firewall?
You will see paid firewalls advertised, usually bundled with a security suite. For most home users they add little over the two built-in firewalls, because they enforce the same allow-or-block rules with a different interface. The one thing a third-party firewall sometimes adds is outbound control — alerts when an app on your computer tries to send data out. That can catch malware phoning home, but it also generates a stream of prompts that most people click through without reading, which defeats the purpose.
The honest test is this: if you cannot name a specific thing the built-in firewalls fail to do for you, you do not need a replacement. Spend the effort instead on the checks above, on keeping your software updated, and on an antivirus that is actually running. A firewall you never check is weaker than a firewall you checked once and understood — and the check takes five minutes.
The short version
You need a firewall, and you already have two. The router’s firewall keeps the internet out of your home network; your computer’s firewall keeps unsolicited traffic out of your apps. Check both are on, set your home network to Private and every other network to Public, clear out app permissions you no longer recognise, and never disable either firewall to fix an app — allow the app instead. That is the whole job, and it costs nothing.
FAQ
What is a firewall in simple terms?
A firewall is a gatekeeper that inspects network traffic and blocks connections you did not ask for while letting through the traffic you did. It allows replies to things you started — like a web page you opened — and drops unsolicited connection attempts from outside.
Do I need a firewall at home?
Yes, and you almost certainly already have two: one in your router, which protects every device in the house, and one built into Windows or macOS, which protects each computer. Both are on by default. The job is to check they are still on, not to buy another one.
Should I turn off my firewall to fix an app?
No. Never disable the firewall to fix an app — that removes protection for everything. Allow just that app through the firewall instead, using the allow list in Windows Firewall settings. If an app you do not recognise asks for access, decline it and investigate.
Is Windows Firewall enough?
For most home users, yes, combined with the router’s firewall. Windows Firewall is on by default and blocks unsolicited inbound traffic. It does not stop phishing, malicious downloads you chose to run, or malware already on the machine — those need antivirus, scans, and your own judgement as well.
What is port forwarding, and is it safe?
Port forwarding opens a specific doorway through your router’s firewall so an outside connection can reach one device — usually for a game server or a camera. Open only the port that is needed, only for the device that needs it, and delete rules you did not create. Never enable DMZ, which forwards all traffic to one device.
