From owner-freebsd-questions Sun Dec 20 04:48:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08022 for freebsd-questions-outgoing; Sun, 20 Dec 1998 04:48:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08017 for ; Sun, 20 Dec 1998 04:48:25 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.1a/8.9.1) with ESMTP id MAA25067; Sun, 20 Dec 1998 12:47:53 GMT Message-ID: <367CF1DC.2BE9A41C@tdx.co.uk> Date: Sun, 20 Dec 1998 12:47:24 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Antonio Bemfica CC: Jaime , Robert , freebsd-questions@FreeBSD.ORG Subject: Re: Port redirection References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Antonio Bemfica wrote: > > On Sat, 19 Dec 1998, Jaime wrote: > > > [...] 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. > > I think TCP wrappers can do that. > > Antonio Netcat (in the ports, i.e. /usr/ports/net/netcat) certainly can - we use it here to create relaying TCP connections (e.g. telnet to any of our boxes on port 119 and it connects you to our main news server). You could just as easily relay between port 23 and 8000... The only problem is - once you relay port 23 onto port 8000 - you coulnd't telnet to the box, so make sure you have ssh or move the 'real telnet' to a different port ;-) -Kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message