A firewall is a gateway that limits access between networks in accordance with local security policy, according to the NIST glossary. It sits at the junction between two networks, usually a private network and a public network such as the Internet, and it limits how far damage can spread from one part of a network to another.
Firewall types that NIST describes
The NIST guidance on firewalls, Special Publication 800-41 Revision 1 describes each type below in its own section. The table covers five of them. The same publication also covers virtual private networking, network access control, unified threat management, web application firewalls and personal firewall appliances.
| Type | What it checks | Section of SP 800-41 Rev. 1 |
|---|---|---|
| Packet filtering | Each packet against a ruleset, using its source and destination addresses, its protocol and its ports | 2.1.1 |
| Stateful inspection | Each packet against a state table that records each connection | 2.1.2 |
| Application firewalls | How an application's protocol is running, through stateful protocol analysis | 2.1.3 |
| Application-proxy gateways | A proxy agent that sits between two hosts and never allows a direct connection between them | 2.1.4 |
| Host-based and personal firewalls | The traffic to and from one host, in software on that host | 2.2.1 |