Share
Explore

icon picker
INSTALLING FORTINET FIREWALL ON VMWARE WORKSTATION AND HOW TO USE IT

April 4, 2023

SETUP 1: INITIAL SETUP

Send the file to your selected path. You may download the files from this
Untitled.png

Go to your VMWare Workstation 16 Pro. If you don’t have one, you may need to download it from the official website of You can use the free trial version or buy it from them.
Untitled.png
Open Virtual Network Editor..

NOTE: Please remember your third octet in your NAT (VmNet8), in my case my third octet is 108. So if yours is 72 or whatsoever then that’s default octet for you to use in the next process.
Select Add Network.
Untitled.png

Select any VMNet of your choice, but for my case I will use VMNet5.
Untitled.png

Wait for the settings to be applied.


A VMnet has been added.
Untitled.png

Set the Subnet IP to 10.2.0.0, and uncheck this setting:
Use local DHCP service to distribute IP address to VMs.
Untitled.png

Save the settings by clicking Apply.
Untitled.png


SETUP 2: INSTALLING WINDOWS SERVER 2019/2022

Go back to your VMWare and click Create a Virtual Machine.
image.png

Select Typical (recommended).
image.png

Choose I will install the operating system later.
Untitled.png

Choose Windows Server 2019 from the dropdown menu.
Or it might be better if the VM has Windows Server 2022 in the options, then select it.
Untitled.png

Name the VM of your choice.
Untitled.png

Set to 40 - 60GB (recommended), and choose Store virtual disk as a single file.
image.png

Click Customize Hardware.
image.png

Select “New CD/DVD...” and click “Use ISO image file”.
image.png
Then click “Browse”.

Select the .iso file that contains the Windows Server OS.
Untitled.png

Select Network Adapter, and select VMNet_ (Host-only).
Untitled.png

Click Finish.
image.png

Select Power on this virtual machine.
image.png

When open, click your VM screen, and press Enter multiple times.
pasted image 0.png

Click Next.
pasted image 0.png

Select the second option which has Desktop Experience.
pasted image 0.png

Accept the License Terms.
pasted image 0.png

Wait for the installation to finish.
Click Restart now.
pasted image 0.png

Add a password:
Password: C1sc0123
Untitled.png

Login your Windows Server and let’s proceed to the next setup.
pasted image 0.png


SETUP 3: IMPORTING FORTIGATE FIREWALL VM

Click Open to import VMs.
image.png

Find the folder where you download the Fortigate VM.
Select Fortigate-VM64
and click Open.
image.png

Accept the Terms of License
Click “Next”.
image.png

Type the VM name of your choice.
Untitled.png

Select the Network Adapter 2 and set the following options:
Network Adapter 1: NATNetwork Adapter 2: Custom (for my case I will use VMnet5)
pasted image 0.png

From Network Adapter 3 to 10, you need to uncheck the Connect at power on.
image.png
After unchecking all Network Adapters, click OK.
pasted image 0.png


SETUP 4: CONFIGURING FORTIGATE FIREWALL IN THE CLI

Select Power on this Virtual Machine.
image.png

Wait for the system to load.
After loading, login your Fortigate with following credentials.
FortiGate-VM65 login: admin
Password: <press Enter Key>

You are force to change your password. Please input your new password:
New Password: pass
Confirm Password: pass
pasted image 0.png

Type this command to check the license of your Fortigate:
get systemstatus
pasted image 0.png
NOTE: The license of your Fortigate should appear as “EXPIRED/INVALID”, since I was fast enough to type the command and didn’t finish loading the system, that’s why it appeared as “VALID”. You should retype the command again after loading the system for a few minutes, then the License would now appear as “INVALID”.

Press Ctrl+C to skip command/display.
pasted image 0.png

Type this command to factory reset your Fortigate:
exec factoryreset
Then type y to confirm.
Untitled.png

Wait for the system to reboot
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.