Configure Telnet On Cisco Router

Posted By: Vivek Kathayat - 08:00

CONFIGURE TELNET ON CISCO ROUTER 


Description

In this tutorial,we will learn how to configure the line vty line. Tutorial covers few points such as:

[+] Create a network on GNS3
[+] Configure IP address on router.
[+] Configure line vty line.
[+] Run nmap command to see the open ports.
[+] Access router through telnet command from the linux machine.

This is a basic tutorial to learn how to configure a small lab for testing purposes. Its up to you what else you can do with it.
Also make sure that their should be proper connectivity between the router and linux machine.

DEVICE INFORMATION 

Details: 

GNS3: Latest version GNS 1.3.7
Virtual Box: 4.3.28
Router:  7200 series IOS Image
Operating System: Linux (Kali Linux)

CREATE A NETWORK IN GNS3

  • To create a network, we have used 1 router and 1 linux virtual machine.
  • Network is of class A address i.e 10.0.0.0
  • You can see the below image for more help:


CONFIGURE IP ADDRESS ON ROUTER 
  • To configure ip address, follow the below command given below or shown in the below image.
  • See the below image to configure the fast interface 0/0.


Commands

R1#config t
R1(config)#int f0/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#

CONFIGURE LINE VTY 


Commands

R1#
R1#config t
R1(config)#line vty 0 4
R1(config-line)#password 12345
R1(config-line)#login
R1(config-line)#exit
R1(config)#enable secret cisco123
R1(config)#

WHAT HAPPEN WHEN WE CONFIGURE LINE VTY 
  • When we configure line vty we started telnet service on port 23.
  • You can check this using nmap tool as shown in the below image.
  • In the below image, observe that port 23 is open when we configure line vty.

ACCESS TELNET THROUGH LINUX MACHINE 

  • Now through the linux machine get access to the router using telnet command.
  • See the below image for more help.
  • Command: telnet <router ip>

AT THE END 
  • This tutorial is just for beginners who wants to setup a basic lab in their laptop.
  • Keep following the we are coming with more tutorials that help you in penetration testing.
  • You can join us on facebook. Here is the link to connect: https://www.facebook.com/hackingDNA

THIS TUTORIAL IS JUST FOR EDUCATIONAL PURPOSES ONLY/-

About Vivek Kathayat

Organic Theme is officially developed by Templatezy Team. We published High quality Blogger Templates with Awesome Design for blogspot lovers.The very first Blogger Templates Company where you will find Responsive Design Templates.

0 comments:

Post a Comment

Copyright © 2015 NetworkingDNA

Designed by Templatezy | Distributed By Gooyaabi Templates