From owner-freebsd-questions Sat Dec 19 14:12:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24932 for freebsd-questions-outgoing; Sat, 19 Dec 1998 14:12:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from namodn.com (namodn.com [207.33.107.203]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24922 for ; Sat, 19 Dec 1998 14:12:34 -0800 (PST) (envelope-from robert@namodn.com) Received: from localhost (robert@localhost) by namodn.com (8.8.8/8.8.8) with SMTP id OAA05196; Sat, 19 Dec 1998 14:17:11 GMT (envelope-from robert@namodn.com) Date: Sat, 19 Dec 1998 14:17:10 +0000 (GMT) From: Robert To: Jaime cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port redirection 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 I'm running 2.2 .. but the trick is, I'd like to be able to telnet to namodn.com port 23, and nomad.namodn.com 23 , but nomad.namodn.com port 23 is really port 8000 , and namodn.com port 23 is really port 23. I could have the MUD listen on 23, but then I could not telnet in to the shell on 23. :) -rob ( www.namodn.com ) ( robert@namodn.com ) On Sat, 19 Dec 1998, Jaime wrote: > On Sat, 19 Dec 1998, Robert wrote: > > I would like to redirect incoming telnets to one of my subdomains > > ( nomad.namodn.com ) to a MUD running on port 8000. > > Is there a way to make nomad.namodn.com port 23 redirect to namodn.com > > port 8000 ? > > If you're running FreeBSD 3.0, look into ipfw and the firewall > rules. I believe that you want to set a divert rule. If you're running > 2.x, you'll have to either upgrade or write a program which acts as a > daemon on port 23 and then reconnects incomming connections to 8000. > > Alternitively, would it be possible to tell the MUD to listen on > 8000 and 23 at the same time? > > Jaime > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message