Firewall

A firewall is a security device or program that controls which network traffic is allowed in and out of a network or computer, based on rules, blocking connections that aren't permitted.

BeginnerCategory: Network and internet security

Also called: network firewall, next-generation firewall, NGFW, host firewall

What is a firewall?

A firewall sits between networks, or between a computer and the network, and decides which traffic can pass. NIST's firewall guidance describes firewalls as devices or programs that control the flow of network traffic between networks or hosts with different security needs. A good firewall policy blocks everything by default and allows only what the business needs.

Types of firewalls

  • Network firewalls protect a whole office network, often built into the router or a dedicated appliance.
  • Host-based firewalls run on each computer, such as Windows Defender Firewall. CISA recommends keeping them on, especially for laptops that leave the office.
  • Next-generation firewalls (NGFW) add application awareness, intrusion prevention, web filtering and threat intelligence.
  • Cloud firewalls protect cloud networks and are often delivered as part of SASE.
  • Web application firewalls protect websites and web apps specifically.

What a firewall can't do

A firewall won't stop a staff member from clicking a phishing link, or an attacker who logs in with stolen credentials through an allowed service like a VPN. It's one layer of defense in depth.

Keeping your firewall secure

Firewalls and VPN appliances are now a favorite target, because a flaw in one gives direct access to the network. Apply firmware updates quickly, never expose the admin interface to the internet, use MFA for admin access, review rules at least yearly, and replace devices that no longer get updates.

Related terms

Sources

  1. SP 800-41 Rev. 1: Guidelines on Firewalls and Firewall Policy (NIST)
  2. Understanding Firewalls for Home and Small Office Use (CISA)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.