We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Configure Custom Block Pages and Texts

  • Last updated on

The firewall uses generic, unbranded block pages by default. You can change the HTML source of these pages to adjust the content and style to fit your needs. Each page has a predefined list of placeholder objects that are replaced on-the-fly by the firewall when the block page is delivered to the client. Custom block pages can be used for services such as Application Control, Virus Scanner, and URL Filter.

Block Page Action Triggering the Block Page
Access Block Page

Matching Block or Deny access rule with the advanced setting HTTP Block Page enabled.

Application Control Block Page Connection blocked due to the action set in the matching application policy.
Fail-Close Block Page
  • URL Filter, Virus Scanner, or SSL Interception is unavailable.
  • Configuration settings prevented the virus scanning engine from scanning the file. E.g., Block encrypted archives.
  • Internal errors.
Mail Security Virus Scan Text Placeholder text to replace email attachments removed due to the mail security DNSBL check.
Quarantine Warning Page Connection blocked for users in ATP quarantine.
URL Filter Block Page Connection blocked due to a URL Filter category.
URL Filter Warning Page Connection blocked due to a URL Filter category.
URL Filter Override Page Connection blocked due to a URL Filter category. Users can request temporary access from an administrator.
Virus Scanner Block Page Connection/Download blocked due to detected malware.

Edit a block page

You can use HTML, CSS, and JavaScript code. Images up to 30 kB are inserted as base64 encoded HTML code.

  1. Go to FIREWALL > Settings.
  2. In the Response Messages section, click the edit icon next to the block page you want to edit. The Edit Response Message window opens.
  3. Click Browse to upload a custom image.

    For security reasons, images are stored as base64 encoded string in the HTML source.

  4. Click Open preview to display a live preview of the message in the browser.
  5. Edit the HTML source code of the block page. Changed text immediately appears in the live preview window.
    response_68.png
  6. Click Save.

Placeholder values

Each block page has a set of placeholder variables that are processed on-the-fly by the firewall before delivering the block page to the user.

Block Page Variable Value
Access Block Page



User Name {{USER}}
Access Rule Name {{ACCESS_RULE}}
Hostname of the Requested Website {{URL_HOST}}
Path of the Requested Website {{URL_PATH}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Application Control Block Page User Name {{USER}}
Access Rule Name {{ACCESS_RULE}}
Application Rule Name {{APP_RULE}}
Application Name {{APP_NAME}}
Application Category {{APP_CATEGORY}}
Application Risk Rating {{APP_RISK}}
Hostname of the Requested Website {{URL_HOST}}
Path of the Requested Website {{URL_PATH}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Fail-Close Block Page

User Name {{USER}}
Full URL {{REQUESTED_URL}}
Block Reason {{BLOCK_REASON}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Mail Security Virus Scan Text         User Name {{USER}}
Blocked File Name {{REQUESTED_FILE}}
Alert Type {{ALERT_TYPE}}
Threat Name {{ALERT_NAME}}
Threat Description {{ALERT_DESC}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Quarantine Warning Page User Name {{USER}}
Hostname of the Requested Website {{URL_HOST}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Access Rule Name {{ACCESS_RULE}}
URL Filter Block Page User Name {{USER}}
Access Rule Name {{ACCESS_RULE}}
Application Rule Name {{APP_RULE}}
URL Category {{URL_CATEGORY}}
Hostname of the Requested Website {{URL_HOST}}
Path of the Requested Website {{URL_PATH}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
URL Filter Warning Page User Name {{USER}}
Access Rule Name {{ACCESS_RULE}}
Application Rule Name {{APP_RULE}}
URL Category {{URL_CATEGORY}}
Hostname of the Requested Website {{URL_HOST}}
Path of the Requested Website {{URL_PATH}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Click-to-Continue Button (required) {{CONTINUE_BUTTON}}
URL Filter Override Page User Name {{USER}}
Hostname of the Requested Website {{URL_HOST}}
URL Category {{URL_CATEGORY}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Application Rule Name {{APP_RULE}}
Address that permission requests should be sent to {{REQUEST_PERMISSION_COMBO_BOX}}
Permission Request Status {{REQUEST_STATUS}}
Permission Request Button {{REQUEST_PERMISSION_BUTTON}}
Virus Scanner Block Page User Name {{USER}}
Alert Type {{ALERT_TYPE}}
Threat Name {{ALERT_NAME}}
Threat Description {{ALERT_DESC}}
Threat Description {{ALERT_DESC}}
Blocked File Name {{REQUESTED_FILE}}
Full URL {{REQUESTED_URL}}
Barracuda CloudGen Firewall Hostname {{GATEWAY}}
Last updated on