macOS Sequoia v15.2+ Firewall

Mac OSX specific forum
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

macOS Sequoia v15.2+ Firewall

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6244
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: macOS Sequoia v15.2+ Firewall

Post 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
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 917
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: macOS Sequoia v15.2+ Firewall

Post 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…
Post Reply