EVE Image Name | Downloaded Original Filename | Version | vCPUs | vRAM | Console | HDD format | Interfaces | |
---|---|---|---|---|---|---|---|---|
1. | fortinet-FGT-v6-build1010 | FGT_VM64_KVM-v6-build1010-FORTINET.out.kvm.zip | 6.0.buildX | 1 | 1024 | telnet, http | virtioa | x4 virtio |
2. | fortinet-FMG-v6-build1183 | FMG_VM64_KVM-v6-build1183-FORTINET.out.kvm.zip | 6.0.buildX | 2 | 4096 | telnet, https | virtioa, virtiob | x1 virtio |
3. | fortinet-FAZ-v6-build1183 | FAZ_VM64_KVM-v6-build1183-FORTINET.out.kvm.zip | 6.0.buildX | 4 | 8192 | telnet, https | virtioa | x1 virtio |
Instructions |
---|
Other versions should also be supported following bellow's procedure. Naming of image folder and image name please follow naming table: 1.1. 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. 1.2. Upload the downloaded image to the EVE /opt/unetlab/addons/qemu/fortinet-FGT-v6-build1010/ folder using for example FileZilla or WinSCP. 1.3. From the EVE cli, go to newly created image folder. 1.5. Rename original filename to virtioa.qcow2 and remove original zip file 2. Obtain FortiManager KVM image and prepare for EVE. 2.1. Using our image table, create correct image folder, this example is for image 1. in the table above. It is Fortinet Manager(FMG) image. Per our image naming table we have to create image folder starting with fortinet-, lets do it. 2.2. Upload the downloaded image to the EVE /opt/unetlab/addons/qemu/fortinet-FMG-v6-build1183/ folder using for example FileZilla or WinSCP. 2.3. From the EVE cli, go to newly created image folder. 2.5. Rename original filename to virtioa.qcow2 and remove original zip file 3. Obtain FortiAnalyzer KVM image and prepare for EVE. 3.1. Using our image table, create correct image folder, this example is for image 1. in the table above. It is Fortinet Manager(FMG) image. Per our image naming table we have to create image folder starting with fortinet-, lets do it. 3.2. Upload the downloaded image to the EVE /opt/unetlab/addons/qemu/fortinet-FAZ-v6-build1183/ folder using for example FileZilla or WinSCP. 3.3. From the EVE cli, go to newly created image folder. 3.5. Rename original filename to virtioa.qcow2 and remove original zip file 3.6. Create second HDD 100Gb drive virtiob.qcow2 |
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.
- GNS3 currently suffers from some bugs (#2239, #2314) which may crash the GNS3 server when adding a large virtual disk image to it. The workaround is to manually create a snapshot file like this qemu-img create -f qcow2 -o backingfile=original-file.qcow2 snapshot-file.qcow2.
- .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.
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!!
Requirements
---------------------------
After the trial license expires, functionality is disabled until you upload a license file. Steps There are only few steps and the process is straightforward: Download and save the fortigate VM image.Import appliance into GNS3.Run a project and use the appliance! Step 1) Download the Fortigate VM Image Go on the Fortinet support page and login.
- 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.
---------------------------
Import Appliances & Images
Start a new blank project, click File > Import Appliance, then choose the FortiGate appliance file (.gns3a)
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
Start a new blank project, click File > Import Appliance, then choose the FortiGate appliance file (.gns3a)
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.
Gns3 Sonicwall
Appliance Deployment
Fortigate Download
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:
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.
Fortigate Image Download
The final step is to open a browser and login to FortiGate.
Fortigate Image For Gns3
and that's it, pretty simple!! let me know in case you have any comments or questions.
Gns3 Aruba Images
Also let me know if you are interested in having FortiManager, FortiAnalyzer, FortiMail, FortiWeb, Forti.... in GNS3 in order to create articles for them.