liveBook · Manning

Firewall rule

A firewall rule is a network access-control specification that permits or denies matching traffic according to defined characteristics and conditions.

How 2 Manning books explain it

Cyber Threat Hunting

A firewall rule is a configuration that specifies network traffic conditions and the action a firewall takes when those conditions match.

How it is used
Uses firewall rules to investigate unexpected incoming traffic, attribute exposure to configuration changes, and support incident response.
How deep it goes
Explains rule-based traffic attribution through timelines and fields, but stops short of proving that an allowed connection became an established session.
Examples
Uses GCP queries, destination-port charts, rule references, scanner findings, and the test-allow-all exposure case.
What you can do after
Diagnose with GCP firewall logs by locating unexpected ports, identifying the allowing rule, and documenting or escalating the exposure.

Read how Cyber Threat Hunting explains firewall rule →

Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A firewall rule is a configuration statement that allows or blocks network traffic according to specified criteria.

How it is used
Controls inbound and outbound traffic for EC2 instances, databases, load balancers, subnets, and private application architectures.
How deep it goes
Defines matching criteria, security-group defaults, least-privilege guidance, and troubleshooting, then contrasts stateful security groups with prioritized NACL rules.
Examples
Uses HTTP access to EC2, MySQL access from web servers to RDS, and proxy-subnet traffic governed by NACL entries.
What you can do after
Apply it via AWS security groups and CloudFormation to expose required services while restricting unnecessary network paths.

Read how Amazon Web Services in Action, Third Edition: An in-depth guide to AWS explains firewall rule →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.