From owner-freebsd-questions Sun Jan 13 8:32:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from b1n.org (200-171-41-43.dsl.telesp.net.br [200.171.41.43]) by hub.freebsd.org (Postfix) with ESMTP id C1E3537B405 for ; Sun, 13 Jan 2002 08:32:50 -0800 (PST) Received: by b1n.org (Postfix, from userid 1000) id 40FF38111; Sun, 13 Jan 2002 14:32:55 -0200 (BRST) Date: Sun, 13 Jan 2002 14:32:55 -0200 From: BinarySoul To: Eric Dedrick Cc: freebsd-questions@freebsd.org Subject: Re: options IPDIVERT appears not to work... Message-ID: <20020113143255.C8806@b1n.org> References: <20020113142233.B8806@b1n.org> <20020113112759.D3031-100000@dsl-146-127.resnet.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020113112759.D3031-100000@dsl-146-127.resnet.purdue.edu>; from dedrick@dsl-146-127.resnet.purdue.edu on Sun, Jan 13, 2002 at 11:30:57AM -0500 X-Operating-System: OpenBSD 3.0 (i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ow, the famous miibus :) comment out the line device miibus in the kernel file Eric Dedrick (dedrick@dsl-146-127.resnet.purdue.edu) wrote: > > Have you configured your /etc/rc.conf to use ipfirewall yet? > > Yes. I think I see the problem though. There was an error building the > kernel: > > ../../pci/if_dc.c:131: miibus_if.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sys/compile/DSL-146-127-2. > > and so the new kernel was never built. > > Now to just fix the kernel build problem. miibus_if.h is sitting in > /usr/src/sys/pci/ so I'm not exactly sure why it's not being found when I > try to compile. > > > > > Eric Dedrick (dedrick@dsl-146-127.resnet.purdue.edu) wrote: > > > Hi. > > > > > > I am wanting to set up NATD, but have come to an impass. > > > > > > As per the directions, I have added these lines to my kernel > > > configuration: > > > > > > #firewall options > > > options IPFIREWALL #required for natd > > > options IPDIVERT #required for natd > > > > > > I then re-made the world (including a new kernel), but when I boot I still > > > get the message > > > > > > IP packet filtering initialized, divert disabled, rule-based forwarding > > > disabled, default to deny, logging disabled > > > > > > (instead of divert enabled) > > > > > > Advice? > > > > > > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message