Managing Block Bypass Codes
Zenarmor allows administrators to generate and manage bypass codes to provide controlled access to blocked websites without manually modifying existing security policies.
When Zenarmor blocks access to a website based on configured security policies or detected threats, a block notification page is displayed to inform users why access has been restricted.
Bypass codes allow users to access blocked websites by entering a valid code on the block notification page. This feature helps IT and security teams reduce helpdesk workload while maintaining control over network access.
Types of Bypass Codes
Zenarmor supports two types of bypass codes:
- Admin: Whitelists blocked websites for all users and devices on the network.
- User: Whitelists blocked websites only for the individual device on which the bypass code is entered.
Both types support configurable code expiration periods and category-based restrictions.
The default code expiration period is 12 hours. You can select a different duration from the Expires in drop-down menu when creating a bypass code.
Both types of bypass codes have a configurable expiration time. Once a bypass code expires, it can no longer be used to whitelist additional websites. However, websites previously whitelisted using the code remain accessible according to the corresponding bypass code type.
Accessing Block Bypass Codes
To access the Block Bypass Codes page on Zenconsole, follow the steps below:
-
Log in to your Zenconsole account.
-
Click Settings on the left-hand sidebar.
-
Under Gateway Settings, select the gateway you want to configure.
-
Click Block Bypass Codes in the gateway settings menu.
Figure 1. Block Bypass Codes Page on Zenconsole
On this page, you can generate new bypass codes, view existing codes, manage their configurations, and create reusable bypass code templates.
Creating a Bypass Code
To create a new bypass code on Zenconsole, follow the steps below:
-
Navigate to the Block Bypass Codes page of the selected gateway.
-
Click + Generate Bypass Code.
-
Select New from the drop-down menu to open the Add New Bypass Code window.
Figure 2. Generating a New Bypass Code
-
Optionally, enter a custom bypass code in the Code field. If left blank, Zenarmor automatically generates a code.
tipA bypass code must contain six characters and may include numbers, letters, or special characters. Bypass codes are case-insensitive.
-
Select the Role from the drop-down menu:
- User (default)
- Admin
-
Select the expiration period from the Expires in drop-down menu. The default value is 12 hour. The available options include:
- 1 Hour
- 12 Hours
- 1 Day
- 1 Week
- 1 Month
- 1 Year
- Custom duration (second)
If you select Custom duration (second), specify the validity period in seconds.
-
Configure the Bypass everything option according to your requirements. This option is enabled by default.
- Enabled: Allows the bypass code to be used across all application and web categories.
- Disabled: Allows you to restrict the bypass code to selected application and web categories.
warningEnabling Bypass everything may allow users to access potentially malicious websites, including phishing, malware, and botnet-related websites. We recommend restricting bypass codes to the required categories whenever possible.
-
If you disable Bypass everything, configure the application and web categories for which the bypass code can be used:
- Select App Categories to configure application categories.
- Select Web Categories to configure web categories.
- Click the + icon next to a category under Available Categories to add it to Selected Categories.
- Click the - icon next to a selected category to remove it.
Figure 3. Selecting Application and Web Categories
-
Optionally, select Update template to save the current configuration as a reusable template.
-
Enter a descriptive name in the Template name field that appears.
Figure 4. Configuring a Bypass Code Template
-
Click Create to generate the bypass code.
The newly generated bypass code appears in the list on the Block Bypass Codes page.
Creating a Bypass Code Using a Template
Bypass code templates allow administrators to reuse predefined configurations without manually specifying the same settings each time.
To create a bypass code using an existing template, follow the steps below:
- Navigate to the Block Bypass Codes page.
- Click + Generate Bypass Code.
- Select the template you want to use from the drop-down menu.
- Review the predefined settings and modify them as needed.
- Optionally, clear Update template if you do not want to update the existing template.
- Modify the Template name if necessary.
- Click Create.
Viewing Bypass Codes
Existing bypass codes are listed on the Block Bypass Codes page.
The following information is displayed for each bypass code:
| Field | Description |
|---|---|
| Code | PIN used to access blocked websites. |
| Role | Type of bypass code, either User or Admin. |
| Apps | Number of selected application categories out of the total available application categories. |
| Webs | Number of selected web categories out of the total available web categories. |
| Expire date | Date and time when the bypass code expires. |
Each bypass code has a three-dot (...) menu that provides the following actions:
- Copy: Copies the bypass code to the clipboard.
- Edit: Opens the bypass code configuration for modification.
- Remove: Deletes the bypass code.
Figure 5. Viewing and Managing Existing Bypass Codes
Copying a Bypass Code
To copy an existing bypass code, follow the steps below:
- Navigate to the Block Bypass Codes page.
- Locate the bypass code you want to copy.
- Click the three-dot (...) menu next to the bypass code.
- Select Copy.
The bypass code is copied to the clipboard and can be shared with an authorized user.
Editing a Bypass Code
To edit an existing bypass code, follow the steps below:
-
Navigate to the Block Bypass Codes page.
-
Click the three-dot (...) menu next to the bypass code you want to edit.
-
Select Edit to open the bypass code configuration window.
-
Modify the required settings. You can perform the following operations:
- Generate a new code using Regenerate.
- Change the assigned Role.
- Extend the expiration period using Extend the expires date.
- Enable or disable Bypass everything.
- Add or remove application categories.
- Add or remove web categories.
-
Click Save to apply the changes.
Figure 6. Editing an Existing Bypass Code
Removing a Bypass Code
To remove an existing bypass code, follow the steps below:
- Navigate to the Block Bypass Codes page.
- Locate the bypass code you want to remove.
- Click the three-dot (...) menu next to the bypass code.
- Select Remove.
- Click Delete in the confirmation dialog.
The bypass code is removed and can no longer be used to whitelist additional websites.
Removing a Bypass Code Template
To remove an existing bypass code template, follow the steps below:
- Navigate to the Block Bypass Codes page.
- Click + Generate Bypass Code.
- Select the template you want to remove from the drop-down menu.
- Click Delete Template at the bottom of the configuration window.
- Click Delete in the confirmation dialog.
Using a Bypass Code
When a web connection is blocked by Zenarmor according to the configured security policies, a block notification page containing a blue lock icon is displayed in the browser.
![]()
Figure 7. Landing Page with a Lock Icon
To access the blocked website using a bypass code, follow the steps below:
-
Click the blue circle with a lock icon in the lower-right corner of the block notification page.

Figure 8. Using Bypass Code
-
Enter the bypass code provided by your administrator into the Pin code field.
-
Click Enter. A notification may appear indicating that you need to restart your browser.
Figure 9. Notification for Restarting Browser
-
Restart your browser to access the website bypassed using the PIN code.
-
Try accessing the website again.