Fortigate v6.4.3 build1778 (GA)
I am trying to set the inspection mode to proxy when I create a new policy. I can set it with the GUI but not on the CLI.
From all of the documentation I have read it looks like the command should be
set inspection-mode proxy
If I create the policy with the GUI and then do a show at the CLI the set inspection mode is there. I am even able to change it. But if I create a new policy using the CLI the set command is not available.
Has anyone else run across this issue?
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.
I've checked my FGT 6.4.3. I can successfully change flow mode in rule to proxy mode from CLI:
FG-VM# config firewall policy FG-VM(policy) # edit 4 FG-VM(4) # get | grep inspection-mode inspection-mode : flow FG-VM(4) # set inspection-mode proxy FG-VM(4) # get | grep inspection-mode inspection-mode : proxy
Hey Sal (and Viktor),
The issue is that when you create a new policy via CLI, it is a "deny" policy by default. If you do a "get" you can see this and see that there is no inspection-mode property. Once you submit the command "set action accept" you can set the inspection mode and a great many other things that aren't available on a deny policy.
Have a great day! - Daniel
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 |
---|---|
1632 | |
1063 | |
749 | |
443 | |
210 |
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.