From owner-freebsd-questions Fri Oct 16 14:21:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18916 for freebsd-questions-outgoing; Fri, 16 Oct 1998 14:21:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18697 for ; Fri, 16 Oct 1998 14:20:21 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id OAA27363; Fri, 16 Oct 1998 14:19:48 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 16 Oct 1998 14:19:48 -0700 (PDT) From: Doug White To: "Russell D. Murphy" cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: natd setup In-Reply-To: <199810162044.QAA00652@neale.econ.vt.edu> 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 On Fri, 16 Oct 1998, Russell D. Murphy wrote: > > I'm trying to set up natd, but am getting the following errors > from ipfw: > > ---------- > 00000 divert 8668 ip from any to any via de0 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > 00000 allow ip from any to any > ipfw: setsockopt(IP_FW_ADD): Invalid argument > ---------- > > These arise from either interactive invocation or rc.firewall. > Can anyone help? You need to build a kernel with options IPDIVERT Or you need to boot the kernel you built with IPDIVERT :) also try /dev/MAKEDEV ipfw0 Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message