01-20-2004 04:10 AM - edited 03-02-2019 01:01 PM
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
01-20-2004 08:46 PM
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.
01-21-2004 02:02 PM
Thanks !
Al
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