firewall
A firewall is a security feature that protects your Mac against unwanted connections from the Internet or other networks. You can turn the firewall on or off on your Mac, and set options for it, in the Firewall pane of Security & Privacy preferences. To open the pane, choose Apple menu > System Preferences, click Security & Privacy, then click Firewall.