cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
6
Replies

Telnet Port!?!?

jcioara
Level 1
Level 1

Does anyone know how to make a Cisco router answer telnet requests on a different TCP port than 23? There HAS to be a way to do this, but after much searching, I cannot find any information on it!

Thanks kindly!

Jeremy Cioara

6 Replies 6

rjackson
Level 5
Level 5

When I checked into it it couldn't be done. Recent IOS' added support for SSH. That and the HTTP interface are the only other ways to access it that I could find. I'll be watching to see if you get any useful answers.

I dont think current IOS supports this (though havent seen the chances of having a undocumented IOS command).

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

ahojmark
Level 1
Level 1

The only way I've found is to use NAT.

-A

Asbjoern Hoejmark | CTO | CCIE #8525
Wingmen Solutions A/S | Gyngemose Parkvej 50, 1. | DK-2860 Søborg | Denmark
M: +4525162108 | E: ah@wingmen.dk | W: www.wingmen.dk

As Asbjoern suggested, NAT is one way of changing the port on which you can telnet to a router.

int s0

ip nat outside

ip add 10.1.1.2 255.255.255.0

ip nat inside source static tcp 10.1.1.2 23 10.1.1.2 30

When you telnet to 10.1.1.2 you will need to use port 30 instead of 23.

HTH

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

Excellent advice HTH - your simple NAT config works flawlessly.

Thanks kindly!

Jeremy

Hi Jeremy,

HTH - Hope that helps!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus