r/fortinet • u/solracarevir • 8h ago
FortiManager Local-In Policies and Fortimanager woes
Guys, I'm at loss here and I need guidance.
Running Fortimanager Cloud 7.4.12.
I want to create a Local-in-Policy to block bad IP's. Those Bad IP's live on 5 external connector Threat Feeds I have. I tried Creating a Local-in-Policy on the fortimanager referencing those External Thread Feeds but it only let me reference Addresses and Addresses Groups.
I thought of Creating a Address Group referencing those External Feeds and won't let me as well.
So I created a CLI script creating the Local-In-Policy referencing the External Threat feeds, Ran the Script to device Database and pushed it via Fortimanager. It worked as expected and the bad Ip's are being blocked.
My issue now is that my Policy Package template for the Fortigate is marked as Out of Sync and if I try to install Policy Package and Device settings it warns me that the Local-In-Policy is going to be purged.
I know the answer is "Create the Local-in-Policy" on the fortimanager and push it to the device, but how I'm supposed to reference the Threat Feeds on the Local-in-Policy from the Fortimanager? or there is another workaround?
Thanks!