FortiNAC is a s a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
Article Id 201807
Description This article describes how to configure Automation Stitches to Quarantine illegitimate devices
Scope FortiNAC v8.7.x-8.8.0, FortiOS v6.4.0 and above


  • FortiNAC appliances to be installed with licenses that include additional certificates. This type of license was introduced on January 1st 2020.
  • FortiNAC version 8.7.x - 8.8.0: FortiGate devices must be running FortiOS 6.4.0 or higher.
  • FortiNAC version 8.8.1 and higher: FortiGate devices must be running FortiOS 6.4.2 or higher.

Add FortiNAC to the Security Fabric:

  1. In the FortNAC Administration UI, navigate to Network > Service Connectors.
  2. Click Create New.
  3. Click Security Fabric Connection.
  4. Enter the following values and save: IP: Root FortiGate IP address Port: 8013
    Refer to the FortiOS Administration Guide to complete configuration:
  5. Authorize FortiNAC on the root FortiGate.
  6. Verify connection status.
  7. Login to FortiNAC Administration UI from the FortiGate.

To authorize the FortiNAC on the root FortiGate in the GUI:

  1. Go to Security Fabric > Fabric Connectors.
  2. The FortiNAC device will be highlighted in the topology list in the right panel with the status Waiting for Authorization.
  3. Click on the highlighted FortiNAC and select Authorize.

Configure the Fortigate till step 4 and the FortiNAC is added to the security Fabric:

Test the Fortigate rest API if it is working as expected open a new browser tab and enter the below link, it should show the below result successful result:







      "name":"FNACHost",    ß--------my stitch name









          "action":"FNAC Compromised Host_quarantine-fortinac",







          "action":"FNAC Compromised Host_email",



















Make sure the switch is a member of the Physical Address Filtering group under System > Groups.


The switch must belong to the Physical Address Filtering group. It doesn't need to be part of the U/H Profile policy.
Important: If the switch is not part of the Physical Address Filtering group FNAC ignore disabled host/adapters.

On a Linux PC accessible by the FortiGate, create a curl request to trigger the automation stitch:

hawada@Kali:~# curl -k -X POST -H 'Authorization: Bearer <fgt-api-token>' --data '{ "srcip": "<ip-address-of-the-pc-you-need-to-disable>", "mac":"<mac-address-of-the-pc-you-need-to-disable>" }'



In FortiNAC, the Host View shows the status of the client PC. It is quarantined and its MAC address is disabled.


  The switch port will remain UP, but the devices will be moved to Deadend VLAN, so make sure the “Deadend” VLAN is configured in the switch Model Configuration.