From owner-freebsd-ipfw@FreeBSD.ORG Thu Feb 8 14:39:21 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6949716A402 for ; Thu, 8 Feb 2007 14:39:19 +0000 (UTC) (envelope-from xxadmiralxx@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 1658613C46B for ; Thu, 8 Feb 2007 14:39:18 +0000 (UTC) (envelope-from xxadmiralxx@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so464635wxc for ; Thu, 08 Feb 2007 06:39:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=a54ftoOhsnn2SBLlp7Htyct9Zk5h/zeHtGLtYmFW4Y06Q/y2BY6H1XmBNdtJV+H6K5NDLZk/rO8q5IlPp+g1AKIwvFk+F4m7m283ifEjdu8bKXgkUpSLWlIdmskuDPPf9aPXTnefHQJXtJrDY0GAvzB46yYsXSXfcUMExBgJCnY= Received: by 10.78.142.14 with SMTP id p14mr3199hud.1170894312867; Wed, 07 Feb 2007 16:25:12 -0800 (PST) Received: by 10.66.251.19 with HTTP; Wed, 7 Feb 2007 16:25:12 -0800 (PST) Message-ID: <66f7e7af0702071625m7e5b98dbo76c8068ea936ed23@mail.gmail.com> Date: Wed, 7 Feb 2007 19:25:12 -0500 From: "The Admiral" To: freebsd-ipfw@freebsd.org In-Reply-To: <1170395697.21151.18.camel@tick.tock> MIME-Version: 1.0 References: <66f7e7af0702011304m61385124r5876e0af3d767a55@mail.gmail.com> <002401c74657$6b169690$0205000a@white> <66f7e7af0702011611v155a3c2h6a26152d7faf9796@mail.gmail.com> <000001c74663$212a10a0$0205000a@white> <66f7e7af0702011759t1b4ba6a8jb988d68fe5595601@mail.gmail.com> <1170395697.21151.18.camel@tick.tock> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: rc.firewall script not running at system boot X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 14:39:22 -0000 On 2/2/07, Josh wrote: > > On Thu, 2007-02-01 at 20:59 -0500, The Admiral wrote: > > On 2/1/07, Dewayne Geraghty > > wrote: > > > > I tried executing "/etc/rc.d/ipfw restart" and sure enough, it showed > that > > one of my firewall rules was mistakenly entered as "addpass" while it > > should've been "add pass". I corrected the typo, but the strange thing > is, > > when I reboot, it still doesn't work! Running the firewall command > manually > > works without error, but it isn't executed at boot.. Any other ideas? I > was > > sure that the typo was the problem, unfortunately that's not the > case. Oh > > well, at least it seems I'm getting closer to a solution! Thanks, > > I have always written my own firewall rules into their own shell script > and launch it from from /etc/rc.local > > You could just add > /etc/rc.firewall client > to /etc/rc.local and do away with any of the traditional stuff in > rc.conf well, I ended up moving all my firewall commands from /etc/rc.firewall into rc.local like you suggested and it works fine now.. Strange that it suddenly stopped working from inside rc.firewall.. I even tried disabling pretty much everything from rc.conf except for the pertinent firewall lines, and it still wouldn't execute any of my firewall commands. Oh well, at least it's working now.. If anyone has any other suggestions of what to try, please let me know, otherwise I'll just leave it at that. Thanks, Mike