Technical Tip: Adding more than 10172 addresses in a local-in policy does not work as expected
| Description | This article describes how to resolve a scenario where adding more than 10172 addresses in a local-in policy does not work and traffic is allowed/dropped. |
| Scope | FortiOS 7.x.x+. |
| Solution | When adding a large number of addresses in a local-in policy, there is an implicit limit not visible to the user which can cause unexpected behavior.
To resolve this, split the single local-in policy into multiple. Here is what the config looks like after doing this:
While running the same command, there is no longer any 'flag3 (40): truncated’ and the number of IP addresses pushed to the policy is greater than 10172 (6051 + 1510 + 4399 = 11960).
![]() |




