Solved
Blocks ICMP Error Reporting Packets
How Fortinet Blocks ICMP Error Reporting Packets
thanks.
How Fortinet Blocks ICMP Error Reporting Packets
thanks.
The test topology is as follows:

The L3 layer switch will tell the fortigate Unreachable, and what we have to do is not to interfere with the L3 layer switch sending the packet to the fortigate. We need to reject the Unreachable packet in the fortigate (equivalent to forwarding traffic).
I have tested the results. Firewall ACL is used in fortigate to prevent Unreachable from being sent to the client. Note: It is not a firewall policy, but a firewall ACL. Just define the icmp service type3 code1.

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.