Cybersecurity
What is a Firewall?
Also called network firewall.
Short definition
A firewall is a system that filters network traffic based on rules, allowing legitimate connections and blocking the rest, between the office network and the internet or in front of a server.
How it works
Every connection is checked against a list of rules: where it comes from, where it is going, and which port and protocol it uses. Good rules deny everything that is not explicitly allowed. Next-generation firewalls can also recognize applications, inspect traffic content, and block malicious sites.
Commonly used types
A network firewall is a device placed between the internet router and the office network. A firewall on a server or computer filters connections to that device itself. A web application firewall (WAF) specifically protects websites and web applications from attack patterns such as SQL injection. The three complement each other rather than replace each other.
Example in an office
An office with guest Wi-Fi uses firewall rules so guest devices can only reach the internet and cannot reach internal printers and servers. Application servers only open the ports that are actually used, while administration ports can only be reached through a VPN. Firewall rules need regular review, because forgotten temporary rules often become security gaps.
Further reading
Resources
- NIST Glossary: firewall (csrc.nist.gov)
- Cloudflare Learning: What is a firewall? (cloudflare.com)