From owner-freebsd-stable Fri Apr 21 9: 1:49 2000 Delivered-To: freebsd-stable@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id D9AEC37BA20 for ; Fri, 21 Apr 2000 09:01:22 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id TAA01175; Fri, 21 Apr 2000 19:01:15 +0300 (EEST) (envelope-from ru) Date: Fri, 21 Apr 2000 19:01:15 +0300 From: Ruslan Ermilov To: noor@comrax.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: natd with 4.0-STABLE. Message-ID: <20000421190115.A1125@relay.ucb.crimea.ua> Mail-Followup-To: noor@comrax.com, freebsd-stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from noor@comrax.com on Fri, Apr 21, 2000 at 06:46:38PM +0300 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 21, 2000 at 06:46:38PM +0300, noor@comrax.com wrote: > > Hello.. > > After I upgraded another server of ours, which does natd between two > NIC's, trying to activate it yields: > > root@fw :/tmp# ipfw add 50 divert natd all from any to any via xl1 > 00050 divert 8668 ip from any to any via xl1 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > What is wrong??? > You need to compile your kernel with IPFIREWALL and IPDIVERT. ipfw.ko (KLD version) will not work, since it does not have divert(4) bits compiled in by default. -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message