Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

telnet on port other than 23

49 views
Skip to first unread message

scottyb

unread,
Feb 27, 2001, 7:36:49 AM2/27/01
to
Is it possible to have an AIX 4.1.x machine accept ip connections such as
Telnet or FTP on any port other than the standards of 23 and 21 ?

If so, is it difficult to configure ?

Thanks -

(Please reply to: sco...@realtimesw.com if possible)


Christer Palm

unread,
Feb 27, 2001, 7:20:05 PM2/27/01
to
scottyb wrote:
>
> can you use port 23 and another port also, at the same time for telnet ?
>
Telnet is a little bit tricky, because the telnet client looks at which
port you are connecting to and if it is not 23 it will turn off
capability negotiation and run in "stupid"-mode (it will not be
full-function telnet).

You can run a telnetd on any, and as many ports as you like by hacking
inetd.conf, but you will only get true telnet on port 23 unless you have
a non-standard client.

palm.vcf

RR

unread,
Feb 27, 2001, 7:34:29 PM2/27/01
to
In article <grOm6.312112$ge4.10...@news2.rdc2.tx.home.com>,
"scottyb" <sco...@realtimesw.com> wrote:

> can you use port 23 and another port also, at the same time for telnet ?

Yes. You can define a new service, called "telnet2" for example, in
/etc/services, listening on another tcp port. Then, in
/etc/inetd.conf, copy the default "telnet" line to a new line and
rename the service to "telnet2."

Cameron Kaiser

unread,
Feb 27, 2001, 8:43:08 PM2/27/01
to
"scottyb" <sco...@realtimesw.com> writes:

>can you use port 23 and another port also, at the same time for telnet ?

Of course. Put two entries into /etc/inetd.conf, one for each port.

--
Cameron Kaiser * cka...@stockholm.ptloma.edu * posting with a Commodore 128
personal page: http://www.armory.com/~spectre/
** Computer Workshops: games, productivity software and more for C64/128! **
** http://www.armory.com/~spectre/cwi/ **

0 new messages