FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Article Id 242132

This article describes how to add a FortiGate VM into the GNS3.

Scope  6.0, 6.2, 6.4 ,7.0, 7.2 

1) To Download any Fortinet firmware, create an account with Fortinet.


2) Go to Support -> VM images, select the platform in the drop-down menu, select KVM and down the firmware image to work on.




3) Now go to GNS3 marketplace page and select appliances:

Choose FortiGate and download the file with the extension qcow2.




4) Once the firmware and the qcow2 file are obtained, open the GNS3 console and wait for it to connect to the GNS3 VM.




5) Now, all is set to add the FortiGate into the GNS3 workstation.

Proceed with the following steps to add the FortiGate:


- Select 'Browse all appliances' and select new template.

- select 'Install an appliance' from the GNS3 server and select 'Next':




- Expand the firewall under appliance name, select FortiGate, and press install. The various version from GNS3 directories will be then visible.

If the FortiOS version is not listed, it is possible to create a new version.


In this Example version 7.2 is not listed, a new version will be created and the FortiOS image downloaded will be imported.






- As soon as the image is installed on the server,r it will be possible to view it under all devices.




- Now, all is set to create a basic topology and connect the FortiGate VM from the local system.

For that, it is necessary to drag the FortiGate into a new project.

In GNS3 go to File ->New Blank Project and create a basic topology as shown below and start the machine




- Connect to the FortiGate console and assign the IP to the connected interface.

In this topology, the VM Nat-ed IP is in 192.168.82.x/24 subnet.

IP will be assigned to port1 from the above subnet range i.e.,




- Once the IP address has been assigned, it is now possible to access the FortiGate GUI from the local browser window.

The IP to access the GUI will be the port1 IP.