Steve Borba

My notes, I hope they help you, feel free to comment/add to them

Palo Alto Networks – URL Block Page

The URL block page on the PAN can be anything, but there is no real wizard to customize it – not even just to add a logo! Here are some easy things and some that are a little more complicated.

First well just show how to update the block-page to use you company’s images. Go to Device, “Response Pages”, “URL Filtering and Category Match Block Page”, Check Predefined, and click Export. You’ll get a text file – in it you’ll find the “image” encoded as base64.

Now we need to change that image to a new one that is for your org. To keep with the default setup, we need to convert your image (less thank 8KB) to a base64 string. Here is a powershell command to do that:

[convert]::ToBase64String((get-content .\logo.png -encoding byte))

Then copy/paste that into the string after the “,” and remove the default one. You might run into an issue that the image is too large. Your options are to host the file externally or compress it (I compressed using https://tinypng.com/). Then click import.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>