How to Configure Custom Block Pages and Texts

How to Configure Custom Block Pages and Texts

The CloudGen 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 only for services using the Forwarding or Distributed Firewall services. The HTTP proxy does not support custom block pages.

Block Page

Service

Action Triggering the Block Page

Block Page

Service

Action Triggering the Block Page

Access Block Page

Firewall Service

Matching Deny or Block access rule with the advanced setting Block Page for TCP 80 set to Access Block Page.

User Agent Block Page

Firewall Service / User Agent Filtering

Connection blocked due to the user agent policy set in the matching application rule.

Application Control Block Page

Firewall Service / Application Control

Connection blocked due to the action set in the matching application rule.

ATP Scan-First Preview Mail

Virus Scanner, ATP

File temporarily removed for ATP scan.

File Content Block Page

Firewall Service / File Content Filtering

Connection blocked due to the file content policy set in the matching application rule.

Fail-Close Block Page

URL Filter or Virus Scanner not available

The Fail Close policy for the URL Filter, Virus Scanner, or TLS Inspection must be set and:

  • URL Filter or Virus Scanner service is unavailable.

  • Configuration settings prevented the virus scanning engine from scanning the file. E.g., Block encrypted archives.

  • TLS Inspection is unavailable.

  • Internal errors.

Mail Security Content Scan Text

Firewall Service / Mail Security

Placeholder text to replace email attachments removed due to the mail security DNSBL check.

Mail Security Virus Scan Text

Firewall Service / Mail Security

Placeholder text to replace infected email attachments removed by the virus scanner.

Mail Security Fail-Close Text

Firewall Service / Mail Security

Placeholder text to replace infected email attachments removed due to a fail-close policy.

URL Filter Override Page

Firewall Service / URL Filter

Connection blocked due to a URL Filter policy with the action override.

Quarantine Page

Virus Scanner, ATP

Page displayed for users in ATP quarantine.

TLS Inspection Block Page

Firewall Service / TLS Inspection

Connection blocked due to a TLS Inspection policy.

URL Filter Block Page

Firewall Service / URL Filter

Connection blocked due to a URL Filter category.

URL Filter Warning Page

Firewall Service / URL Filter

Connection blocked due to a URL Filter category.

Virus Scanner Block Page

Virus Scanner, ATP

Connection/Download blocked due to detected malware.

Edit a Block Page

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

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Response Messages.

  2. Click Lock

  3. In the left menu, click the block page you want to edit.

  4. In the HTML source code window, edit the source code of the block page.

  5. Click External View or Update Preview to see the changes in an external browser or the preview area.

  6. (optional) Click Insert Element to insert placeholder values or images into the block page. The available placeholder values depend on the block page.

  7. Click Send Changes and Activate.

Reset a Block Page to the Factory Default

You can reset the block page to its default value.

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Response Messages.

  2. Click Lock.

  3. In the left menu, click on the block page you want to reset.

  4. Click on Restore Default.

  5. Click Yes.

  6. Click Send Changes and Activate.