Ranger Try it free

Does your Mac need a firewall? What the built-in one does, and what it doesn't

In short: Every Mac has a firewall, and on a new Mac it is switched off. It guards the way in: other computers trying to reach yours. Switching it on costs nothing and breaks almost nothing, so do it. It does not look at what your own apps send out, and for that you need a different kind of firewall.

The firewall your Mac already has

macOS comes with a firewall of its own. Apple describes it as protection from "unwanted contact initiated by other computers" when you are on the internet or a network (Apple). Think of it as a doorman. It decides who may knock on your Mac from outside and which apps may answer.

You find it in Apple menu › System Settings › Network › Firewall. On most Macs the switch says off, because that is how Apple ships it.

The doorman only watches the door. When an app on your Mac starts a connection itself, to load a page, sync a file or send a report, the built-in firewall lets it through. That direction is called outgoing, and it is where most of today's trouble starts: a link that opens a scam page, an app that reports how you use it, an ad network that follows you from app to app.

Why it is off, and whether to switch it on

Apple has never given an official reason for shipping the firewall switched off. The usual explanation is that a new Mac has no services listening for visitors from the internet, and most people sit behind a home router that already keeps strangers out (Kolide).

That holds at home. It holds less well in a café, a hotel or an airport, where everyone shares the same network and the router protects nobody from the person at the next table. If your Mac is a laptop, switch the firewall on:

  1. Choose Apple menu › System Settings.
  2. Click Network in the sidebar, then Firewall. You may need to scroll down.
  3. Turn on Firewall.

Nothing you use day to day should change. An app that needs to receive connections, such as a game hosting a match, may ask you once whether to allow them.

The options, one by one

Click Options next to the switch and you get four settings. Here is what each one does, in Apple's words and in plain ones (Apple).

Block all incoming connections. Only the basic services your Mac needs to find things on the network are allowed; every sharing service is shut. Good on a network you don't trust. While it is on, sharing services such as file sharing and screen sharing stop working.

Automatically allow built-in software to receive incoming connections. Apple's own apps and services may answer without asking you. Leave it on.

Automatically allow downloaded signed software to receive incoming connections. Apps from known developers may answer without asking. Turn it off if you prefer to be asked about each one.

Enable stealth mode. Your Mac stops replying to probing requests, such as a ping, that someone could use to find out it is there. Apps you allowed keep working. It is a sensible setting on public Wi-Fi and harmless at home.

The list in the middle of the window is for apps that may or may not receive connections. It has nothing to do with what those apps send out, which surprises many people who add an app there to keep it offline.

What the built-in firewall can't see

Here is an ordinary evening as a firewall for outgoing connections sees it. Safari reaches your bank, Mail reaches your email provider, Photos reaches iCloud. A news app reaches an ad network. A weather app reaches a data broker. Safari opens a link from a text message, and the page behind it is a fake parcel site.

The macOS firewall has no opinion about any of it, because every one of those connections started on your Mac. Its job ends at the door.

Watching the other direction is the job of an outgoing firewall. On a Mac you have three kinds to choose from:

If you are weighing them up, our comparison of Mac firewalls goes through each one by what you need.

Where Ranger fits

Ranger is the third kind, and we make it. It works next to the macOS firewall: the built-in one keeps watching the door, Ranger watches what goes out.

Three protections are on from the first minute: known scam and malware sites, ads and trackers, and the usage reports your Mac sends to Apple. Ranger checks every connection from every app against lists that are updated daily, stops the matches and writes everything down, so you can look whenever you are curious. It never asks you about a connection. The only message it sends is the notice that it stopped a dangerous site.

It runs on macOS 14 or later, on Apple silicon and Intel. The trial lasts 14 days and needs no email or card; after that it is €29 once for one Mac.

Whatever you choose for the outgoing side, the built-in firewall stays useful. Switching it on takes a minute.