Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 1998 09:03:31 -1000
From:      "Randal S. Masutani" <randal@comtest.com>
To:        Chris Johnson <cjohnson@palomine.net>
Cc:        freebsd-small@FreeBSD.ORG
Subject:   Re: PicoBSD router/natd/ipfw
Message-ID:  <199810131844.IAA09536@oldyeller.comtest.com>
In-Reply-To: <19981012195014.A28161@palomine.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12 Oct 98, at 19:50, Chris Johnson wrote:

> This is my first experience with natd (I currently use Linux masquerading).
> Here's what I did:
> 
> natd -n de0 (de0 is the interface connected to the outside world).
> ipfw -f flush
> ipfw add divert natd ip from any to any via ed0
> 
> The last line results in:
> ipfw: setsockopt(IP_FW_ADD): Invalid argument

You must make sure you have a kernel built with

options   IPFIREWALL

If you are using the GENERIC kernel, then it is not enabled by default.
You must rebuild a custom kernel with the above line added.

Randal Masutani


-------------------------------------------------------------------------
ComTest Technologies, Inc.
3049 Ualena St., Suite 1005
Honolulu, Hawaii  96819

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810131844.IAA09536>