Install and Config Cisco ASA on GNS3

Hello, today we will install GNS3 with you and then we will install CISCO ASA on it. I will also explain how we can connect to Cisco ASA with ASDM.

Let’s start.

First we go to google.com, then here we can download GNS3 for the Windows version from this link.

I downloaded the app beforehand so that the video would be shorter.

click on download GNS3 VM at the bottom.

Then click on download for the Microsoft Hyper-V version.

Yes, after downloading these files, we need to activate HYPER-V on our computer.

When we write HYPER-V, we will be able to activate it from the Add Windows Features section.

Select HYPER-V from below and make sure two are selected under It.

I say ok

I restart my computer.

Yes, friends, our computer has restarted.

Now I open HYPER-V, yes HYPER-V is installed on our computer, but no virtual machine is available at the moment.

There is one GNS3 HYPER-V file from the files I just downloaded. I’m extracting it to the folder.

Yes, now when we go into the folder, there is the install-VM.bat file, I open it with cmd.

But be careful, we need to open cmd as Admin.

I go to the folder where the file is located

I’m running install-VM.bat here now.

At this stage, I have to wait a bit because it imports the virtual machine to our Hyper-V environment.

Yes, friends, the GNS3 machine on our virtual environment has been prepared.

Now we run this machine from hyperv environment

Our machine is ready, by default the machine receives IP from DHCP. But I will define its IP as statistic.

At first I check them to see what IP and Gateway got.

I press the shell. Now here we can see what our ip is with the ip address command.

as you can see the IP of our eth0 interface is 172.22.162.81

Now we see the default gateway with the netstat -rn command.

As you can see, the default gateway got 172.22.160.1 from DHCP.

Now, after saying exit 2 times, we can switch to GNS3’s self-created interface.

From here, we will first create a user password from the Security section.

Then we need to change the IP address from the network section.

After removing the #s, we must write our IP information.

We save the file with Ctrl+x, then press Y and press enter.

After pressing enter, the machine will restart and our new settings will be applied.

I’m pinging the machine’s IP by the way.

172.22.162.81 Yes, as you can see, we have Ping access.

We can also go to the web interface

Username GNS3 password GNS3 enter.

Here we can see the status of the system.

Now I will also install GNS3 application for convenience.

I just choose GNS3

Yes, GNS3 installation is finished, now I open the application.

cancel the first screen, I will customize the performance section from the edit option.

I’m removing the Enable local server tick from the server section. Because I will use a GNS VM and connect the application to it.

I choose HTTP, write the IP of the virtual machine, enter the port as 80, enter the username and password.

I close the app and open it again.

now I’m going to the web interface to create a project for testing purposes, let’s see if it comes here.

I create blank project , you can see our application is now connected to our virtual environment.

Here we can see the projects we created there.

we will now import the CISCO ASA Firewall.

You will be able to download the firmware file of CISCO ASA from the link in the description.

as you can see version is 9

I click on New template, Next,

I choose update from online registry and wait for the database to be updated.

Ok, now I type ASA in the search section and CISCO ASAV appears.

install

next

I choose Usr/bin from here, as you can see,

 Next

Yes, as you can see, I choose the following, then we will import the file we downloaded from SinaOnline here.

Now I am creating a new project

The project I just opened had the same name, so it gave an error.

I add CISCO ASAv from Devices section

Now I’m adding a Cloud here to connect ASA to my own computer.

I’m dragging

Now I connect the management interface of the firewall to the cloud.

I right click on the firewall and say configure. We need to choose console type as telnet.

If we do not choose telnet, we will have problems when we turn on the machine.

After waiting for a while, we click on the machine.

It is normal for the machine to reboot twice.

Of course, it will ask us for a password and I write the password.

Yes, first we went to enable mode, now we set the management interface IP to get it from DHCP.

If you want, you can give the ip yourself, but since we have DHCP on our cloud, I set it that way.

config t,

interface management 0/0

ip address dhcp ,

no shut

nameif

end

now let’s see what is the IP of our machine

Show interface ip brief

Yes, as you can see, our machine has taken a ip.

You need to follow the steps in the video to connect to our firewall from the web interface and download ASDM.

I enter the ASA interface management ip address , click the Install ASDM launcher and install the ASDM application.

I enter the enable password I created at the beginning

Okey

Next

install

finish

We will find the path of the Cisco ASDM application

We right click on the application shortcut and delete it completely from the Target section. Instead, we write this path, there should be a space between invasible

apply

ok now i am running the app

I am typing the IP address of our firewall

Yes, we are connected to our firewall with ASDM

Now you can configure and managing your firewall by using ASDM

If you want more of these videos, you can support our channel by subscribing. I hope this video was useful for you. Don’t forget to like and comment on the video.

Thanks for watching.