Fortinet black logo

Administration Guide

Zero touch provisioning with FortiDeploy

Zero touch provisioning with FortiDeploy

You can use this feature only when the FortiGate boots up from factory reset.

Topology

FortiGate zero touch provisioning workflow

  1. Add the FortiGate Cloud product key to the FortiGate Cloud portal so that the FortiGate serial number appears in the portal.

  2. Set up a configuration template with the basic configuration in the FortiGate Cloud portal.
  3. Deploy the FortiGate to FortiGate Cloud with that template.

  4. Ensure the FortiGate has an interface in default DHCP client mode and is connected to the ISP outlet.
  5. Boot the FortiGate in factory reset. The FortiGate gets the DHCP lease so that it can access FortiGate Cloud in the Internet and join FortiGate Cloud.

    The FortiGate Cloud server checks that the FortiGate key is valid and then deploys the FortiGate to FortiGate Cloud.

    To prevent spoofing, FortiGate Cloud invalidates that key after a successful join.

  6. Complete zero touch provisioning by obtaining configuration from platform template in the Cloud.
    0:     set admintimeout 50
    0: end
    0: config system interface
    0:     edit "wan1"
    0:         set allowaccess ping ssh fgfm
    0:     next
    0:     edit "port1"
    0:         set allowaccess ping
    0:         set ip 1.1.1.1 255.255.255.0
    0:     next
    0:     edit "port2"
    0:         set allowaccess ping
    0:         set ip 2.2.2.2 255.255.255.0
    0:     next
    0: end
  7. The FortiGate Cloud admin can change the template for different configuration requirements and then deploy the updated template to the FortiGate.

    For example, you can add a secondary DNS to the template and deploy it to FortiGate.

Zero touch provisioning with FortiDeploy

You can use this feature only when the FortiGate boots up from factory reset.

Topology

FortiGate zero touch provisioning workflow

  1. Add the FortiGate Cloud product key to the FortiGate Cloud portal so that the FortiGate serial number appears in the portal.

  2. Set up a configuration template with the basic configuration in the FortiGate Cloud portal.
  3. Deploy the FortiGate to FortiGate Cloud with that template.

  4. Ensure the FortiGate has an interface in default DHCP client mode and is connected to the ISP outlet.
  5. Boot the FortiGate in factory reset. The FortiGate gets the DHCP lease so that it can access FortiGate Cloud in the Internet and join FortiGate Cloud.

    The FortiGate Cloud server checks that the FortiGate key is valid and then deploys the FortiGate to FortiGate Cloud.

    To prevent spoofing, FortiGate Cloud invalidates that key after a successful join.

  6. Complete zero touch provisioning by obtaining configuration from platform template in the Cloud.
    0:     set admintimeout 50
    0: end
    0: config system interface
    0:     edit "wan1"
    0:         set allowaccess ping ssh fgfm
    0:     next
    0:     edit "port1"
    0:         set allowaccess ping
    0:         set ip 1.1.1.1 255.255.255.0
    0:     next
    0:     edit "port2"
    0:         set allowaccess ping
    0:         set ip 2.2.2.2 255.255.255.0
    0:     next
    0: end
  7. The FortiGate Cloud admin can change the template for different configuration requirements and then deploy the updated template to the FortiGate.

    For example, you can add a secondary DNS to the template and deploy it to FortiGate.