≡ Menu

reset firewall

I would like to tell my BSD based PF firewall to flush out the current configuration every 2 minutes. This will help me, when I'm testing a new rules and configuration options.
Tutorial details
DifficultyEasy (rss)
Root privilegesYes
Estimated completion time1m
Some time I find myself locked out of my own remote server. How do I reset PF firewall automatically without issuing hard reboot?
[click to continue…]