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
- 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.
- Select the device to be imported and click Connect.
- Click One-Click Install to start importing.
- View the installation logs and wait for the importing to be completed.
- To interrupt the installation, click Stop Importing to stop the installation.
- If an object failed to be imported because it contains invalid values, then it can be edited by clicking the icon Edit.
- 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.
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.
After editing the object, it can be imported again by clicking the icon Import.
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.
- Select objects to be imported into the FortiGate.
- 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.