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 System Preferences. To open the pane, choose Apple menu > System Preferences, click Security & Privacy , then click Firewall.