From owner-freebsd-questions Sun Jan 13 8:36:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-146-127.resnet.purdue.edu (dsl-146-127.resnet.purdue.edu [128.211.146.127]) by hub.freebsd.org (Postfix) with ESMTP id 6B2C137B41C for ; Sun, 13 Jan 2002 08:36:16 -0800 (PST) Received: from localhost (dedrick@localhost) by dsl-146-127.resnet.purdue.edu (8.11.3/8.11.6) with ESMTP id g0DGbpn05370; Sun, 13 Jan 2002 11:37:51 -0500 (EST) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Date: Sun, 13 Jan 2002 11:37:49 -0500 (EST) From: Eric Dedrick To: BinarySoul Cc: Subject: Re: options IPDIVERT appears not to work... In-Reply-To: <20020113143255.C8806@b1n.org> Message-ID: <20020113113659.R5355-100000@dsl-146-127.resnet.purdue.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Ow, the famous miibus :) > comment out the line > device miibus > > in the kernel file Actually I don't have that line in my kernel file. Perhaps I need to add it? > > 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 > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Qbfezeurue0k47sRAtwEAJ4vG2BTMOeV8lRpd6QJrDEaro+qsgCgwMCx EaoZeRUupZto1kS+Uvj4RSU= =s9tA -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message