FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
cborgato_FTNT
Article Id 191042
Description
WebCache works in Proxy Mode Only and cannot work with Flow Base UTM Features.  This article explains how to take in consideration UTM features when using also WebCache.

WebCache (like WanOpt) is a Proxy feature on FortiGate that can be enabled into a policy. In the same policy it is also possible to enable any other UTM feature like AV, Webfilter, IPS, Application Control, VOIP etc.

Most of those features can operate in Proxy Mode and Flow Mode.

Solution
Since the WebCache is Proxy Mode only, it is recommended to use those features in Proxy Mode when enabled with WebCache into the same policy.

Basic Symptoms examples using WebFilter UTM feature.

1) Working
FGT90D # config firewall policy
    edit 1
        set srcintf "internal1"
        set dstintf "virtual-wan-link"
        set srcaddr "all"
        set dstaddr "all"
        set action accept
        set schedule "always"
        set service "HTTP" "HTTPS"
        set utm-status enable
        set webcache enable -->
        set webfilter-profile "Web Filter Test" -->
        set profile-protocol-options "default"
        set nat enable
    next
end
FGT90D # config webfilter profile
    edit "Web Filter Test "
        set comment ''
        set replacemsg-group ''
        set inspection-mode proxy  ------> (default)
    end
end
Results in WebCache Monitoring
cborgato_FD37127_tn_FD37127-1.jpg

2) NOT Working
FGT90D # config webfilter profile
    edit "Web Filter Test "
        set comment ''
        set replacemsg-group ''
        set inspection-mode flow-based ------>
    end
end
Results in WebCache Monitoring
cborgato_FD37127_tn_FD37127-2.jpg

Contributors