Troubleshooting Tip: Troubleshoot Security Fabric Instability between FortiGate and FortiNAC
| Description | This article describes how to troubleshoot the Security Fabric integration between FortiNAC and FortiGate. |
| Scope | FortiGate, FortiNAC-F. |
| Solution | The Security Fabric integration with FortiNAC is used for intent-based segmentation. FortiGate uses Dynamic firewall address objects in its Firewall policies to control access. FortiNAC uses REST API to dynamically update these objects through logon/logoff event triggers each time it detects host posture changes: Security Fabric Configuration with FortiNAC
The first step, to identify if there are any Security Fabric issues, is the 'System Events' log section in FortiGate GUI. Go to Log & Report -> System Events -> Logs and in the 'Log Description' filter, enter the following log events:
Figure 1. Detect Fabric Instabilites through FortiGate System event logs.
This will help in defining if there is a pattern in the occurrence of the device joining/leaving the fabric integration. To investigate further, enable the following debugs:
FortiGate debugs:
diagnose debug reset
FortiNAC debugs:
logs nacdebug -name BridgeManager true
diagnose debug plugin enable BridgeManager diagnose tail -F output.master
Filtered FortiGate CLI output will show the following events:
2024-10-28 17:37:28 <XXXX-U> 02 __ssl_recv()-538: illegal packet received from <FORTINAC_IP_ADDRESS>:33272 received:4111 len:4334
FortiNAC will send SSO information for the IP range objects specified in the 'SSO Addresses' and 'VPN addresses' in the FortiGate model configuration. If all objects are selected, FortiGate will report sizing issues when it receives the information from FortiNAC. See this document Addresses
It is recommended to apply only the subnets or IP ranges where control through dynamic address objects is planned. If all subnets are selected, FortiGate will receive unnecessary information and update objects that will never be used in Firewall policies. Additionally, this will case Fabric instability issues as in the above example.
This is a known issue (ID 1140987), which has been resolved in FortiNAC v7.4.2 and v7.6.3.
Related documents: Fortinet Security Fabric/FSSO Integration Allow FortiNAC to join the Security Fabric Technical Tip: Configure Security Fabric with FortiNAC & FortiGate |

