"Reset" Script, Anyone?

beno zope at 2012.vi
Fri Aug 11 14:36:23 UTC 2006


James Seward wrote:
> I do this by having a screen session running, and a known-good 
> pf.conf.safe:
>
> # pfctl -f pf.conf && sleep 60 && pfctl -f pf.conf.safe
>
> Then I detach my screen and try to login again, or test whatever I
> wanted to. If it's all good and I haven't locked myself out, I just
> have to get back into screen before 60 seconds pass and hit ^C. If I
> don't do that in time, it'll load my safe ruleset.
Perfect! Thanks!
beno


More information about the freebsd-pf mailing list