Firewalls
A firewall is a network or host control that permits or blocks traffic according to a policy. It sits on a traffic path, examines available connection information, and applies rules that reduce unwanted access without replacing security on the systems behind it.
itDefensive security and security operations | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
Firewalls
A firewall controls traffic between networks or hosts with different security postures. It compares traffic with a policy, then permits or denies that traffic. A firewall can be a dedicated appliance, a cloud service, software on a router, or a host control built into an operating system.
The useful mental model is a policy enforcement point on a traffic path. A packet reaches an interface. The firewall identifies facts it can inspect, such as direction, source, destination, protocol, port, connection state, application, or user. It evaluates ordered rules and applies an action. The action may allow, drop, reject, log, translate, or send the traffic to deeper inspection.
Architecture and traffic flow
A network firewall normally connects or observes two or more network zones. Common zones include an untrusted external network, an internal network, and a demilitarized zone for public services. Modern designs also place firewalls between internal segments, virtual networks, cloud workloads, and branch sites. A host-based firewall applies policy at one endpoint, so it can still filter traffic after a packet crosses the network perimeter.
Traffic must traverse the enforcement point for its policy to matter. Routing, switching, tunnels, alternate network interfaces, and asymmetric paths can bypass or confuse inspection. Architecture therefore starts with both the desired trust boundaries and the actual forward and return paths.
A packet-filtering firewall reads packet headers. Typical matches include source and destination addresses, transport protocol, and source and destination ports. A stateless filter evaluates each packet independently. A stateful firewall also keeps a state table. Return traffic for an allowed connection can match established state instead of requiring a separate broad inbound rule.
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://csrc.nist.gov/pubs/sp/800/41/r1/final
Supports
- Firewall definition, technologies, policy, placement, selection, configuration, testing, deployment, management, failure considerations, quiz answers, and infographic factual base
- Primary source and Reference rationale
- September 2009 timeline milestone
- https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-41r1.pdf
Supports
- Packet filtering, stateful inspection, application proxies, host firewalls, DMZ placement, deny-by-default policy, logging, testing, change management, high availability, and performance
- Intro, slides, cheatsheet, quiz, video script, and infographic factual base
- https://www.rfc-editor.org/rfc/rfc2647.html
Supports
- Firewall terminology for packet filtering, stateful filtering, proxies, rulesets, policy, protected networks, and performance
- Quiz answers, Reference rationale, and August 1999 timeline milestone
- https://www.rfc-editor.org/info/rfc2979/
Supports
- Firewall interoperability, Path MTU Discovery, application negotiation, and protocol design limits
- Reference rationale and October 2000 timeline milestone
- https://www.rfc-editor.org/rfc/rfc3234
Supports
- IP and application firewall behavior, middlebox path dependence, fragmentation, restart, and protocol effects
- Failure analysis, quiz answers, and Reference rationale
- https://www.rfc-editor.org/info/rfc4487/
Supports
- Five-tuple filtering and state-table behavior
- Stateful filtering quiz answer and cheatsheet flow key
- https://csrc.nist.gov/pubs/sp/800/207/final
Supports
- Zero trust resource focus, removal of implicit trust from network location, and coexistence with perimeter controls
- Firewall limits, quiz answer, and Reference rationale
- https://www.nist.gov/news-events/news/2020/08/zero-trust-architecture-nist-publishes-sp-800-207
Supports
- August 2020 publication date and shift from wide perimeters toward resources
- Zero trust timeline milestone
- https://netfilter.org/
Supports
- Linux packet filtering, connection tracking, NAT, logging, iptables, and nftables
- Reference rationale and implementation context
- https://www.netfilter.org/about.html
Supports
- Netfilter project history and relationship to earlier Linux firewall systems
- https://netfilter.org/news.html
Supports
- January 2014 nftables kernel merge and release history
- nftables timeline milestone
- https://kernelnewbies.org/Linux_3.13
Supports
- Linux 3.13 release date and inclusion of nftables as the iptables successor
- January 2014 timeline milestone
- https://www.openbsd.org/faq/pf/
Supports
- PF filtering, NAT, tables, anchors, logging, traffic control, redundancy, and OpenBSD 3.0 inclusion
- Reference rationale and timeline detail
- https://www.openbsd.org/30.html
Supports
- December 2001 OpenBSD 3.0 release and introduction of PF with NAT
- PF timeline milestone
- https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/
Supports
- Host-based firewall policy, profiles, centralized management, and operating-system enforcement
- Reference rationale
- https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ics/portal
Supports
- Windows Firewall first release with Windows XP Service Pack 2
- 2004 timeline milestone
- https://www.cisco.com/c/dam/en_us/about/ac123/ac147/ac174/ac200/about_cisco_ipj_archive_article09186a00800c8a17.pdf
Supports
- DEC SEAL architecture and June 1991 delivery
- Early commercial firewall timeline milestone
- https://www.nist.gov/publications/keeping-your-site-comfortably-secure-introduction-internet-firewalls
Supports
- December 1994 firewall guidance on components, access policies, implementation, planning, and purchasing
- NIST timeline milestone
- https://www.rfc-editor.org/info/rfc2196/
Supports
- September 1997 Site Security Handbook firewall filtering, proxy, and architecture guidance
- Timeline milestone
- https://www.nist.gov/publications/guidelines-firewalls-and-firewall-policy-recommendations-national-institute-standards
Supports
- January 2002 original NIST firewall publication
- Timeline milestone
- https://github.com/sindresorhus/awesome
Supports
- Required starting catalog and discovery of Awesome Security
- https://github.com/sbilly/awesome-security
Supports
- Discovery of pfSense, OPNsense, and ModSecurity as firewall ecosystem projects
- https://docs.netgate.com/pfsense/en/latest/firewall/index.html
Supports
- pfSense stateful rules, aliases, NAT, logging, and troubleshooting
- pfSense Awesome Links rationale
- https://www.netgate.com/pfsense-plus-software
Supports
- pfSense appliance, software, virtual, cloud, support, and subscription forms
- pfSense Landscape placement
- https://wiki.opnsense.org/manual/firewall.html
Supports
- OPNsense stateful filtering, interface rules, rule order, actions, state sessions, and diagnostics
- OPNsense Awesome Links rationale, quiz answer, and Landscape placement
- https://wiki.opnsense.org/
Supports
- OPNsense FreeBSD-based firewall and routing platform, Community Edition, and documentation scope
- https://modsecurity.org/faq/
Supports
- ModSecurity as an open-source web application firewall
- ModSecurity Awesome Links rationale
- https://www.paloaltonetworks.com/network-security/next-generation-firewall
Supports
- Hardware, virtual, container, and cloud firewall forms with application, user, content, and threat context
- Palo Alto Networks Landscape placement
- https://www.fortinet.com/products/next-generation-firewall
Supports
- FortiGate branch, campus, data center, virtual, and cloud deployments with inspection and centralized services
- FortiGate Landscape placement
- https://www.checkpoint.com/quantum/next-generation-firewall/
Supports
- Check Point centrally managed hardware, virtual, and cloud firewalls, threat prevention, and clustering
- Check Point Quantum Force Landscape placement
- https://secure.cisco.com/secure-firewall/v7.0/docs/secure-firewall
Supports
- Cisco Secure Firewall appliance and virtual forms, centralized management, stateful policy, application detection, and threat inspection
- Cisco Secure Firewall Landscape placement
- https://docs.aws.amazon.com/network-firewall/
Supports
- AWS managed stateful network firewall and intrusion detection and prevention for virtual private clouds
- AWS Network Firewall Landscape placement
- https://learn.microsoft.com/en-us/azure/firewall/overview
Supports
- Azure managed stateful firewall, north-south and east-west inspection, rule tiers, availability, and scale
- Azure Firewall Landscape placement
- https://www.cloudflare.com/products/network-firewall/
Supports
- Cloudflare layer three and layer four firewall as a service for on-premises networks and wide area networks
- Cloudflare Network Firewall Landscape placement
