Firewalls
The job of a firewall is to either permit or deny traffic based onĀ the firewall rules. Firewalls filter packets and mitigate attacks.
You should refer to the NIST SP 800-41 guidelines on firewalls for best practices.
The Cybersecurity Blog of Leah Collins