Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
pnobels
New Contributor III

missing APP and IPS filters when using cli

Hi,

 

i'm trying to use the cli in Forti Manager 7.0.12 to script a policy.

 

config firewall policy
edit 0
set name "test-policy"
set srcintf ZONE_LAN
set dstintf ZONE_LAN
set srcaddr test-1
set dstaddr TESTGRP
set service TCP_5000-6000
set action accept
set profile-protocol-options PROXY_FILTER
set ssl-ssh-profile SSL_FILTER_CERT
set ips-sensor IPS_FILTER
set application-list APP_FILTER
set inspection-mode flow
set internet-service disable
set nat disable
set logtraffic all
set schedule always
next
end
 
I can run this script successfully.  No errors.  However in the gui the policy does not contain the APP and IPS filters?

Any hint?

 

1 Solution
AEK
SuperUser
SuperUser

Hi

Can you try add "set utm-status enable"?

AEK

View solution in original post

AEK
3 REPLIES 3
AEK
SuperUser
SuperUser

Hi

Can you try add "set utm-status enable"?

AEK
AEK
johnathan
Staff
Staff

What is the FortiGate version? I can see that App Ctrl may be hidden on 7.6.0 unintentionally: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Application-control-not-visible-in-t...

Regarding IPS, you probably just need to go to Feature Visibility and turn 'IPS' on. 

"Never trust a computer you can't throw out a window."
pnobels
New Contributor III

Hi,

 

adding "set utm-status enable" solves the issue.  Thx!

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors