Firewall
Subject: Computer and Technology noun /ˈfaɪ.ərˌwɔːl/ 1 definition
- network-security
- computer-networking
- access-control
- traffic-filtering
-
Definition (noun)
Entry #136 · UpdatedA Firewall is a network security system—implemented in hardware, software, or cloud infrastructure—that establishes a protective boundary between trusted internal networks and untrusted external networks such as the internet. It inspects incoming and outgoing packets or connection streams against an ordered rule set, permitting legitimate communications while blocking, dropping, or logging unauthorized traffic based on criteria such as IP addresses, ports, protocols, or application payloads. By enforcing explicit access policies at network perimeters or individual hosts, a firewall reduces the exposed attack surface, limits unauthorized lateral movement, and isolates critical systems from malicious probes.
Common Types
Packet-Filtering Firewall: Evaluates individual packets statelessly at the network and transport layers, matching header fields—such as source and destination IP addresses, port numbers, and protocol types—against static rule sets.
Stateful Inspection Firewall: Tracks active connections in a state table to monitor session context, automatically permitting valid return traffic for established connections while rejecting unsolicited inbound packets.
Application-Layer (Proxy) Firewall: Acts as an intermediary at the application layer by terminating client connections and inspecting full protocol payloads—such as HTTP requests in a Web Application Firewall (WAF)—before forwarding permitted traffic.
Next-Generation Firewall (NGFW): Combines stateful inspection with deep packet inspection, intrusion prevention, and application- or identity-aware policies to detect threats disguised within standard ports or permitted protocols.
Example
An organization configures its perimeter stateful firewall to allow inbound HTTPS traffic on TCP port
443to a public web server while denying all unsolicited external traffic to internal services such as PostgreSQL on port5432. When an automated scanner sends a TCPSYNpacket targeting port5432, the firewall matches the deny rule and drops the packet at the network boundary before it ever reaches the database host.