Quick and easy pf (packet filter) firewall rules on macOS 2018-11-03 All product names, logos, and brands used in this post are property of their respective owners. I encountered a scenario recently where I needed to quickly restrict access to specific subnets and specific ports on a Mac Mini “server” running macOS High Sierra (also tested successfully on Mojave, Catalina, Big Sur, Monterey, and V