From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 04:30:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3428D16A4D0 for ; Sun, 9 Nov 2003 04:30:08 -0800 (PST) Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4561743FAF for ; Sun, 9 Nov 2003 04:30:06 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp02.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HO300E6I4ATP5@smtp02.wxs.nl> for freebsd-questions@freebsd.org; Sun, 09 Nov 2003 13:35:17 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.8p2/8.12.8) with ESMTP id hA9CU4Z4000704; Sun, 09 Nov 2003 13:30:04 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.8p2/8.12.8/Submit) id hA9CU3fu000701; Sun, 09 Nov 2003 13:30:03 +0100 (CET) Date: Sun, 09 Nov 2003 13:30:02 +0100 From: Alex de Kruijff In-reply-to: <200311091551.13066.malcolm.kay@internode.on.net> To: Malcolm Kay Message-id: <20031109123002.GA553@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <002001c3a64e$ca65e080$6701a8c0@tacstation> <200311091551.13066.malcolm.kay@internode.on.net> cc: Shawn Guillemette cc: freebsd-questions@freebsd.org Subject: Re: IPFW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 12:30:08 -0000 On Sun, Nov 09, 2003 at 03:51:13PM +1030, Malcolm Kay wrote: > On Sun, 9 Nov 2003 09:49, Shawn Guillemette wrote: > > I have installed ipfw and each time the machien is rebooted I lose the > > rules I added. > > > > any thoughts? > > > > Do you mean you have added them by hand at the command lline? If you add them with this command 'ipfw add ...' then you do lose them at the reboot indeed. > I believe the norm is to have them in rc.firewall and with the appropriate > variables set in rc.conf it will all happen during the normal boot process. > (This is NOT in my area of expertise -- but you don't yet seem to have > a response from the knowledgable.) If you create your own firewall then its better to create your own file as rc.firewall can get overriden by mergemaster. One only wants to use this script if likes the default. You may wanna look at my homepage, I have a couple of articles about firewalls. Please feel free to contact me if you have trouble with it. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/