Firewall settings not saving

When I try to save custom settings on Firewall to block the connection to some apps, settings are not saved, or saved for some minutes, and then automatically all permissions are enabled.

This is a very important security problem, how did you solve? Tks


MacBook Pro 16″, macOS 13.0

Posted on Nov 9, 2022 9:04 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 28, 2023 7:43 PM

Same issue here. The only way I could fix it was to use the socketfilterfw executable directly, with sudo privileges, on the command line. You can check out the help information for the executable by running:


sudo /usr/libexec/ApplicationFirewall/socketfilterfw -h

which explains what options are available and their general use.


For a specific example, I was able to then use the --remove <path> option which would be the same as using the "-" button to remove something from the list of individual applications that have individual rules set on them:


sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /Applications/Firefox.app
56 replies

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.

Firewall settings not saving

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