FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
janonuevo
Staff
Staff
Article Id 340906
Description This article describes how to restrict the YouTube video categories to 'Knowledge' exclusively.
Scope FortiOS 7.4.2 and above.
Solution

Starting FortiOS 7.4.2, there is an implicit 'allow' rule for 'any' video categories when creating a FortiGuard Category-based Video Filter.

 

1.JPG

 

To allow only the 'Knowledge' video category on YouTube:

Create a specific video filter category followed by a filter that blocks all categories.

 

In GUI:

 

2.JPG

 

In CLI:


firewall (YouTube Filter) # show

config videofilter profile
    edit "YouTube Filter"
        config filters
            edit 1
                set type category
                set category "4"
                set action allow
                set log disable
            next
            edit 2
                set type category
                set category "any"
                set action block
            next
        end
   next
end

Result:

 

4.JPG

 

 

3.JPG

 

Note: 

Video Filtering requires proxy-based policies, SSL deep inspection, and a valid FortiGuard web filter license.