FortiGate
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.
xshkurti
Staff
Staff
Article Id 333826
Description This article describes the process of installing a FortiOS-VM in the Hyper-V platform for testing purposes with a permanent Trial License
Scope

FortiOS-VM.

Solution

To install a FortiOS-VM in a hypervisor platform a FortiCare account is required to download the FortiOS image and apply a license that will be attached to this account.


From the support portal select Support -> VM Images, select Product FortiGate, select Platform Hyper-V and download the ZIP file:

 

1.png

 

2.png

 

Extract ZIP content to a directory where Virtual Machine will be stored and check to make sure it has 3 folders that are standard to Hyper-V implementation:

  • Snapshots.
  • Virtual Hard Disks.
  • Virtual Machine.

The snapshots folder does not have any content, while 2 other folders have Virtual Hard disks and XML configuration files.
There are multiple ways to import VMs using xml files but in this document, another way is used.

 

  1. Create a new VM on the Hyper-V management console and select Virtual Machine:


3.png

 

  1. Select Next and move to the Virtual Machine Name window and store location. Select a name for this Virtual Machine and select the folder where you have stored extracted ZIP content.
  2. Specify Generation 1.
  3. Assign some memory amount and remove the 'Use Dynamic Memory' allocation so that this guest does not occupy needed RAM.

 

4.png

 

  1. To have internet access that is needed for license activation select Default Switch under the Networking section.
    This network has DHCP enabled and with proper interface configuration, FortiOS will get a DHCP IP address with access to the internet.


5.png

 

  1. Use the option to Attach a virtual hard disk later and select Finish.


6.png

 

After this step, a new Virtual Machine is created but it needs virtual hard disks to boot up.

 

  1. The most important part is the hard drive assignment. Downloaded existing Virtual Hard Disks will be used and attached to the Virtual Machine. 'Right-click' on the new VM under Settings -> IDE Controller 0, select Hard Drive, and select 'Add'.

 

7.png

 

  1. Browse for the first virtual hard drive which should be in the downloaded and extracted folder. As the system will start from the first partition, it is important to import the first fortios.vhd contacting FortiOS system, and then DATADRIVE.vhd.


8.png
Repeat the same procedure for both drives and the final result will be similar to.


9.png

 
Power up the machine by 'right-clicking' in the VM select Start and again right-click and select connect. FortiOS will do a reboot after recognizing Hard Drives and prompt for login. Use 'admin' and hit enter. Put a new password and repeat the password for confirmation.

FortiGate Section: Check the IP address assignment and port settings:


10.png

 

Test external connectivity to FortiGuard servers which are used also for licensing purposes:

11.png

 

More info can be found: Permanent trial mode for FortiGate-VM | FortiGate / FortiOS 7.4.4 | Fortinet Document Library

 

Execute 'get system status' to check licensing information.


To activate trial license support portal account and password are required.

 

exe vm-license-options account-id xxxx@domain.com
exe vm-license-options account-password xxxxxxx

exe vm-license

 

Accept the reboot requirement and recheck the licensing status:


13.png

 

14.png

 

Note:

The trial license has many limitations which include:

  • Maximum of one free evaluation copy per FortiCare account.
  • Support for low encryption operations only (except for GUI management and FortiManager communications).
  • Maximum of 1 CPU and 2 GB RAM.
  • Limits on the number of interfaces, firewall policies, and routes.
  • No FortiCare/FortiGuard support.
  • Limited number of VDOMs.

 

Related documents:

Permanent trial mode for FortiGate-VM | FortiGate / FortiOS 7.4.4 | Fortinet Document Library

FortiGate-VM evaluation license | FortiGate Private Cloud 7.4.0 | Fortinet Document Library

Deploying the FortiGate-VM | FortiGate Private Cloud 7.6.0 | Fortinet Document Library

 

Comments
rcaushi_ftnt
Staff
Staff

Very useful article