macOS 13.2 - Cannot save changes to Firewall settings

I think I have had this problem since updating to macOS 13.0.1. Changes to the macOS Firewall settings do not stick.


I have done a number of experiments with settings for a few processes. No matter what changes I make, the Firewall settings revert to the previously saved settings. Those previously saved settings included to block all incoming connections.


As an experiment, I turned that "Block all incoming connections" and changed to the setting for the "mediasharingd" process to "Block". I click on "OK", then return to the Firewall=>Options to make sure the changes were saved. They were. I closed and re-opened System Settings then returned to Firewall=>Options. The settings had reverted: mediasharingd was set to "Allow" and "Block all incoming connections" was back on.


I carried out that experiment using a Standard user account, then, again, using an Admin user account. The result was the same.


There has been one change with the release of macOS 13.2: I no longer have to supply admin credentials to change the Firewall Options settings. That is, any user account can change those settings without entering admin credentials. Surely this cannot be considered secure.


Is there a way to force macOS to save and retain changes to Firewall settings ?


Thanks.

Mac Studio, macOS 13.2

Posted on Jan 23, 2023 07:18 PM

Reply

Similar questions

6 replies

Jan 24, 2023 03:37 PM in response to Garry Brooke

Patrick Wardle @ Objective See advised that Objective-See's tool don't interfere with the firewall. He also found more discussions on this issue:


Firewall settings not saving - Apple Community


So, most likely it's a bug and I would have thought quite serious. Apple have not responded to any of my submissions on Feedback Assistant.


Now, I'm stuck with all incoming connections blocked and I have not way of turning it off.

Mar 15, 2023 07:23 AM in response to Garry Brooke

I'm on 13.2.1 and am also unable to get changes to Firewall settings to take effect or persist once I close System Settings.


I'm a web developer and am running a service on `0.0.0.0:4000` and am unable to access it from other devices on the same network. I see a Firewall entry that blocks incoming connections for the program in question (beam.smp, the Elixir/Erlang runtime) but can't toggle or remove that setting. (By corporate policy I also can't disable the firewall entirely.)


I also tried running Nginx (which I just installed) as a reverse proxy for this service, but although that works on localhost, it also appears to be blocked from the outside. MacOS didn't ask me whether to allow Nginx to receive incoming connections and it's not listed in the Firewall entries.


So it appears that Firewall is blocking things that it doesn't list as blocked and refusing to unblock things that I tell it to.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS 13.2 - Cannot save changes to Firewall settings

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.