Configuring and applying Video Filter
The video filter feature allows you to allow, monitor, or block YouTube videos based on FortiGuard categories. It also provides the flexibility to override the actions configured for a FortiGuard category on a per-channel basis using their channel IDs.
Video filter requires enabling SSL deep inspection inside the profile group. See Certificate and deep inspection modes. It also requires a Google API key to access the YouTube Data API. To generate an API key, see YouTube Data API Overview.
The following example demonstrates configuring video filter using FortiManager. In this configuration, the video filter is set to:
- Block YouTube videos categorized as News under FortiGuard categories.
- Monitor YouTube videos for all other FortiGuard categories.
- Allow videos from YouTube channel named CNN by using its channel ID.
To display some security profiles or advanced CLI configurations, from within any Policy & Objects page such as Policy & Objects > Security Profiles or Policy & Objects > Advanced, you must click Tools > Feature Visibility and ensure the desired security features are enabled. See Feature visibility. |
To create and apply a new Video Filter:
- Create a new Video Filter:
- Go to Policy & Objects > Security Profiles > Video Filter and create a new video filter by clicking Create New.
- In the Name field, enter Custom-Video-Filter.
- Set Default Action for the FortiGuard categories to Monitor.
- Enable the toggle for FortiGuard Category Based Filter.
- From the Category list, select News and set it to Block.
- In Youtube Channel Override List, click Create New, enter the following in the slide-in, and click OK:
Option Value Channel ID UCupvZG-5ko_... Comments Allows access to YouTube videos from CNN Action Monitor - Click OK.
- Enter a suitable description in Change Note and click OK.
- Go to Policy & Object > Security Profiles > Video Filter. Click Custom-Video-Filter, select Edit Video Filter Settings, enter the API key to access YouTube data, and click OK.
- Apply Video Filter:
- Go to Policy & Objects > Advanced > CLI Configurations.
- Enter profile-group in the search bar to discover results matching that keyword.
- Expand the firewall result in the tree menu, and select the profile-group menu item.
- In firewall profile-group, edit an existing profile-group or click Create New.
- In the name field, enter custom-profile-group.
- For videofilter-profile, select Custom-Video-Filter.
- For profile-protocol-options, select default.
- For ssl-ssh-profile, select deep-inspection.
- Click OK.
- Repeat steps in Configuring FortiManager for central managementto synchronize the custom-profile-group Security Profile Group from FortiManager to FortiSASE.
- In FortiSASE, verify the configuration has been synchronized from FortiManager:
- Go to Configuration > Security and do the following:
- For Profile Group, select custom-profile-group.
- In the Video Filter widget, click View.
- Observe the required configuration is synchronized to FortiSASE.
- Go to Analytics > Central Management Synchronizations and do the following:
- Select the most recent log entry and click View log details.
- Confirm in the log details the desired configuration settings have been synchronized from FortiManager.