Fortigate Image For Gns3

Hello all, first i would like to thank the community for their interest in my first article about running FortiGate (FortiOS 5.6) in GNS3.

As per the many requests that i got for running FortGate with FortiOS 6 inside GNS3, this article will be about deploying FortiGate (FortiOS 6.2.3 which is currently the latest version) in GNS3. So let's get started!!

Using our image table, create correct image folder, this example is for image 1. In the table above. It is Fortinet FGT image. Per our image naming table we have to create image folder starting with fortinet-, lets do it. .Once you have GNS3 up and running, you'll need to download and import the fortigate appliance from here It will give you a link to download the FGTVM64KVM-v6 file.Ok, so now you have Fortigate running in GNS3 but you're not able to get to the web-gui only cli. – Learn Basic functions of firewalls and where to download Fortigate Image – How to download and Install Fortigate 6.4.1 on VMWare Workstation – How to Install Fortigate VM 6.4.0 on GN3 Network Emulation Software – How to Install Fortigate VM 6.2.3 on Amazon AWS EC2 – Create and understand the flow of a firewall policy – Configure. In the images directory we will need to find the exact software image or file that GNS3 was looking for. So you can just press 'ctrl + F' and type in the name 'FGTVM64GVM-v6-build0076-FORTINET' you should find a zip file with the name in it which you can download by clicking on the 'HTTPS' hyperlink once the file is downloaded you can extract it inside your downloads directory.

Requirements

---------------------------

  • Download GNS3 2.2.5 from Here
  • Download FortiGate appliance from Here
  • Download FortiGate 6.2.3 Image from Here
  • Deploy any VM that have a browser, in my case i deployed CentOS 7 with GUI on VMware and added it to GNS3.

Fortigate Download

---------------------------

Import Appliances & Images

Start a new blank project, click File > Import Appliance, then choose the FortiGate appliance file (.gns3a)

Fortigate Image For Gns3 Free Download

Choose 'Run the appliance on the GNS3 VM(recommended)' option, then choose the Qemu settings and click Next. GNS3 will verify the VM requirements to run the appliance and a list of FortiGate versions should appears.

Under FortiGate 6.2.3 on the list, click on FGT_VM64_KVM-v6-build1010....., then import, then choose the file extracted from the FortiGate Image.

Note: In order for FortiGate to operate, it needs an empty harddisk

The harddisk can be created using linux tool called 'qemu-img' using the following command:

or you can download the file from Here .

To import the harddisk into GNS click on empty30G.qcow2 under FortiGate 6.2.3 on the list, then import and choose the harddisk file.

After importing the two files, FortiGate version 6.2.3 on list will indicate the status of 'Ready to install', make sure to click on the version number before clicking on next, otherwise you might get errors.


Appliance Deployment

After the installation is done, create a simple topology like the below.

New FortiGate VMs are configured to have DHCP enabled by default. in order to check the current IP of the FortiGate, open the console, set a new password, and type the below commands:

Fortigate Image Download

For

Then check for the 'IP' and 'allowaccess' parameters.

In my case the IP is '192.168.101.129' and allow access is the protocols highlighted in green.

The final step is to open a browser and login to FortiGate.

and that's it, pretty simple!! let me know in case you have any comments or questions.

Also let me know if you are interested in having FortiManager, FortiAnalyzer, FortiMail, FortiWeb, Forti.... in GNS3 in order to create articles for them.