Sophos Firewall: How to block advertisement on web via web filtering

 Disclaimer: Please contact Sophos Professional Services if you require assistance with your specific environment.


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!

RR Revamp
[edited by: Erick Jan at 1:00 PM (GMT -8) on 21 Dec 2022]