Skip to main content
WinterSnowYap
Staff
Staff
January 2, 2025

Technical Tip: How to block illegitimate devices on FortiAnalyzer

  • January 2, 2025
  • 0 replies
  • 733 views
Description This article describes how to block illegitimate devices that try to connect to FortiAnalyzer.
Scope FortiAnalyzer, FortiManager with FortiAnalyzer features enabled.
Solution

At FortiAnalyzer > Device Manager > Devices and groups > Unauthorized devices can request to be added in FortiAnalyzer.

 

At FortiAnalyzer run the CLI commands:

 

config sys local-in-policy

    edit 1

        set action drop

        set dport 514

        set protocol tcp_udp

        set src <Not Legit Device IP Address, Eg: 1.2.3.4/32>

    next

end

 

202501_FAZ_BlockUnauthorizeDevice_01.PNG

 

At FortiAnalyzer, select ‘Delete’ to remove the illegitimate devices.

After that the illegitimate devices will not be able to connect to FortiAnalyzer and FortiAnalyzer’s Unauthorized Devices page will not show the illegitimate devices anymore.

 

202501_FAZ_BlockUnauthorizeDevice_02.PNG

 

Note:

It is also possible to block all devices using: set detect-unregistered-log-device {enable | disable}

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!