Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 1998 14:19:48 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Russell D. Murphy" <rdmurphy@vt.edu>
Cc:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: natd setup
Message-ID:  <Pine.BSF.4.03.9810161418580.28399-100000@resnet.uoregon.edu>
In-Reply-To: <199810162044.QAA00652@neale.econ.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810161418580.28399-100000>