A firewall is the first line of defence for almost every business network. It decides what can come in and what can go out, and it blocks the traffic that should not be there. This guide explains what a firewall is, how it works, and what your business needs.
Published 28 November 2026 • SHM Soft
The word firewall comes from building. In a building, a firewall is a wall that stops a fire spreading from one part to another. A network firewall does the same thing for your computers: it stops bad traffic from spreading from the internet into your network. It has been around since the early days of the internet, and it is still one of the most important security tools you can have.
Every business with an internet connection needs a firewall, whether it is a one-person office or a fifty-person company. This guide explains what a firewall is, how it works, the different types, and what you should look for when choosing one. It is written in plain English, with no jargon, and it tells you what matters and what you can safely ignore.

A firewall is a system that filters network traffic between your private network and the internet. It checks every piece of traffic against a set of rules, called an access control list, or ACL. If the traffic matches a rule that allows it, it passes through. If it does not, it is blocked. The rules are set by the network administrator, and they can be based on IP addresses, ports, protocols, domain names, programs, or keywords. The firewall's job is simple: let the good traffic in and out, and keep the bad traffic out.
Think of it as a security guard at the door of your office. The guard has a list of who is allowed in and who is not. Employees and expected visitors get through. Strangers with no reason to be there are turned away. The guard also checks what people are carrying out, so nobody walks off with something they should not have. A firewall does the same for network traffic, in both directions, thousands of times a second.
Why every business needs one
The internet is full of automated scans looking for open doors. The moment a business connects to the internet, its address is visible, and scanners start knocking. They try common ports, look for old software, and probe for weaknesses. Without a firewall, those probes reach your computers directly. With a firewall, they are blocked at the boundary, and most of them never get any further. For a small business with no IT team, that boundary is essential. It is the difference between being an easy target and being a hard one.
A firewall also protects your business from its own devices. If a computer gets infected with malware, the firewall can block it from sending data out to the attacker's server. It can also block staff from reaching known bad websites, and stop certain applications from using the network at all. That two-way protection matters, because many attacks start inside the network, not outside it. Our guide on network security fundamentals explains how a firewall works alongside the other layers of protection.
A firewall works by inspecting the packets that make up network traffic. Every packet has a header with information about it: where it came from, where it is going, which port it uses, and which protocol it is. The firewall compares that information to its rules. A simple rule might say: allow traffic from our office to the internet on port 443, which is used for secure websites, but block all incoming traffic that nobody asked for. More detailed rules can allow a specific server to receive email, but only from certain addresses.
The simplest kind of firewall is a packet filtering firewall. It checks the header of each packet and makes a decision based on the address and port alone. It is fast, but it cannot tell whether a packet belongs to a real conversation or is arriving out of nowhere. A stateful firewall is smarter: it remembers connections, so it can tell whether a packet is part of a connection you started or an unsolicited attempt to get in. If you opened a website, the reply is allowed. If a stranger tries to connect to your computer without being asked, it is blocked.
A next-generation firewall, or NGFW, goes further still. It can see which application is sending the traffic, not just which port it uses, and which user is behind it. It can block a specific application, like a file-sharing program, while allowing everything else. It can inspect content for malware, block known bad websites, and apply different rules to different users. Most modern business firewalls are next-generation firewalls, and for a small business, they are the best value, because they replace several separate security tools in one device.

A hardware firewall is a physical device that sits between your network and the internet. It protects every device behind it: computers, phones, printers, and servers. It is the right choice for an office, because it guards the whole network at once. A software firewall, also called a host-based firewall, runs on a single computer and protects just that computer. Windows and macOS both include one, and it should always be turned on. The two work together: the hardware firewall guards the network, and the software firewall guards each device, which matters when a laptop leaves the office.
A cloud firewall is hosted by a provider and filters traffic before it reaches your network. It is useful for businesses with staff in several locations, or for protecting a website, because it can absorb large attacks that would overwhelm a small office firewall. Many businesses use a mix: a hardware firewall in the office, software firewalls on laptops, and a cloud firewall in front of the website. That layered approach is the same idea as defence in depth, which we explain in our network security fundamentals guide.
When you choose a firewall, look for a few practical things. It should be easy to manage, with a clear interface and good reports that show what it blocked. It should be kept updated by the vendor, with new rules for new threats. It should support the features you need, like VPN access for remote workers and content filtering if you want it. And it should be sized for your internet speed: a firewall that cannot keep up with your connection will slow everything down. Buy from a reputable vendor, and make sure someone will maintain it. A firewall with old rules is barely better than no firewall at all.
A firewall only works if it is set up correctly, and the most important rule is to deny by default. That means the firewall blocks everything unless a rule specifically allows it. Start with nothing allowed, then add rules for the things you need: web browsing, email, and the specific services your business uses. Every rule you add should have a reason, and you should write that reason down. A firewall with hundreds of old, unexplained rules is a security risk, because nobody knows what they are for or whether they are still needed.
Review the rules regularly, at least every few months. Remove rules for services you no longer use, and check the logs for blocked traffic that looks unusual. A sudden spike in blocked connections from one address may be an attack in progress. Keep the firewall's software updated, because vendors release fixes for new vulnerabilities all the time. And test the firewall: try to reach a service that should be blocked, and confirm that it is. A firewall you have never tested is a hope, not a protection.
Do not forget the software firewalls on your computers either. Turn on the built-in firewall on every Windows and Mac computer, and do not turn it off for convenience. If a program asks for firewall access, check what it is before you allow it. And if your staff work from home, their home routers have firewalls too, which should be turned on and kept updated. Our guide on how to keep your network safe covers the home side of this. If you would rather have a professional set up and maintain your firewall, our managed IT services include firewall management, and our DDoS protection guide explains the cloud layer that protects your website from large attacks.
Watch on YouTube: What is a Firewall?
A firewall is the start, not the whole answer
A firewall is the first line of defence for your network, and every business needs one. But it is not the whole answer. It works best alongside strong passwords, multi-factor authentication, updates, and the other layers in our security guides. Set it up properly, keep it updated, review the rules, and it will quietly block thousands of attacks a year that you never even hear about.
What is a firewall in simple terms?
A firewall is a system that filters traffic between your network and the internet, blocking unwanted traffic and letting wanted traffic through, based on rules you set.
Do I need a firewall if I have antivirus?
Yes. Antivirus protects individual computers from malware. A firewall protects the whole network by controlling what traffic can enter or leave. You need both.
What is the difference between a hardware and a software firewall?
A hardware firewall is a device that protects your whole network. A software firewall runs on one computer and protects just that computer. Use both together.
What is a next-generation firewall?
It is a modern firewall that can see which application and user is behind the traffic, inspect content for threats, and apply smarter rules than a basic packet filter.
How often should I update my firewall?
Install vendor updates as soon as they are available, and review your rules at least every few months. Remove rules you no longer need.
Conclusion
A firewall is a system that filters traffic between your network and the internet, blocking what should not get in and letting your business work normally. Every business needs one, alongside software firewalls on each computer and the other security basics in our guides.
If you want your firewall set up and maintained properly, contact us for a free quote. We will review your network, put the right protection in place, and keep it updated for you.
Related articles:
Network Security Fundamentals: Firewalls, IDS/IPS and Zero Trust
How firewalls work with IDS, IPS, and zero trust as layers of defence.
DDoS Protection for Small Business Websites
The cloud layer that stops large attacks before they reach your firewall.
How to Keep My Network Safe: A Complete Guide for Home and Small Business
The other basics that work alongside your firewall.
Want help with your network or IT?
Tell us what you need and we will send a free quote with no hidden charges.