Installing the ASDM in GNS3 environment is little bit challenging. The reason is ASDM application cannot be installed just like normal software. Firstly asdm-xxx.bin should be uploaded to ASA Firewall and then continue installation process by downloading special msi file which is given by
ASA Firewall. This tutorial guide you how to install ASDM in GNS3 . You can find a way of configuring Cisco AnyConnect VPN from here.
ASA and TFTP Server ip addresses
ASA interface ip :- 192.168.20.20 255.255.255.0
Loopback interface / TFTP server ip :- 192.168.20.10 255.255.255.0
1) Add ASA, Switch and Cloud as below
Refer this article for how to configure ASA on GNS3
2) Connect Cloud to MS loopback interface
Refer this for how to configure MS loopback interface for GNS3
Microsoft loopback interface ip :- 192.168.20.10 /24
3) Install TFTP server
Download and install preferred TFTP server such as solarwinds, 3CDaemon
this tutorial use 3CDeamon
3CDaemon Download :- http://www.firewall.cx/downloads/16-1-3cdaemon-server-a-client.html?path=
4) Check 3cdaemon listening to loopback ip
just open the 3cdaemon you will see similar output if it working correctly.
5) Upload ASDM bin file to TFTP server
i) Click on “Configure TFTP Server”
ii) On the Configuration windows either copy ASDM-bin file to Upload/Download directory or set the path where ASDM bin file located.
6) Upload ASDM to GNS3 ASA
i) inside config mode execute following command
assuming TFTP server ip as 192.168.20.10
ciscoasa#configure terminal
ciscoasa(config)#copy tftp disk
and follow the process, you need to provide TFTP server ip address, ASDM bin file name etc..
7) Activate ASDM bin file and web access to ASA
i) Configure ASA interface.
1 2 3 4 5 |
ciscoasa(config)#interface GigabitEthernet0 ciscoasa(config-if)#nameif outside ciscoasa(config-if)#security-level 0 ciscoasa(config-if)#ip address 192.168.20.20 255.255.255.0 ciscoasa(config-if)#no shutdown |
ii) Activate ASDM image
1 |
ciscoasa(config)#asdm image disk0:/asdm-647.bin |
iii) Configure login credentials and https access
1 2 3 |
ciscoasa(config)#username cisco password cisco privilege 15 ciscoasa(config)#http server enable ciscoasa(config)#http 192.168.20.0 255.255.255.0 outside |
iv) Reload the ASA
1 2 |
ciscoasa#wr ciscoasa#reload |
8) Install ASDM windows
i) log into ASA over web browser
https://192.168.20.20
ii) Install ASDM by downloading msi installer
9) Launch the ASDM
provide ASA interface ip and login credentials to login to ASA
1 comment
Jorge
August 30, 2016 at 8:20 am (UTC 5.5) Link to this comment
I’m having an issue with my configuration, I’m using GNS3 1.4.3, ASA 842 as well, and asdm-711. I need some help, it worked well a few days… renew my pc installation and now when i try to use ASA o get this…
ciscoasa(config)# show asdm image
Device Manager image file, disk0:/asdm-716.bin
ciscoasa(config)# asd
ciscoasa(config)# asdm image disk0:/asdm-716.bin
Device Manager image set, but unable to find disk0:/asdm-716.bin
ciscoasa(config)# asdm image flash:/asdm-716.bin
Device Manager image set, but unable to find flash:/asdm-716.bin
————————————————————————————————————
ciscoasa# show flash:
–#– –length– —–date/time—— path
5 16384 Aug 30 2016 02:02:12 log
14 16384 Aug 30 2016 02:02:14 coredumpinfo
15 59 Aug 30 2016 02:02:14 coredumpinfo/coredump.cfg
82 196 Aug 30 2016 02:02:14 upgrade_startup_errors_201608300202.log
79 0 Aug 30 2016 02:05:16 nat_ident_migrate
83 2154 Aug 30 2016 02:29:38 Jorge
86 2271 Aug 30 2016 02:40:08 running-config
1073430528 bytes total (1072529408 bytes free)
——————————————————————————-
ciscoasa# copy running-config flash:
Source filename [running-config]?
Destination filename [running-config]?
Cryptochecksum: 9716566a db6c64d8 0d0ea90a 649aa2d7
2271 bytes copied in 0.370 secs
ciscoasa# show im
—————————————————————-
the same happens with others asdm versions… please I need some help I running out of time to learn firewall and VPN, basically I need my ASA.
My email: jorgediogo@gmail.com