Fortinet black logo

online help

Import config to FortiGate via RESTful APIs

Import config to FortiGate via RESTful APIs

FortiConverter can use REST API provided by FortiOS to import the converted objects from 3rd party vendors into your FortiGate.

Start Installation

  1. In the tuning page of the conversion, click Install Config at the top-right corner. This button would exist only when there is at least one connectable device saved in FortiConverter.
  2. Select the device to be imported and click Connect.
  3. Click One-Click Install to start importing.
  4. Multiple VDOM: If there are multiple VDOMs in the converted configuration, users can select the VDOM to be imported. When selecting to import "All VDOMs", all VDOMs would be created in the connected device, and all objects would be imported.

    Single VDOM: When users select a single VDOM, an option "Import To Root" would show up. When this option is enabled, the objects in the VDOM would be imported to the root VDOM of the connected device. Otherwise, the VDOM would be created.

    Root VDOM: If the converted result has only the root VDOM, the options above would not show up.

    Special Case: In Snort conversion, FortiConverter would detect the VDOM in the connected device automatically, and users can select the IPS custom rules are imported to which VDOM.

  5. View the installation logs and wait for the importing to be completed.
  6. To interrupt the installation, click Stop Importing to stop the installation.
  7. Download Logs can be clicked to download the log file of importing. The CLI of failed objects would be printed in the file, and user can copy and paste the CLI into the terminal of the device to see what error occurs.

View Import Result

When the REST API import is finished, the statistic of imported objects would be shown in the table of conversion summary page.

By clicking the number in the Import Failed column, the failed objects would be listed in a table. In the table of each kind of object, the import result would be shown in the right column.

Import Individual objects

Users can also import objects individually in the object pages.

  1. Select objects to be imported into the FortiGate.
  2. Right click and select REST API Import.

It should be reminded that the prerequisite objects should be imported at first.

For example, before importing an address group, all the address objects inside the address group should be imported.

Import config to FortiGate via RESTful APIs

FortiConverter can use REST API provided by FortiOS to import the converted objects from 3rd party vendors into your FortiGate.

Start Installation

  1. In the tuning page of the conversion, click Install Config at the top-right corner. This button would exist only when there is at least one connectable device saved in FortiConverter.
  2. Select the device to be imported and click Connect.
  3. Click One-Click Install to start importing.
  4. Multiple VDOM: If there are multiple VDOMs in the converted configuration, users can select the VDOM to be imported. When selecting to import "All VDOMs", all VDOMs would be created in the connected device, and all objects would be imported.

    Single VDOM: When users select a single VDOM, an option "Import To Root" would show up. When this option is enabled, the objects in the VDOM would be imported to the root VDOM of the connected device. Otherwise, the VDOM would be created.

    Root VDOM: If the converted result has only the root VDOM, the options above would not show up.

    Special Case: In Snort conversion, FortiConverter would detect the VDOM in the connected device automatically, and users can select the IPS custom rules are imported to which VDOM.

  5. View the installation logs and wait for the importing to be completed.
  6. To interrupt the installation, click Stop Importing to stop the installation.
  7. Download Logs can be clicked to download the log file of importing. The CLI of failed objects would be printed in the file, and user can copy and paste the CLI into the terminal of the device to see what error occurs.

View Import Result

When the REST API import is finished, the statistic of imported objects would be shown in the table of conversion summary page.

By clicking the number in the Import Failed column, the failed objects would be listed in a table. In the table of each kind of object, the import result would be shown in the right column.

Import Individual objects

Users can also import objects individually in the object pages.

  1. Select objects to be imported into the FortiGate.
  2. Right click and select REST API Import.

It should be reminded that the prerequisite objects should be imported at first.

For example, before importing an address group, all the address objects inside the address group should be imported.