From owner-freebsd-questions Tue Nov 2 23:35:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from laurasia.com.au (lauras.lnk.telstra.net [139.130.93.142]) by hub.freebsd.org (Postfix) with ESMTP id 0153814F10 for ; Tue, 2 Nov 1999 23:35:28 -0800 (PST) (envelope-from mike@laurasia.com.au) Received: (from mike@localhost) by laurasia.com.au (8.9.1a/8.9.1) id PAA17696; Wed, 3 Nov 1999 15:46:50 +0800 (WST) From: Michael Kennett Message-Id: <199911030746.PAA17696@laurasia.com.au> Subject: Re: ipfw fwd action problems In-Reply-To: <381FE1FB.51722729@owp.csus.edu> from Joseph Scott at "Nov 2, 99 11:19:23 pm" To: joseph.scott@owp.csus.edu (Joseph Scott) Date: Wed, 3 Nov 1999 15:46:49 +0800 (WST) Cc: cjclark@home.com, edirol@anime.ca, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > In summary, using 'ipfw fwd' is really not what you want to be > > doing. You probably want to be using natd(8). It does what you want. > > -- > > You may also want to try some of the programs out there that basically > do only port forwarding. I personally haven't tried these, but I know > of at least two in the ports collection ( I know there are more, but > can't remember their names at the moment ) : > > rinetd > bounce > > I know there are several other programs out there that specialize in > this also. If you aren't already ready running natd then going this > route may be easier, on the other hand if you already have natd in this > loop then you may as well use it to redirect the port. One such port is `socket-1.1'. Works like a charm. For a while I was running a MUSH off one of my boxes. I changed the MUSH over to another box, and added the following entry into inetd (on the original box): mush stream tcp nowait root /usr/local/bin/socket socket beetle.laurasia.com.au mush (In /etc/services there was an entry for `mush', defining its TCP port number. The mush, BeetleMUSH, has since been squashed, and no longer exists. Nor does beetle, the machine referenced above) Requests for the MUSH service were transparently switched over to the new server. Hope this helps! Mike Kennett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message