From owner-freebsd-questions Fri Jan 26 9:33: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.cns.ksu.edu (grunt.ksu.ksu.edu [129.130.12.17]) by hub.freebsd.org (Postfix) with ESMTP id 490E137B400 for ; Fri, 26 Jan 2001 09:32:50 -0800 (PST) Received: from unix1 (jdt2101@unix1.cc.ksu.edu [129.130.12.3]) by mailhub.cns.ksu.edu (8.9.1/8.9.1/mailhub+tar) with SMTP id LAA14822; Fri, 26 Jan 2001 11:32:28 -0600 (CST) Received: from localhost by unix1 (SMI-8.6/1.34) id LAA16427; Fri, 26 Jan 2001 11:32:27 -0600 Date: Fri, 26 Jan 2001 11:32:27 -0600 (CST) From: Joshua Delong Thomas X-Sender: jdt2101@unix1.cc.ksu.edu To: Stephen Brandi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network fails with IPDIVERT IPFIREWALL enabled. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This also happened to me while in the process of setting up natd. You should make sure all of the nat setting are correct, its probably that you have firewall enabled in rc.conf, but not gateway, etc. There is a good howto for natd here that I found very helpful: http://www.freebsd-howto.com/HOWTO/NAT-HOWTO -Josh On Fri, 26 Jan 2001, Stephen Brandi wrote: > > I have been having a problem that has been baffling me. I have a freebsd > 4.1 machine running natd and a totally open firewall (temporarily). When I > boot with kernel.GENERIC networking (local net and cable modem to > internet) work fine, but no routing happens (as expected). When I boot > with my custom kernel with options IPDIVERT and IPFIREWALL enabled, I am > unable to use either network interface. I can't even ping localhost. > I ran a diff on GENERIC and MYKERNEL and these were the only differences. > > Gateway, natd, and firewall are enabled in rc.conf > > Does anyone have an idea what could be causing my all networking to > die with my firewall enabled kernel? I have gotten this working in the > past, but did a re-install at one point after a hardware failure. I feel > like I'm forgetting something obvious. > > Steve Brandi > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message