firewall

Software or a device that allows or blocks network traffic according to rules about direction, interface, protocol, port and source.

In more detail

On Linux the kernel's netfilter framework does the filtering, configured with nftables (or the older iptables) or front-ends such as ufw and firewalld. A good rule states the interface, direction, protocol, port and source it applies to. When a connection fails, inspect the exact rule path rather than treating the firewall as one global switch.

Examples

On Linux, nftables is the kernel packet filter; a quarantine ruleset sets the default policy to drop and allows only the incident response workstation and the EDR relay.
In AWS: A control that inspects network traffic and allows or blocks it according to rules.
Allow TCP port 22 to the bastion only from the management subnet
in=tcp p=443 src=any act=allow def=deny is a narrow inbound rule followed by a default deny policy.

Related terms

Taught in

References

Certification courses