Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 10:36:09 -0400
From:      beno <zope@2012.vi>
To:        James Seward <jamesoff@gmail.com>,  freebsd-pf@freebsd.org
Subject:   Re: "Reset" Script, Anyone?
Message-ID:  <44DC95D9.9010002@2012.vi>
In-Reply-To: <720051dc0608110657m1109c80dke2186baee9c2d9@mail.gmail.com>
References:  <44DC8709.1050605@2012.vi> <720051dc0608110657m1109c80dke2186baee9c2d9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DC95D9.9010002>