How to Install GNS3 on Kali Linux 2020.1

GNS3 is the most preferred network simulator program to prepare for the Cisco exams. Kali Linux is a Debian-based Linux system developed by Defensive Security.

How to Install GNS3 on Kali Linux

How to Install GNS3 2.2.5 on Kali Linux 2020.1

Kali Linux is also known as BackTrack. Those who prefer Kali Linux are usually interested in network vulnerabilities. It is a widely preferred Linux distribution because there are many free network-related tools on the system.

In our previous articles, we installed GNS3 on Linux-based operating systems;

In this article, we will install GNS3 on the latest version of Kali 2020.1. And finally, we will test the functionality of the program by adding a Cisco Router IOS image to GNS3.

How to Setup and Configure GNS3

The latest version of GNS3 for Linux is 2.2.5. To install the latest version of GNS3, you need to add Ubuntu repository addresses to /etc/apt/sources.list.

Follow the steps below to install and use GNS3 step by step.

Also, if you have not done Kali installation before, you can check out our article here.

   Step 1

Before starting the installation, open Terminal, and execute the command below to edit sources.list.

sudo nano /etc/apt/sources.list

sudo nano /etc/apt/sources.list

   Step 2

Copy and paste the following addresses into the Kali Linux source list.

deb bionic main
deb-src bionic main

deb jessie main
deb stretch main
deb unstable main

deb stretch contrib
deb stretch non-free

After adding the above addresses to Sources.list, press Ctrl + X / Y / Enter to save the file.

NOTE: If you have problems installing, you should add Ubuntu Cosmic ve Eoan mainline in addition to the list above.

deb eoan main
deb cosmic main
deb-src cosmic main

Editing Kali Linux sourcelist

   Step 3

To install dirmngr to run GNS3, execute sudo apt-get install dirmngr at the Terminal.

sudo apt-get install dirmngr

sudo apt-get install dirmngr

   Step 4

For GNS3 security, add Ubuntu Global Public Key by executing the command below.

sudo apt-key adv --keyserver --recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B

sudo apt-key adv --keyserver --recv-keys F88F6D313016330404F710FC9A2FD067A2E3EF7B

   Step 5

To update the Kali package list, execute the apt-get update command on the Terminal.

apt-get update

apt-get update

   Step 6

Finally, execute sudo apt-get install gns3-gui to start the installation.

sudo apt-get install gns3-gui

sudo apt-get install gns3-gui

   Step 7

Press Y to confirm the installation of the dependent packages for GNS3, then press Enter.

Confirming Installation of Dependent Packages

   Step 8

To prevent non-superusers from running GNS3, press Enter on the No option.

uBridge Configuration

   Step 9

After completing the installation process, open the start menu and type gns3 and then find and run the program.

Starting GNS3

How to Add Cisco Router to GNS3

After installing the simulator software, you must add a Cisco Router IOS image to test the program. Follow the steps below to run the Router on Kali.

   Step 1

In the Setup Wizard window, select Run the topologies on my computer and click Next.

GNS3 Setup Wizard

   Step 2

After configuring Host Binding: and Port: 3080 TCP in the GNS3 Local Server Configuration window, click Next.

Local Server Configuration

   Step 3

After connecting to Local Server, click Next button.

Local Server Status

   Step 4

After checking the information in the Summary window, click Finish.

Summary Window

   Step 5

In the New appliance template window, select Add an iOS router using a real IOS image (supported by Dynamips) option and click OK.

New Appliance Template

   Step 6

Click the Browse button to add the Cisco Router IOS image and click the Next button after adding the IOS image.

IOS Image

   Step 7

You can change the model of the Cisco Router you added in the Name and Platform window. Click Next to continue.

Name and Platform

   Step 8

Specify the RAM value for the Cisco Router according to your computer’s specifications and click Next.

Assing RAM to Cisco Router

   Step 9

In the Network Adapters window, you can add interfaces to the Cisco Router. Add the C7200-IO-FE card to the Cisco Router and click Next.

Network Adapters

   Step 10

Click the Idle-PC finder button to set the Idle-PC value for the Cisco Router to run on Kali, and then click Finish.

Idle-PC Value

   Step 11

Check that the Cisco Router you added on Kali Linux is working.

Router CLI Terminal Screen


You can watch the video below to install GNS3 on your Linux system and also subscribe to our YouTube channel to support us!

   Final Word

In this article, we have installed GNS3 on the Linux system. And finally, we have examined how to use Cisco Router in Kali. Thanks for following us!

   Related Articles

How to Install GNS3 on macOS Mojave
♦ How to Add Layer 2 Switch to GNS3
♦ How to Add Layer 3 Switch to GNS3
♦ How to Use VPCS in GNS3
♦ How to Configure Cisco Switch in GNS3


  1. Avatar for shellking shellking 29 January 2020

    thank you for this

    • Avatar for Tolga Bagci Tolga Bagci 11 February 2020

      You’re welcome!

  2. Avatar for Jamie Jamie 22 February 2020

    Hi, Ive got loads of “Certificate verification failed” messages, i have already set them manually to trusted but still fails to update with apt-get update.

  3. Avatar for Paul Paul 21 April 2020

    hi Jamie,
    You must remove the “s” from all https in the repository /etc/apt/source.list


Add a Comment

Your email address will not be published. Required fields are marked *

You cannot copy content of this page