TTOPM's picture
Upload 313 files
6b53875 verified

macOS Packet Filter (pf)

Apply rules:

sudo cp belel-shield/firewall/macos/pf.conf /etc/pf.conf
sudo pfctl -f /etc/pf.conf
sudo pfctl -e

Schedule daily re-apply (optional):

cp belel-shield/firewall/macos/com.belel.firewall.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.belel.firewall.plist

Revert:

sudo pfctl -d