Technical Tip: Quarantine IP address lost after reboot/shutdown/upgrade
Description
This article describes the issue when the Quarantine IP address is lost after a reboot.
Scope
FortiGate.
Solution
The quarantine user list will be removed after device reboot/shutdown because the list is saved in volatile memory.
Source 'ban IP' is kept in the kernel rather than in any specific application engine and can be queried by APIs.
Before reboot or upgrade, if the address is showing as quarantine, any quarantine user/IP in the backup configuration file cannot be found.
The monitor list is a log for monitoring, and it will not sync over to the secondary firewall, it will also show the same behavior when the device is in HA.
Follow the steps to ban quarantine IP with FortiView in FortiGate:
To block quarantine IP, go to FortiView -> Sources and select the source to ban, and select Ban IP:

diagnose user quarantine list

diagnose user banned-ip list


diagnose user quarantine list

diagnose user banned-ip list

This is an expected behavior. Configure the firewall policy to block instead, if permanent quarantine is required.