From owner-freebsd-small Mon Oct 12 21:23:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA23520 for freebsd-small-outgoing; Mon, 12 Oct 1998 21:23:28 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from the.oneinsane.net (gw.oneinsane.net [207.113.133.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA23515 for ; Mon, 12 Oct 1998 21:23:26 -0700 (PDT) (envelope-from insane@the.oneinsane.net) Received: (from insane@localhost) by the.oneinsane.net (8.9.0/8.9.0) id VAA14818; Mon, 12 Oct 1998 21:23:09 -0700 (PDT) Message-ID: <19981012212309.A14640@oneinsane.net> Date: Mon, 12 Oct 1998 21:23:09 -0700 From: "Ron 'The Insane One' Rosson" To: Chris Johnson , freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD router/natd/ipfw Reply-To: insane@oneinsane.net References: <19981012195014.A28161@palomine.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19981012195014.A28161@palomine.net>; from Chris Johnson on Mon, Oct 12, 1998 at 07:50:14PM -0400 X-Operating-System: FreeBSD the.oneinsane.net 2.2.7-STABLE X-Opinion: What you read here is my IMHO X-Disclaimer: I am a firm believer in RTFM X-WWW: http://www.oneinsane.net Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Oct 12, 1998 at 07:50:14PM -0400, Chris Johnson wrote: > I've got the router version of PicoBSD running, and I've configured de0 and > de1. What I'm trying to do is run natd to masquerade my private LAN over my > public IP address. > > 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 > > I'm reasonably certain that my divert command was correct, so I suspect that > there may be a problem with ipfw in PicoBSD 0.41 (not built from the same > source as the kernel?). > > Can someone confirm these results, or can someone prove me wrong and tell me > what mistake I'm making? > You show you did ed0 when you said you have de0 and de1 ??? Hmm.. Could this be it. ;-) Ron -- ------------------------------------------------------------------- Ron Rosson ... and a UNIX user said ... The InSaNe One rm -rf * insane@oneinsane.net and all was null and void ------------------------------------------------------------------- It's so nice to be insane, nobody asks you to explain. [----------------------------System Info---------------------------] 9:20PM up 9 days, 21:30, 2 users, load averages: 0.81, 0.80, 0.81 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message