Disclaimer: This information is provided as-is for the benefit of the Community. Please contact Sophos Professional Services if you require assistance with your specific environment.
Table of Contents
Overview
The following is a guide on blocking advertisements on websites, not the advertisements that are played while streaming videos on YouTube or any other similar platform like YouTube.
Create a Web Policy
[Path: Protect > Web > Policies > Add policy > Add rule]
Under the activities > Category > Add > Advertisements and Auctions & Classified Ads
with action HTTP as block and HTTPS as block and turn on the status of the rule:
Firewall rule settings
Now go to Protect > Rules and Policies
In the rule where you want to use the policy you just created.
Note: I haven’t applied HTTP and HTTPS scanning in my scenario. However, I am using the " Web proxy instead of DPI" option, as shown in the following snapshot.
What are the impacts of turning on HTTPS Decrypt and Scan?
Sample Screenshots:
- Policy Is "Not" Applied
- Policy is "Applied"

Using log viewer to confirm traffic is being blocked
I hope this article has helped you achieve your requirement and clarified your doubts!
Updated Disclaimer
[edited by: Erick Jan at 2:03 PM (GMT -7) on 17 Apr 2023]