Verifying Web Filtering Queries on FortiGate and FortiSandbox
To Verify Web Filtering Queries on FortiGate and FortiSandbox:
- Log in to FortiGate and
enable
web filter service and choose any location for the location.#config system fortiguard (fortiguard) # set update-server-location any (fortiguard) # set webfilter-force-off disable (fortiguard) # end
- Update the server location on FortiGate.
- Go to System > FortiGuard.
- Set the following configurations.
Update server location Lowest latency locations. Filtering Web Filter Cache Enable Anti-Spam Cache Enable FortiGuard Filtering Protocol
UDP FortiGuard Filtering Port
8888 Filtering Service Availability
Click Check Again.
Verify Web Filtering and Anti-Spam are Up.
Override FortiGuard Servers Click Create New to add the Server Address and select the Server Type.
- Click Apply.
- Log in to FortiSandbox.
- Open the CLI console and issue the command
test-network
. The Web filtering service should turn ON in both the CLI output and the Dashboard.