Beruflich Dokumente
Kultur Dokumente
Hello, in this detailed guide i will show you how to add Fortigate to GNS3, how to do basic
network configuration for the machines, and how to access FortiGate through CLI
(Command-Line) and web.
Requirements
------------------------------------------------------
------------------------------------------------------
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 1/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
Start a new blank project, click File > Import Appliance, then choose the Free Upgrade
to Premium
1 FortiGate
1 appliance file (.gns3a)
Click Next, then choose "Run the appliance on the GNS3 VM(recommended)" option, after
GNS3 verify the VM requirements to run the appliance, click Next.
Click on Refresh, a list of all the required FortiGate files will appear like the following
In your case all the files will be missing. For this guide i will be using FortiGate 5.6.1.
The harddisk can be created using linux tool called 'qemu-img' using the following
command:
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 2/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
To import the harddisk into GNS click on empty30G.qcow2 under FortiGate 5.6.1 on the
list, then import and choose the harddisk file.
After adding the two files they will be ready to install, click on Next, then choose
/usr/bin/qemu-system-x86_64 (v2.5.0) for Qemu binary, then click Next, Next, Finish.
To import Tiny Linux Firefox, Click File >>> Import Appliance >>> Choose the Tiny Linux
Firefox Appliance file >>> Click Next >>> Under Firefox 31.1.1~2 click on linux-tinycore-
linux-6.4...... then import >>> choose the Tiny Linux Firefox image file >>> Click Next
>>> choose /usr/bin/qemu-system-i386 (v2.5.0) for Qemu binary >>> Click Next, Next,
Finish.
FortiGate Configuration
Right-Click on FortiGate, then click on Console to access the CLI. The username is 'admin'
and blank password.
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 3/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
1 1 Free Upgrade
config system interface to Premium
edit port1
set ip your-private-ip/your-subnet-mask
set allowaccess ping http https ssh
end
open a terminal and run 'ifconfig' to check for network interfaces. in my case i will configure
interface 'eth0'. Run the following commands to set an IP.
sudo -s
ifconfig eth0 your-private-ip netmask your-subnet-mask
route add default gw your-default-gateway-ip
route -n (To verfiy the configuration)
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 4/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
1 1 Free Upgrade
to Premium
To open Fortigate through web, click on Firefox and type your default gateway IP in the
URL bar. Enter username 'admin' and empty password
Finally, the portal will open and you should see the following
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 5/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
1 1 Free Upgrade
to Premium
I hope that this will help you in configuring FortiGate inside GNS3.
Report this
48 Likes
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 6/7
11/7/2018 (2) Run FortiGate Inside Your Computer Using GNS3 | LinkedIn
1 1 Free Upgrade
+38
to Premium
19 Comments
Add a comment
Issa Itani
Information Security Consultant, CISSP
Follow
Select Language
t Questions?
Visit our Help Center. English (English)
munity Guidelines
y & Terms
Manage your account and privacy.
feedback Go to your Settings.
https://www.linkedin.com/pulse/fortigate-inside-gns3-cli-web-access-issa-itani/ 7/7