Recently I was watching a Gizmodo journalist's videos about her experiment with blocking outgoing connections to Google, FB, Microsoft and Apple. I wonder if it is possible to modify MacOS's built in firewall to block IP ranges that I specify, like all known FB ranges, coinhive etc.?

I used to configure ipfw but this seems to have gone away. I'm running Mojave.

I do not want to run any closed-source program like Little Snitch to accomplish this. I just want to configure Apple's firewall if possible.

  • you can edit the hosts file to point any unwanted IPs to localhost. It's a pretty standard way to block a few IP ranges or domains. – Steve Chambers Feb 5 at 13:49

You must log in to answer this question.

Browse other questions tagged .