From owner-freebsd-questions Mon Oct 2 14:27:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.veriohosting.com (gatekeeper.veriohosting.com [192.41.0.2]) by hub.freebsd.org (Postfix) with ESMTP id DE88E37B66D for ; Mon, 2 Oct 2000 14:27:27 -0700 (PDT) Received: by gatekeeper.veriohosting.com; Mon, 2 Oct 2000 15:27:27 -0600 (MDT) Received: from unknown(192.168.1.7) by gatekeeper.veriohosting.com via smap (V3.1.1) id xma009433; Mon, 2 Oct 00 15:27:19 -0600 Received: from localhost (aulmer@localhost) by orca.orem.veriohosting.com [Verio Web Hosting, Inc. 801.437.0200] (8.8.8) id PAA76292; Mon, 2 Oct 2000 15:27:18 -0600 (MDT) Date: Mon, 2 Oct 2000 15:27:18 -0600 (MDT) From: Adam Ulmer Reply-To: aulmer@veriohosting.com To: Louis Valentine Cc: freebsd-questions@FreeBSD.ORG Subject: Re: UDP Mapping w/ 1 Interface, how? In-Reply-To: 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 It sounds like you need a couple of netcats. One to listen and the other to talk. If this is not enough of a pointer, let me know. Adam Ulmer On Sat, 30 Sep 2000, Louis Valentine wrote: > Here's the scenario: > > I have a box running FreeBSD 4.1-RELEASE with a single interface (ethernet > card). I want to listen for UDP packets on a specified port, say 20000, and > redirect these packets to an external host, say user.domain.org:20000. I > initially tried doing this with NAT and ipfw, but after posting a message on > this list last week, it seems that the consensus is that this is not correct > method. So, my question now is, what _is_ the correct method for setting up > such a router? No need to give me step-by-step instructions, but if someone > could point me in the direction to look at I would greatly appreciate it. > > FYI: I have an Win98 box with WinGate on it right now that is currently > performing this exact same service (UDP Mapping with 1 NIC). For obvious > reasons I would rather have my BSD box handling this. ;) > > Thanks! > > -Louis Valentine > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message