From owner-freebsd-pf@FreeBSD.ORG Fri Aug 11 13:33:10 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1535C16A4DE for ; Fri, 11 Aug 2006 13:33:10 +0000 (UTC) (envelope-from zope@2012.vi) Received: from efit.xs4all.nl (efit.xs4all.nl [82.92.236.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C55643D45 for ; Fri, 11 Aug 2006 13:33:08 +0000 (GMT) (envelope-from zope@2012.vi) Received: from [192.168.0.6] (dpc67143135132.direcpc.com [67.143.135.132]) by efit.xs4all.nl (Weasel v1.73) for ; 11 Aug 2006 15:29:38 Message-ID: <44DC8709.1050605@2012.vi> Date: Fri, 11 Aug 2006 09:32:57 -0400 From: beno User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: "Reset" Script, Anyone? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 13:33:10 -0000 Hi; I am half a world away from my console. If I make a mistake entering my PF rules, I could lock myself out. It would be nice if I had a script I could activate by cron that automatically flushed out my rc.conf that I'm experimenting with and loaded the original. That way, I could set the cron, load my experimental rc.conf, reboot and see if I could still connect to my box. If I couldn't, then all I'd have to do is wait a few minutes and then I could try again. Surely I'm not the first person to have thought of this. Anyone have a script that does this? TIA, beno