06-12-2003 07:32 AM - edited 03-02-2019 08:05 AM
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
06-12-2003 08:11 AM
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.
06-12-2003 09:33 AM
I dont think current IOS supports this (though havent seen the chances of having a undocumented IOS command).
06-12-2003 10:52 AM
The only way I've found is to use NAT.
-A
06-12-2003 12:24 PM
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
06-29-2003 09:52 AM
Excellent advice HTH - your simple NAT config works flawlessly.
Thanks kindly!
Jeremy
06-29-2003 10:44 AM
Hi Jeremy,
HTH - Hope that helps!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide