Skip to main content
fquerzo_FTNT
Staff
Staff
October 28, 2021

Technical Tip: Apply antivirus or web filter profile to flow-mode policy

  • October 28, 2021
  • 0 replies
  • 2137 views

Description


This article describes that if the firewall policy is set to flow-mode inspection, it will not be possible to apply a web filter or an antivirus profile to it. This is because both Antivirus and web filter by default will be created with the Feature-set in Proxy. 

 

Scope

 

FortiGate.


Solution


The profile will not be visible in the drop-down menu in those cases.

 

JeanPhilippe_P_0-1745592428632.png

  

Go to Security Profiles -> Web Filter, select the profile, and next to 'Feature set', select 'Flow-based' and then select 'OK'.

 
JeanPhilippe_P_1-1745592460642.png

 

From CLI:

 

config webfilter profile

    edit "test"
        set feature-set flow

       next
end

 

Or go to 'Security Profiles ' -> 'Anti-Virus', select the profile and choose 'Flow-Based' from the Feature set.

 

av-test.png


From CLI:

 

config antivirus profile
    edit "test"
        set feature-set flow

    next
end

 

Go back to the ' Policy & Object ' -> ' Firewall policy ' and edit the policy to select the profile 'test' web filter and Anti-virus from the above examples.

 

kbfirewall.png


From CLI:

 

config firewall policy
    edit 3
        set av-profile "test"
        set webfilter-profile "test"
    next
end

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT