Fortinet black logo

Configuring the portal

Configuring the portal

  1. Configure the portal settings using the CLI. For example:

    config system global

    set hostname portal # use whatever name that you want to give the VM

    set timezone 28 # use ? to identify the correct value for your region

    end

    config system interface

    edit port1

    set ip 10.220.64.120/24

    set allowaccess ping https ssh http

    next

    end

    config system route

    edit 1

    set device "port1"

    set gateway 10.220.64.1

    next

    end

    config system sql

    set status remote

    set database-name fp_fazlite # use whatever name that you want to give the database

    set database-type mysql # REQUIRED. If you omit this step, there will be problems with generating the portal database.

    set database-port 3306 # This is the default MySQL port.

    set username fpc # use the database user name instead of fpc

    set password xyz # use the password for the database user name

    set server 10.220.64.121

    end


  2. Check the NTP settings with the show system ntp command and modify them if necessary.
  3. Reboot the VM.
  4. From the database console, check the FortiPortal version information:

    select * from ftntpmcdb.fpc_version;

  5. Log in to the portal using the user name spuser and the password test123:

    https://10.220.64.120/fpc/login

  6. Go to Admin > Settings to specify the FPC Data Store Size. For example, 1024 GB. (NOTE: The mail settings must also be configured during the first-time configuration.)
  7. Go to Admin > System Info and select Upload License.
  8. Check that the license status is valid and the number of devices allowed is correct.

Configuring the portal

  1. Configure the portal settings using the CLI. For example:

    config system global

    set hostname portal # use whatever name that you want to give the VM

    set timezone 28 # use ? to identify the correct value for your region

    end

    config system interface

    edit port1

    set ip 10.220.64.120/24

    set allowaccess ping https ssh http

    next

    end

    config system route

    edit 1

    set device "port1"

    set gateway 10.220.64.1

    next

    end

    config system sql

    set status remote

    set database-name fp_fazlite # use whatever name that you want to give the database

    set database-type mysql # REQUIRED. If you omit this step, there will be problems with generating the portal database.

    set database-port 3306 # This is the default MySQL port.

    set username fpc # use the database user name instead of fpc

    set password xyz # use the password for the database user name

    set server 10.220.64.121

    end


  2. Check the NTP settings with the show system ntp command and modify them if necessary.
  3. Reboot the VM.
  4. From the database console, check the FortiPortal version information:

    select * from ftntpmcdb.fpc_version;

  5. Log in to the portal using the user name spuser and the password test123:

    https://10.220.64.120/fpc/login

  6. Go to Admin > Settings to specify the FPC Data Store Size. For example, 1024 GB. (NOTE: The mail settings must also be configured during the first-time configuration.)
  7. Go to Admin > System Info and select Upload License.
  8. Check that the license status is valid and the number of devices allowed is correct.