Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
Killing incomng TELNET Session
mercanedees
Does anyone know how to terminate a Telnet session coming into your Router?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
wildfire
Not sure what you mean by this question do you want to prevent people from telneting in or disconnect people that are already connected>
Easiest way to prevent telnet from coming in is by applying an access list
can be done one of two ways, to allow only you to telnet in from a known IP
Router(config)#access-list 50 permit {you IP address}
Router(config)#line vty 0 4 (applys the access list to 0-4 telent sessions)
Router(config-line)#
access-class
50 in (notice this is different from applying to physicial interface)
or to deny any
Router(config)#access-list 120 deny tcp any any eq 23
Router(config)#access-list 120 permit ip any any
RouterA(config-if)#ip access-group 110 in
If you mean disconnect someone already connected, correct me on this anyone
Router#Show users
work out which line number is connected then
Router#disconnect {connection-number}
mercanedees
Yes, that is exactly what I mean. Terminating another user who is already connected to the router you are currently working on
pandimus
Good stuff..
Thanks for the help wildfire..
mercanedees
Wildfile - thank you for your response
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS