Technical Tip: How to block Google Mail by Web Filter
Description
Solution
- Configure the URL filter to block the following domains:
- *gmail* - wildcard - block.
- mail.google.* - wildcard – block.
- accounts.google.com - Simple - block.
- Apply the web filter and SSL Deep Inspection in the policy.
- 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:
- Fortinet Cookbook: Preventing certificate warnings.
- Microsoft TechNet: Importing the certificates through the GPU.
