From owner-freebsd-small Wed Oct 20 2:57:40 1999 Delivered-To: freebsd-small@freebsd.org Received: from freja.webgiro.com (freja.webgiro.com [212.209.29.10]) by hub.freebsd.org (Postfix) with ESMTP id 0109C1B00E for ; Wed, 20 Oct 1999 02:57:36 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by freja.webgiro.com (Postfix, from userid 1001) id 814151926; Wed, 20 Oct 1999 11:57:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by freja.webgiro.com (Postfix) with ESMTP id 8054C49DB; Wed, 20 Oct 1999 11:57:38 +0200 (CEST) Date: Wed, 20 Oct 1999 11:57:38 +0200 (CEST) From: Andrzej Bialecki To: Jeff Lush Cc: freebsd-small@freebsd.org Subject: Re: PicoBSD Network version and NAT In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Oct 1999, Jeff Lush wrote: > 00000 divert 8668 ip from any to any via ep0 > /sbin/ipfw: setsockopt(IP_FW_ADD): Invalid Argument > > After this error, that's it, no NAT. I don't understand error. Most of my > configuration came from the man pages on NATD and IPFW from the FreeBSD > website. I am using the kernel that came with 0.41-Network file. The man > page for NATD suggests adding two lines to the kernel config file: > > options IPFIREWALL > options IPDIVERT The error message above tells you (in other words) "these two options are mandatory". You need to rebuild the PicoBSD kernel. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message