Page 1 of 1

macOS Sequoia v15.2+ Firewall

Posted: Sat Jun 07, 2025 12:06 pm
by mk-soft
The firewall was changed with version 15.2. So there is no longer the firewall ipfw.
You can add the PureBasic Server app in the firewall, but the app is not added and the connection is still cancelled externally because the app is not signed. :(

Does anyone have a solution?
The server app also works when the firewall is switched off.

Re: macOS Sequoia v15.2+ Firewall

Posted: Sat Jun 07, 2025 2:44 pm
by mk-soft
Solution found ;)

Change path and name to your server app
Sign the PureBasic app and add it to Firewall

Start Terminal:

Add Signatur:
sudo codesign --force --deep --sign - /Users/Michael/Daten/Purebasic/Ablage/MyServer.app

Remove Signatur:
sudo codesign --remove-signature /Users/Michael/Daten/Purebasic/Ablage/MyServer.app

Add to Firewall:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Users/Michael/Daten/Purebasic/Ablage/MyServer.app

Remove from Firewall:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /Users/Michael/Daten/Purebasic/Ablage/MyServer.app

Re: macOS Sequoia v15.2+ Firewall

Posted: Sun Jun 08, 2025 1:22 pm
by Piero
mk-soft wrote: Sat Jun 07, 2025 2:44 pmsudo codesign
THANKS!
If you have a Developer ID, SD Notary (https://latenightsw.com/freeware/) may be worth a look…