Technical Tip: Unauthorized FortiAP 'FP221E' unexpectedly appearing on FortiGate's Managed FortiAPs page
| Description | This article describes an observed behavior where the FortiGate may show a new and unexpected FortiAP entry under WiFi & Switch Controller -> Managed FortiAPs that does not correspond to any FortiAPs deployed to the environment. The following symptoms have been observed on the FortiGate when this scenario occurs:
|
| Scope | FortiGate, FortiAP. |
| Solution | As a primer, the FortiGate is able to discover FortiAPs for management when they send a CAPWAP Discovery Request message towards the FortiGate. In order to accept and process this discovery packet, the FortiGate must have Security Fabric Connection enabled on the network interface that actually receives the traffic (physical interface, VLAN, aggregate, etc.). This setting has also been referred to as 'CAPWAP' and 'FortiTelemetry' in FortiOS versions before v7.x.
GUI:
CLI:
config system interface edit "port1" set allowaccess fabric next end
Observed issue: At the time of this writing, it has been observed that external hosts on the Internet are sending spoofed CAPWAP Discovery Request packets across the Internet towards public IPs associated with the FortiGate, and these spoofed packets are structured similarly to how a real FortiAP would construct these packets. If a FortiGate receives this packet on the WAN interface and that interface also has Security Fabric Connection enabled in the Administrative Access settings, then the result is that a discovery entry is created for that FortiAP on the FortiGate.
For example, under Log & Report -> System Events -> WiFi Events, unexpected 'ap-add' are seen from unknown FortiAP serial numbers.
Additionally, administrators of FortiGate HA clusters will likely find that this new FortiAP entry is only present on one of their FortiGates (typically the current HA primary unit) and that the HA cluster is reporting as out-of-sync because of this difference in the configuration.
In some cases, the GUI may show an unknown FortiAP that has not been authorized, and it cannot be removed through either the CLI or the GUI. To resolve this issue, reboot the FortiGate to clear the unknown FortiAP entries. For more information, refer to: Troubleshooting Tip: How to delete unknown FortiAP that appears in FortiGate GUI
Important notes:
Recommendation: Generally speaking, best practice is to only enable this setting on interfaces that are used to manage company-owned Fortinet devices (such as FortiAPs and FortiSwitches), such as internal AP management VLANs or FortiLink interfaces. Therefore, the recommendation is to disable Security Fabric Connection on all interfaces that are not specifically expected to manage a Fortinet extension device. Treat the Security Fabric Connection setting with the same weight as other admin access functions like HTTPS and SSH, though if it must be enabled on a WAN interface to support a business use case, then see the additional notes section further below.
Once Security Fabric Connection is disabled on the WAN-facing interfaces, it will no longer be possible for external actors to trigger the creation of these unexpected FortiAP entries. From there, simply delete these entries from the FortiGate using the GUI or the CLI (this will also resolve the HA out-of-sync issue related to this scenario):
GUI: Navigate to WiFi & Switch Controller -> Managed FortiAPs, select the entry (or right-click on the entry), and select Delete.
CLI: Navigate to config wireless-controller wtp and delete the excess entries as demonstrated below (if the entry name is different, then adjust accordingly).
FortiGate # config wireless-controller wtp FortiGate (wtp) # show config wireless-controller wtp FortiGate (wtp) # delete FP221E FortiGate (wtp) # show config wireless-controller wtp FortiGate (wtp) # end
Additional Notes: Some use cases may require the FortiGate to accept FortiAP management traffic on Internet-facing interfaces. For example, FortiAPs might be deployed to remote sites and connect back to a main FortiGate for both centralized management and encrypted access (see also Remote WLAN FortiAPs and Deploying Remote APs).
For situations like these, it may not be possible to disable Security Fabric Connection; in this case, consider the following options for tightening access to this feature:
config wireless-controller wtp
Related documents: FortiOS Best Practices: Hardening. Technical Tip: How to reject a CAPWAP discovery request coming from an unknown Access Point Technical Tip: Explaining FMG-Access on FortiGate Interface Settings |


