From owner-freebsd-questions Mon Oct 29 14:19:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 9EA5737B403 for ; Mon, 29 Oct 2001 14:19:25 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 8BB072B72F; Mon, 29 Oct 2001 23:19:21 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 0C76F1A0; Tue, 30 Oct 2001 09:19:15 +1100 (EST) Date: Tue, 30 Oct 2001 09:19:15 +1100 From: Edwin Groothuis To: Jacco Cc: FreeBSD Questions Subject: Re: Telnet on different port Message-ID: <20011030091914.D35710@k7.mavetju.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jacco@lionsoft.xs4all.nl on Mon, Oct 29, 2001 at 08:43:13PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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