From owner-freebsd-questions Wed Sep 26 1:47:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A55EE37B433 for ; Wed, 26 Sep 2001 01:47:01 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8Q8ka140646; Wed, 26 Sep 2001 11:46:36 +0300 (EEST) (envelope-from ru) Date: Wed, 26 Sep 2001 11:46:36 +0300 From: Ruslan Ermilov To: Daniel Fairs Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Firewall rules Message-ID: <20010926114636.C29020@sunbay.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from d.fairs@psychmed.co.uk on Wed, Sep 26, 2001 at 09:08:18AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG echo "ipfw -f flush" ; ipfw list | sed 's/^/ipfw add /' On Wed, Sep 26, 2001 at 09:08:18AM +0100, Daniel Fairs wrote: > Hi, > > I was wondering if anyone could suggest a simple way of generating firewall > scripts from the currently configured firewall. Having spent a while > tweaking a number of firewalls, each with different rulesets, a script to > dump them each to a file suitable for using with rc.firewall would be very > handy... any thoughts? > > Cheers, > Dan -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message