config web-proxy profile
edit Restrict
set header-via-request add
set header-via-response add
config headers
edit 1
set name "YouTube-Restrict" ----{The name can be any value
set content "Strict"
next
end
next
end
config webfilter urlfilter
edit 1
set name "Youtube" ----{The name can be any value
config entries
edit 1
set url "www.youtube.com"
set action allow
set web-proxy-profile "Restrict"
next
edit 2
set url "m.youtube.com"
set action allow
set web-proxy-profile "Restrict"
next
edit 3
set url "youtubei.googleapis.com"
set action allow
set web-proxy-profile "Restrict"
next
edit 4
set url "youtube.googleapis.com"
set action allow
set web-proxy-profile "Restrict"
next
edit 5
set url "www.youtube-nocookie.com"
set action allow
set web-proxy-profile "Restrict"
next
end
next
end
config webfilter profile
edit "Youtube-Restrict" ----{The name can be any value
config web
set urlfilter-table 1
end
next
end
Restricting YouTube access in FortiOS 5.4.2
In FortiOS v5.4.2, YouTube access can be restricted through the GUI.
- Go to Security Profiles > Web Filter.
- Edit the default web filter or create a new one.
- Expand Search Engines and enable Restrict YouTube Access.
- Select Strict or Moderate level of restriction.
Google discusses the difference between strict and moderate levels of access in the article entitled on its support site.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.