Ever wanted to have a more dynamic or explanatory response page? The default response pages are pretty good, but sometimes you want to add that little bit extra.
So how do you go about spicing up these response pages?
Community member @rufusleonard was on the right track using custom response pages !
You can provide a custom HTML message that is downloaded and displayed. Each virtual system can have its own custom response pages. There are different types of custom response pages and all of them can be found under Device > Response Pages as illustrated below:
Block pagesare onlyrelevant touserbrowsers. Applicationblockpages onlyappearwhen the application is browser-based.
As rufusleonard already pointed out in his post, the system alreadyprovides variables to be used within block pages for substitution at the time of the block event.Some variables,like <user/>,can be used with all block pages. Others, like <pan_form/>, can only be used with certain Block Page types. Here's a list of variables you can use:
Username (if available) or IP address of the user
Destination IP address for SSL Decryption
URL ﬁltering category of the blocked request
Application type of the blocked request
applicable HTML code for page type function - differs depending on the custom block page is used.
URL FIltering Continue and Override Page returns a continue button.
Captive Portal Comfort Page returns a user login.
Want to add code that triggers the firewall to display different messages ? Check out the link below for an example :