Created on
‎12-06-2016
03:35 AM
Edited on
‎03-11-2025
03:51 AM
By
Jean-Philippe_P
Description
FortiManager can act as a standalone FDS server and it is independent of the device management. It will provide FortiGuard services:
- FGD services -> Webfiltering + AntiSpam.
- FDS services -> IPS + AntiVirus.
- Service license.
Packages, databases, and FortiGate service licenses will be downloaded from public FDS servers.
Scope
FortiManager.
Solution
CLI configuration:
Step 1. Configuration of the FortiManager
- The FortiManager needs a minimum of 16GB of RAM for correct Web filtering service functionality.
- Once RAM provisioning is correct, using the CLI, increased memory usage allowed for Webfiltering service.
set wf-cache 4000
set wf-preload enable
end
- Using the CLI, enable the FortiManager to provide Web filtering services.
set query-webfilter enable
end
Note that this will automatically initiate the Web filtering database download from FortiGuard, this may take a few hours.
- Using the CLI, enable the Web filtering
Service on the corresponding Interface used (in this example 'port1' is used).
edit "port1"
set serviceaccess webfilter-antispam fgtupdates
end
The Web filtering service will be fully operational when the complete Web filtering database is downloaded from FortiGuard.
- Using the CLI, modify the Web filtering.
database polling interval checks for changes in settings every 20 minutes.
- Enable FortiManager to connect to the FortiGuard FDS network via a WEB Proxy, for example, 10.10.10.10:8080.
set ip 10.10.10.10
set port 8080
set status enable
end
config fmupdate web-spam web-proxy
set ip 10.10.10.10
set port 8080
set status enable
end
It is important to set up the Web Proxy IP and Port on both av-ips and web-spam service settings.
set status enable
set mode proxy
set address 10.10.10.10
set port 8080
end
Step 2. Configuration of the FortiGate:
On the FortiGate define the FortiManager acting as FDS Server using the CLI.
rating: Web filter and anti-spam rating server.
Diagram:
Verification of configuration and troubleshooting:
Use this command in FortiManager to check correct communication:
Use these commands in FortiManager to restart the services:
If the Web filtering database is corrupted, it is possible to delete it. It will be downloaded again, but service will be disrupted:
But before deleting the database:
- Disable the WF/AS client service on the FortiManager interface(s).
- Stop the WF/AS server service in the GUI using System Settings -> FortiGuard Center.
On the FortiGate, it is possible to clear the Web filtering cache and restart the daemon urlfilter: