From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 08:37:12 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG 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 302A316A41B for ; Fri, 9 Jun 2006 08:37:12 +0000 (UTC) (envelope-from mcrogerm@stjohn.ac.th) Received: from stjohn.ac.th (ns.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D31A43D7E for ; Fri, 9 Jun 2006 08:37:10 +0000 (GMT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th [203.151.134.104] by stjohn.ac.th with ESMTP (SMTPD-8.21) id A3310EA8; Fri, 09 Jun 2006 15:37:05 +0700 Message-Id: <5.2.0.9.0.20060609152309.00b105a8@127.0.0.1> X-Sender: 2-server.international.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 09 Jun 2006 15:35:52 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt In-Reply-To: <20060609141313.cf5129b6.nick@nickwithers.com> References: <5.2.0.9.0.20060607172108.032e7db8@127.0.0.1> <20060607183003.23ae3f8c.nick@nickwithers.com> <5.2.0.9.0.20060607120734.00a80700@127.0.0.1> <5.2.0.9.0.20060607151302.00b25118@127.0.0.1> <20060607183003.23ae3f8c.nick@nickwithers.com> <5.2.0.9.0.20060607172108.032e7db8@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Nick Withers Subject: Re: natd not starting on boot-up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 08:37:12 -0000 At 02:13 PM 6/9/2006 +1000, you wrote: >I've been doing a little hunting around to figure out >how /etc/rc.d/natd's called in the first place and it seems >this is done by the /etc/rc.d/ipfw script, which in turn is run >when "firewall_enable" is set >in /etc/rc.conf. /etc/rc.d/natd's not run directly >by /etc/rc due to its having the "nostart" KEYWORD. > >Is IPFW definitely launched correctly on the system? Definitely. After I reboot I entered 'ipfw show' and it displayed the ruleset it's using. The first rule (actually number 0050) is 'divert 8668 ip4 from any to any via ed1'. Hmmm. Only 'ip4'? I have ip6 enabled, too, although as far as I know I only deal with ip4. Something new to research. >Otherwise, perhaps it's worthwhile chucking a debug echo or two >about the place (for instance, in /etc/rc.d/natd and / >or /etc/rc.d/ipfw) and rebooting. Something like this should do >the trick, I believe: "echo && echo && echo && echo >'/etc/rc.d/natd' && echo && echo && echo" (without the outer >quotes). > >-- >Nick Withers >email: nick@nickwithers.com >Web: http://www.nickwithers.com >Mobile: +61 414 397 446 Well, I'll give it a try. Thanks for the suggestion. -- Roger