Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 09:19:15 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Jacco <jacco@lionsoft.xs4all.nl>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Telnet on different port
Message-ID:  <20011030091914.D35710@k7.mavetju.org>
In-Reply-To: <LEEGJHDFDIEGNMNMDFNDCEBPEGAA.jacco@lionsoft.xs4all.nl>; from jacco@lionsoft.xs4all.nl on Mon, Oct 29, 2001 at 08:43:13PM %2B0100
References:  <LEEGJHDFDIEGNMNMDFNDCEBPEGAA.jacco@lionsoft.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2001 at 08:43:13PM +0100, Jacco wrote:
> For security reasons I would like to put the telnet access (telnetd) to
> another TCP/IP port.
> Could someone please tell me how to do this? or provide some url's of
> relevant/interesting information?

Security through obscurity.

A way is to add a new service to /etc/services:
faketelnet	5555/tcp	#my own fake telnet address

And to add it to /etc/inetd.conf:
faketelnet stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd

kill -HUP of your inetd and you have inetd listening on port 5555.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20011030091914.D35710>