Technical Tip: FortiGate blocking traffic after integration with FortiManager.
Description
From the logs& report webfilter logs the following message will show:
Solution
Caveats.
- Do not assign a Provisioning Template to the managed FortiGate.
- Enable 'FortiGuard Security Updates' in the System Template (Provisioning Template) prior assigning it to FortiGate.
When this setting is disabled on the provisioning template the following configuration is pushed to the FortiGate:
# config system fortiguard
set antispam-force-off enable
set avquery-force-off enable
set webfilter-force-off enable
end
As a result, any traffic that requires a FDS query to FortiGuard in order to retrieve its category will be blocked.

# config system fortiguard
set webfilter-force-off disable <-----
set avquery-force-off disable
Verification.
# diagnose debug rating
Locale : english
Service : Web-filter
Status : Disable <-----
Service : Antispam
Status : Disable
Error.

When applying the 'default' Provisioning Template, the following settings are applied to the FortiGate:
# config system ntp
unset ntpsync
unset syncinterval
end
# config log fortianalyzer setting
unset status
unset server
unset enc-algorithm
unset upload-option
end
# config system dns
unset primary
unset secondary
end
# config system global
unset admintimeout
end
# config system fortiguard
set antispam-force-off enable
set avquery-force-off enable
set webfilter-force-off enable
end
