Answer:
A host-based firewall.
Step-by-step explanation:
Firewalls monitor incoming and outgoing network traffic, and are either network-based or host-based. As you are trying to protect the OS, a host-based firewall is used as it runs on the host itself, rather than on the network.