There is also safing which does something similar with a great GUI and it works on Linux, windows and macOS and its open source!
Are you referring to Portmaster? https://github.com/safing/portmaster/
If so, it "is currently not available for macOS". https://docs.safing.io/portmaster/install/status/mac