Date: Sun, 20 Dec 1998 20:22:44 -0500 (EST) From: Antonio Bemfica <antonio@ngrdev.ic.gc.ca> To: freebsd-questions@FreeBSD.ORG Subject: Re: Port redirection Message-ID: <Pine.GSO.3.96.981220201732.5133A-100000@ngrdev.ic.gc.ca> In-Reply-To: <367CF1DC.2BE9A41C@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 20 Dec 1998, Karl Pielorz wrote: > 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. > > Netcat (in the ports, i.e. /usr/ports/net/netcat) certainly can - we > use it [...] 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 ;-) If you compile TCP Wrappers with PROCESS_OPTIONS, you will be able to run a different server on the same port depending on the host (or user@host) who is connecting to it [at least that's what I understood from the man page (man hosts_options, look for the 'twist' option)]. Antonio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.981220201732.5133A-100000>