cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6165
Views
5
Helpful
2
Replies

change default telnet port on vty ?

provisoirea
Level 1
Level 1

Hi,

i need to know how to change the default listen port (23) on vty'lines on a IOS router.

My problem is firewalling and I need to telnet the vty 'line of the router with other listen port (like this : telnet my.router.com 80).

Thanks,

Al

2 Replies 2

rsissons
Level 5
Level 5

You can configure the route to accept telnet on a port other than 23 however, the ports that you can use are between 3000 and 3100.

Here is a sample config:

Global config

access-list 100 permit tcp any any eq 3005

line vty 0 4

access-class 100 in

rotary 5

password

login

This will allow you to telnet to port 3005. You can change this by changing the rotary group and the access-list.

Thanks !

Al