Skip to main content
adubinina
Staff
Staff
May 22, 2017

Technical Tip: How to block Google Mail by Web Filter

  • May 22, 2017
  • 0 replies
  • 14852 views

Description

 
This article describes how to block Google Mail by using a URL filter.
 
Scope
 
FortiGate.


Solution

 
  1. Configure the URL filter to block the following domains:

    • *gmail* - wildcard - block.
    • mail.google.* - wildcard – block.
    • accounts.google.com - Simple - block.

  2. Apply the web filter and SSL Deep Inspection in the policy.

  3. Import the CA certificate into the browser in order to avoid certificate errors.
    This configuration blocks Gmail when accessing it directly, as well as via Google Search.

     

Note:

This additional step is mandatory: block QUIC protocol using application control or UDP 443; this way, the connection will be over TCP/UDP.

 

As of FortiOS v7.2.0, the option to allow or block QUIC has been removed. Refer to this article: Remove option to block QUIC by default in application control 7.2.4 for more information. To allow/block QUIC, use the Application and Filter Overrides -> Create New -> Search QUIC and add a 'block' action.

 

Refer to this article: Technical Tip: How to block/disable QUIC.


The following references may also be of interest:

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.