Fortinet white logo
Fortinet white logo

Verifying Web Filtering Queries on FortiGate and FortiSandbox

Verifying Web Filtering Queries on FortiGate and FortiSandbox

To Verify Web Filtering Queries on FortiGate and FortiSandbox:
  1. 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 
    
  2. Update the server location on FortiGate.
    1. Go to System > FortiGuard.
    2. 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.

    3. Click Apply.
  3. Log in to FortiSandbox.
  4. 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.

Verifying Web Filtering Queries on FortiGate and FortiSandbox

Verifying Web Filtering Queries on FortiGate and FortiSandbox

To Verify Web Filtering Queries on FortiGate and FortiSandbox:
  1. 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 
    
  2. Update the server location on FortiGate.
    1. Go to System > FortiGuard.
    2. 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.

    3. Click Apply.
  3. Log in to FortiSandbox.
  4. 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.