A firewall is a security device or program that sits between your network and the internet and decides which traffic is allowed through, based on rules. It blocks connections nobody asked for, filters outgoing traffic against policy and, on a business network, is usually the most important piece of security equipment you own.
What a firewall does
- Blocks unsolicited inbound traffic. A stateful firewall drops anything from the internet that your network did not request.
- Filters outbound traffic, which stops staff devices reaching known-malicious sites and stops malware from contacting its operator.
- Segments the network, keeping guest WiFi, payment systems and staff devices apart so a problem in one does not spread. See network segmentation.
- Provides a VPN, so remote staff can reach the office network over an encrypted connection.
- Logs connections, which matters after an incident.
Types of firewall
| Type | Where it runs | Protects | Best for |
|---|---|---|---|
| Hardware (network) firewall | A device where the internet enters the building | Every device on the network | All business sites |
| Software (host) firewall | On each computer, such as Windows Defender Firewall | That one device, wherever it is | Laptops that leave the office |
| Cloud firewall (firewall as a service) | A provider’s cloud | Traffic routed through the service | Distributed teams and many small sites |
A software firewall is no substitute for the network firewall, and the router supplied by an internet provider is not a business firewall.
Next-generation firewalls
A next-generation firewall (NGFW) adds features beyond port and protocol rules: intrusion prevention (IPS), application awareness, content and DNS filtering, TLS inspection and threat feeds that update automatically. Common business platforms include Fortinet, Palo Alto Networks, SonicWall, Sophos, WatchGuard, Cisco Meraki and Ubiquiti UniFi, and these are examples, not endorsements. The security features usually run on a subscription, so a lapsed licence means the firewall quietly stops getting threat updates.
How a firewall rule works
Rules are checked in order, and the best practice is default deny: block everything and allow only what you need. A rule names the source, destination, port and action. For example, allowing staff to reach the internet on web ports while blocking inbound connections from the internet except to a specific, patched service.
Common mistakes
- Using the provider’s modem or router as the only firewall
- Never installing firmware updates, so the firewall becomes the weak point
- Opening remote-access ports to the whole internet instead of putting access behind a VPN with multi-factor authentication
- A flat network where guest WiFi can reach servers and payment systems
- Letting the threat-prevention subscription lapse
- Rules nobody reviews, so old exceptions stay open
Firewall and zero trust
A firewall protects the edge of the network. Modern guidance also assumes that attackers will get inside, so it adds identity checks and limited access inside the network. Read our explainer on zero trust.
If you are unsure what is protecting your network, see our network setup service or book a review with our Edmonton team.
Sources and further reading
- Canadian Centre for Cyber Security: baseline cyber security controls for small and medium organizations
- Government of Canada: Get Cyber Safe
- NIST SP 800-41 Rev. 1: Guidelines on Firewalls and Firewall Policy
Frequently asked questions
Is the router from my internet provider a firewall?
It has basic firewall features, but it is built to a price, rarely updated and not designed for business security or segmentation. Most businesses replace it, or put a proper firewall behind it.
Do I still need a firewall if everything is in the cloud?
Yes. Your office network, staff devices and any on-site equipment still need protecting, and the firewall also controls and secures how you reach those cloud services.
What is the difference between a firewall and antivirus?
A firewall controls which network connections are allowed. Antivirus and endpoint protection inspect files and behaviour on a device. You need both. See EDR vs antivirus.
How often does a firewall need attention?
Apply firmware updates as they are released, review the rules a few times a year and monitor the logs continuously. On a managed plan this happens in the background.
How does Scandifix help?
We size, install and configure business firewalls, set up segmentation and remote-access VPN, keep firmware and threat subscriptions current and monitor the logs. See our managed IT services.