Fortinet white logo
Fortinet white logo

OCI Administration Guide

Accessing the FortiGate-VM

Accessing the FortiGate-VM

To access the FortiGate-VM:
  1. In the FortiGate-VM instance, find the public IP address. Your IP address will differ from the example.

  2. In a browser, go to https://<public_IP_address>. The default username is “admin” for new installations. For upgrades, the existing opc user is kept. The default password is the OCID. You can find the OCID as shown:

  3. Once logged in, FortiOS prompts for a license file. You can obtain licenses through any Fortinet partner. If you do not have a partner, contact Fortinet for assistance in purchasing a license. After you purchase a license or obtain an evaluation license (60-day term), you receive a PDF with an activation code. Go to Customer Service & Support and create a new account or log in with an existing account.
    Note

    If you added a license by following the instructions in (Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup, the system displays the dashboard instead of a license upload window, since the license is already activated.

  4. Go to Asset > Register Now to start the registration process. In the Registration Code field, enter your license activation code and select Next to continue registering the product. Enter your details in the other fields.

  5. At the end of the registration process, download the license (.lic) file to your computer. You upload this license to activate the FortiGate.
  6. After registering a license, Fortinet servers may take 30-45 minutes to fully recognize the new license. When you upload the license (.lic) file to activate the FortiGate, if you get an error that the license is invalid, wait 30 minutes and try again. You should now be able to see the FortiGate GUI console.

  7. If you followed the instructions in (Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup, check if the command succeeded. Open the CLI console and enter diag debug cloudinit show. If the cloud-init succeeded, the CLI shows Finish running script with no errors.
  8. Check the timezone by running config system global and get commands.

    The timezone changed to Alaska as expected, meaning that the bootstrapping CLI command succeeded.

Accessing the FortiGate-VM

Accessing the FortiGate-VM

To access the FortiGate-VM:
  1. In the FortiGate-VM instance, find the public IP address. Your IP address will differ from the example.

  2. In a browser, go to https://<public_IP_address>. The default username is “admin” for new installations. For upgrades, the existing opc user is kept. The default password is the OCID. You can find the OCID as shown:

  3. Once logged in, FortiOS prompts for a license file. You can obtain licenses through any Fortinet partner. If you do not have a partner, contact Fortinet for assistance in purchasing a license. After you purchase a license or obtain an evaluation license (60-day term), you receive a PDF with an activation code. Go to Customer Service & Support and create a new account or log in with an existing account.
    Note

    If you added a license by following the instructions in (Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup, the system displays the dashboard instead of a license upload window, since the license is already activated.

  4. Go to Asset > Register Now to start the registration process. In the Registration Code field, enter your license activation code and select Next to continue registering the product. Enter your details in the other fields.

  5. At the end of the registration process, download the license (.lic) file to your computer. You upload this license to activate the FortiGate.
  6. After registering a license, Fortinet servers may take 30-45 minutes to fully recognize the new license. When you upload the license (.lic) file to activate the FortiGate, if you get an error that the license is invalid, wait 30 minutes and try again. You should now be able to see the FortiGate GUI console.

  7. If you followed the instructions in (Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup, check if the command succeeded. Open the CLI console and enter diag debug cloudinit show. If the cloud-init succeeded, the CLI shows Finish running script with no errors.
  8. Check the timezone by running config system global and get commands.

    The timezone changed to Alaska as expected, meaning that the bootstrapping CLI command succeeded.