Skip to content

Deployment of FortiGate virtual appliance on Sunlight.io

The Sunlight Enterprise Platform can act as a private cloud to run the FortiGate virtual appliances. The image of FortiGate VM is already pre-loaded on the platform. When deploying a FortiGate virtual appliance, based on the FortiGate licence to be applied on the appliance, the required flavour can be created and configured before generating the instances. The virtual private network and virtual network interfaces attached to the VM can also be configured with VLAN support.

FortiGate scenario

FortiGate setup

Source

FortiGate datasheet: https://www.fortinet.com/content/dam/fortinet/assets/data-sheets/FortiGate_VM.pdf

Deploy the FortiGate VM

  1. Create a flavour to match the capacity of the registered license. For example, the FortiGate VM00 flavour is configured according to the specification of the evaluation license. FortiGate flavour

  2. Create the virtual private networks matching the infrastructure's network environment and attach them to a physical network interface. FortiGate flavour FortiGate flavour FortiGate flavour

  3. Create the instance by choosing the FortiGate image, the pre-created FortiGate flavour and the corresponding network. FortiGate flavour

  4. The FortiGate VM is available as soon as it is sucessfully generated. FortiGate flavour

Access the FortiGate VM

Before connecting to the FortiGate VM web-based manager, the network interface in the FortiGate VM console should be configured. Once an interface with administrative access is defined, the connection to the FortiGate VM web-based Manager is available, where the FortiGate VM license file (downloaded from the Customer Service & Support website) can be uploaded.

Set FortiGate VM port1 IP address

The Sunlight controller UI includes a guest console window. On the FortiGate VM, this essentially provides access to the FortiGate console, equivalent to the console port on a hardware FortiGate unit. Before accessing the Web-based manager, the FortiGate VM port1 with an IP address and administrative access should be configured, by following the steps below:

  • On the Sunlight controller UI, start the FortiGate VM and access the console window under the “Console” tab. Select “Connect” to initiate the console window. Please make sure to press enter, in case no login screen appears.

  • At the FortiGate VM login prompt insert "admin" as the username. By default, no password is required. Press Enter in order to proceed. FortiGate flavour

  • Port1 IP address and netmask can be configured by using CLI commands. In case Fortigate VM license is pending, the HTTP access must be enabled, in order to support low-strenght encryption. Please note that in this case, HTTPS will not be available.

config system interface
    edit port1
        set ip 192.168.0.100 255.255.255.0
        append allowaccess http
end
  • The default gateway should also be configured with an IPv4 address. FortiGate VM requires internet access, in order to contact the FortiGuard Distribution Network (FDN)for the license validation process. Please enter the following CLI commands for configuring the default gateway:
config router static
    edit 1
        set device port1
        set gateway <class_ip>
end

FortiGate flavour

Connect to the FortiGate VM web-based manager

Following the configuration of the port1 IP address and netmask, launch a web browser and enter the IP address that was configured for port1.

  1. At the login page, enter "admin" as the username and leave the password field empty, since there is no default password. Please select Login for access. FortiGate flavour

  2. The FortiGate web-based manager is now available, following the successfully login process. FortiGate flavour

  3. The network interfaces of the FortiGate VM are available for review. FortiGate flavour

Add more network interfaces to FortiGate VM

The maximum number of network interfaces that can be accommodated by a FortiGate instance is 18, starting with the FortiGate versions 5.6.6 and 6.0.3.

  1. Attach a new network interface to the FortiGate VM on Sunlight UI. FortiGate flavour

  2. Select the network which the new interface is connected to. FortiGate flavour

  3. Configure the network interfaces on FortiGate web-based manager. All the interfaces attached to the FortiGate VM should be available and are presented as physical interface connected to the ports of FortiGate. FortiGate flavour The interface can be configured according to user needs, including Virtual Wire Pair and VLAN tagged interface. FortiGate flavour