10-28-2002 03:47 AM - edited 03-02-2019 02:25 AM
Hello.
I would like to change the telnet port number ,wich will be used to telnet the Cisco router. How can i do it ?
10-28-2002 05:27 AM
Yes, use the "telnet y.y.y.y x" command (where x is the port number). See link: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ftersv_r/trfsltn.htm#998293
Hope it helps.
Steve
10-28-2002 06:10 AM
Tnahks, but it's misunderstanding here,- my problem is to configure router for accessing him by telnet through port another then default.
Best regards.
Dmitry
10-28-2002 07:49 AM
Hi, I think you will have to use Port Application Mapping which is an IOS feature of the firewall feature set.
See the link for more information.
Regards
10-30-2002 10:51 AM
You can change the port number for telnet using simple IP NAT. Create a loopback on the device you want to change the port on and use this as the NAT inside. Use your LAN interface as the NAT outside and use TCP port translation. e.g R1 telnets to R2 using outside global address 99.99.99.99 port 99
R2
----
Interface Loop 0
ip address 2.2.2.2 255.255.255.255
ip nat inside
Interface fast 0/0 ;local LAN
ip address 192.168.10.10 255.255.255.0
ip nat outside
ip nat inside source static tcp 2.2.2.2 23 99.99.99.99 99
ensure R2 has a route to R1 and ensure R1 has a route to the inside global address 99.99.99.99 via R2.
From R1 you will be able to telnet via port 99 e.g.
telnet 99.99.99.99 99
Tie down all tcp port 23 traffic via access-lists. Almost a basic IOS firewall in reverse and works with most IOS.
Hope this helps.
Johnathan.
CCIE#9332
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