By J. Mesa
A firewall is a security device or program that decides which network traffic is allowed in and out. Think of it as a doorman who checks every visitor against a list of rules. Nearly every business that connects to the internet needs one, and most already have a basic version without realizing it.
What a firewall does
Every piece of data crossing your network carries an address and a purpose. The firewall compares each connection to its rules. It allows the web browsing and email your staff need and blocks traffic from places or programs you did not authorize. Good rules reduce your exposure by closing doors that attackers scan for.
The main types
- Software firewalls. Built into Windows and macOS, these protect a single computer. Leave them on.
- Router firewalls. Home and small office routers include a basic firewall that blocks unsolicited inbound connections.
- Hardware or network firewalls. A dedicated device sits between your office and the internet and applies stronger rules, such as web filtering and intrusion detection.
- Cloud firewalls. Services that filter traffic for cloud servers and for staff who work away from the office.
Many modern devices are called next-generation firewalls. They add application awareness, so they can tell the difference between a video call and file-sharing software, and they can inspect traffic for known threats.
What a firewall cannot do
A firewall is one layer, not a full defense. It does not stop an employee from clicking a link in a phishing email. It does not stop an attacker who signs in with a stolen password, which is the heart of credential stuffing. It does not protect a laptop in a coffee shop unless that laptop runs its own firewall. This is why our layered defense for small businesses guidance pairs a firewall with updates, access control, backups, and training.
Do you need a dedicated firewall?
Consider the size and risk of your business:
- A few people, no sensitive data, mostly cloud services. The router’s firewall plus device firewalls is a reasonable start.
- An office with a server, guest Wi-Fi, or regulated data. A business-grade firewall gives you segmentation, logging, and web filtering.
- Remote staff reaching internal systems. You need a firewall with a VPN or a modern remote access service.
- Credit card, health, or financial data. Compliance rules often expect a managed firewall with documented settings.
Choosing and setting one up
- Buy from a vendor that provides regular security updates, and plan to patch the firmware on a schedule.
- Change the default admin password and limit management access to a few trusted devices.
- Block inbound connections by default and open only what you need.
- Create separate networks for staff, guests, and devices like printers and cameras.
- Turn on logging and have someone review alerts, or hire a provider who does.
- Back up the configuration so a failed device is a quick replacement.
Common mistakes
- Leaving the default password in place.
- Opening ports to a service and forgetting to close them.
- Letting the firmware age until the manufacturer drops support.
- Assuming the firewall covers laptops that leave the building.
Managed or do-it-yourself?
If nobody on your team can maintain a firewall, pay for a managed service. A poorly configured firewall can be worse than none, because it creates false confidence. Ask a prospective provider how often they patch, who monitors alerts, and what they do at three in the morning.
Reading firewall rules
A firewall rule has a few simple parts: where the traffic comes from, where it goes, which service or port it uses, and whether to allow or block it. A rule might say that computers on the staff network may reach the internet on the web ports, and that nothing from the internet may start a connection to the staff network. Most firewalls process rules from top to bottom and apply the first one that matches, then block anything not explicitly allowed.
The safest approach is default deny. Start by blocking everything, then add allow rules for the services you actually need. A firewall that allows everything except a short list of blocked items leaves too many doors open. Review the rule list twice a year, and delete any rule that nobody can explain.
Features you will see on a business firewall
- Network address translation. Hides your internal addresses from the internet, which prevents many unsolicited connections.
- Port forwarding. Sends outside traffic to a specific internal device. Use it sparingly, because each forward is an opening that attackers can probe.
- Intrusion prevention. Compares traffic to patterns of known attacks and blocks matches.
- Web filtering. Blocks categories of sites and known malicious pages. It helps against the fake sites described in our post on phishing emails.
- VPN support. Lets remote staff connect to office resources through an encrypted tunnel. See our guide to whether you need a VPN.
- Logging. Records connections, blocks, and alerts. Logs are useless unless someone reads them or a service watches them.
A sample small-office design
Imagine a twelve-person office with a file server, a few printers, guest Wi-Fi for clients, and two security cameras. A sensible setup uses four separate networks:
- Staff network for laptops and desktops, with access to the server and the internet.
- Server network for the file server, reachable by staff but blocked from the internet except for updates.
- Device network for printers and cameras, which can talk to the staff network only for printing and cannot reach the server.
- Guest network with internet access only, so visitors cannot see any internal systems.
A single business-grade firewall can enforce all four with a few rules. If one printer or camera is compromised, the attacker lands in a small area with nothing valuable in it. This is the same idea behind the layered approach in our post on why small businesses are big targets.
Questions to ask before you buy
- Does the vendor release security updates regularly, and for how many years?
- Is there a subscription, and what happens to features if you stop paying?
- Can we back up and restore the configuration easily?
- Does the device support the number of users and the internet speed we pay for, with filtering turned on?
- Who will manage it, and what is the plan if that person leaves?
Write the answers down before you sign. A firewall that nobody can administer is a liability.
The bottom line
A firewall is a basic requirement, not a complete strategy. Turn on the ones you already have, add a business-grade device if you outgrow your router, and keep it updated.
Related reading: Smart Devices at Home and at Work: How to Secure IoT Gadgets and What Is a DDoS Attack, and Can It Hurt a Small Business?, How to Spot a Phishing Email: 9 Warning Signs, What Is Credential Stuffing? The 23andMe Breach Explained, What Is a VPN, and Do You Need One?.