EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

How to Test Changes to Your pf Firewall Config

2015-01-30 13:20

# flush
# enable
# sleep and test
# then disable in case you fucked something up
# all on one line!

pfctl -F all ; pfctl -e -f com.billo.pf.rules ; sleep 20 ; pfctl -d