How to Configure the macOS Application Firewall

Difficulty
Beginner
Tested on
macOS Sequoia 15.0 - MacBook Pro M3
You will need
Administrator account credentials

Step by step

  1. 30 sec

    Open System Settings

    Click the Apple menu in the top-left corner of your screen. Select System Settings from the dropdown menu to open the central configuration interface.

  2. 30 sec

    Access Network Settings

    Scroll down the left-hand sidebar of the System Settings window. Click on Network to reveal the network configuration pane, then click on Firewall.

  3. 30 sec

    Enable the Firewall

    Toggle the switch next to Firewall to the On position. If prompted, enter your administrator password to authorize the change to your system security settings.

    Note: A green indicator confirms the firewall is active.
  4. 1 min

    Configure Firewall Options

    Click the Options button located next to the Firewall toggle. This opens a modal window containing advanced parameters for incoming connection handling.

  5. 1 min

    Set Connection Rules

    Enable 'Block all incoming connections' if you require maximum security and do not use file sharing or remote login services. Alternatively, leave this disabled to allow essential services while maintaining per-application control.

    Note: Blocking all incoming connections may interfere with printing or screen sharing.
  6. 1 min

    Define App Exceptions

    Use the plus (+) and minus (-) buttons in the Options menu to add or remove specific applications. Set each application to either 'Allow incoming connections' or 'Block incoming connections' based on your security requirements.

    Note: Only add applications from known, trusted developers.