Hi Everyone,
I'm actually thinking about the best way to achieve something with my fortigates..
Need :
I want to have a deny rule (or several) that allow me to block some IPs from everywhere to everywhere (so from/to all my zones). We are on Interface-per-view (and we want to keep it that way)
So if i want to achieve it i have to create for each zone : x rules depending on the number of destination (and it's a lot !).
I was wondering if we can take another way to achieve this with less rules without losing the Interface-per-view.. Maybe with some header policy which i don't quite understand.
Thank you.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello @polerese ,
Why do you need this? If you don't give access to these IP addresses, they don't access anywhere. Because the normal behavior of FortiGate is "deny".
Still, if you want to make this request. I think there is no option like a global policy without breaking the interface pair appearance. You can create easily these policies on the command line compared with the GUI. But still, you need to create a lot of policies. :(
Hi @ozkanaltas ,
We need it to deny IP with strange behaviour. So we can't know in advance what the IP will be..
So yeah, the script solution seems to be the only option but i still have to reorder each policy to be on top of the others as it is a deny one :(
Hello @polerese ,
You are right, even if create a policy with the script you need to reorder each policy. But if you want, you can also reorder a policy with the script. But I think this way is more difficult than the GUI method.
Yes, but with the script we use 'edit 0' with no name, so no way to have the ID (in fact there is a way but it take too much time.) and it implies to have the ID of the 1st rule in every section (zone to zone) that we have which is not possible to get easily...
Hi @polerese,
You can enable "Multiple Interface Policies" and use 'any' as Incoming and Outgoing interface. Please refer to https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-allow-the-configuration-of-policies...
Regards,
I just tried, and in 7.0 i instantly loose the interface-per-view mode.
Created on 03-07-2024 07:56 AM Edited on 03-07-2024 07:58 AM
I think this is related to the new policy layout. This feature comes with a 7.4 version. I didn't see anything about this in the documents. But they say we did a lot of enhancement in policy view.
Also, I tried my lab with a multiple interface policy option. My lab instantly lost the interface-per-view mode. I am using version 7.2 in my lab.
@hbac ,
Can you try this, with classic layout in your lab?
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.