Date: Wed, 26 Sep 2001 11:46:36 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Daniel Fairs <d.fairs@psychmed.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Firewall rules Message-ID: <20010926114636.C29020@sunbay.com> In-Reply-To: <NKEPKAINDOAHFAIDHBHAMEHDCEAA.d.fairs@psychmed.co.uk>; from d.fairs@psychmed.co.uk on Wed, Sep 26, 2001 at 09:08:18AM %2B0100 References: <NKEPKAINDOAHFAIDHBHAMEHDCEAA.d.fairs@psychmed.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926114636.C29020>