DotW: Block Web Ads with an External Dynamic List (EDL)

DotW: Block Web Ads with an External Dynamic List (EDL)

37569
Created On 09/25/18 18:55 PM - Last Modified 06/12/23 20:52 PM


Resolution


In an attempt to block web advertisement pages using an external dynamic list, or EDL, user KevinTucker was challenged to get a specific result.  Instead of simply not resolving the page and logging this event, he was aiming to get a specific 'Ad blocked' page indicating that this page was blocked.

 

2016-10-10_14-41-04.pngBlocking web advertisements with an external dynamic list (EDL) discussion.

Several users jumped into the discussion but user birkhojk knocked it out of the park with a very detailed explanation.  As he pointed out in his explanation, there is a ton of flexibility with Palo Alto Networks technology to block ads.

 

In this use case scenario, you most likely want to use an EDL and URL filtering.  So you will need to create an EDL first.  The screenshot below shows an example of an EDL using the type URL list:

 

2016-10-10_14-51-04.pngEDL configuration using type 'URL List.'

When you have this EDL configured, it will show up in your URL Filtering Profile, as user birkhojk pointed out.  Notice in the screenshot below, there is a new category available called 'My personal block list +' which is the name I gave my EDL that I configured earlier.  Also notice that I've configured the action block:

 

2016-10-10_14-55-57.pngURL Filtering Profile with 'block' action.

With this block action, you will use the Predefined URL Filtering and Category Match Block Page:

 

2016-10-10_15-04-16.pngResponse Pages: URL Filtering and Category Match Block Page.

You can easily upload a custom HTML page using the Import button.  With the custom page uploaded, all you have to do now is edit your security policy and apply the URL filtering profile to it:

 

2016-10-10_15-09-46.pngSecurity Policy - edit your security policy and apply the URL filtering profile to it.

 

After you have this configured and committed, the result shows the custom response page for every URL you visit that is configured in the EDL:

 

2016-10-10_15-18-17.pngResulting response page for URLs configured in the EDL.

 

You can follow the original discussion here: Blocking-Web-Advertisements-with-an-External-Dynamic-List

 

Cheers!

-Kim

 

 

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClRnCAK&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language