1. Open System Preferences
  2. Open Security & Privacy
  3. Click Firewall
  4. If needed, unlock the window by clicking the Lock icon in the bottom left