Skip to main content

Zenarmor Web Control Rules on OPNsense

Web Controls are the web specific controls that you can apply to web browsing activities.


The difference between Application Controls and Web Controls is that Web Controls provide a more specific and focused policy management for HTTP and HTTPS (Web) based connections.

Application Controls, on the other hand, works for all protocols and connection types and a more generalized control mechanism.

For instance, if you want to block a specific website or category which you know operates over HTTP protocol, you are advised to control access through Web Controls.

If you want to create an access policy for Tor Browser which can operate in any TCP port, your best bet will be to do it via Application Controls.

The engine processes the request, queries to SVN Cloud in real-time and decides whether it will be blocked or allowed. We check against 300+ Million Websites, under 60+ categories in milliseconds.

If TLS Inspection is not enabled, HTTPS filtering is based on SNI and FQDN information. If TLS Inspection is enabled, URL and HTTP protocol headers are also analyzed.

Web Categories

Websites are categorized by their type and listed in a click-to-open tree-view for convenient access.

Web Categorization DB is maintained by Sunny Valley Networks. You can check how fast we're running via Zenarmor-SenseiStatusCloud Node Status

Zenarmor: Web Controls module

Figure 1. Zenarmor: Web Controls module

Defining Custom Web Category

Zenarmor (Sensei)'s user-oriented approach puts you to the center of the control-universe. You can define your own web categories, add sites under them, and manage their status with just one click.


You can enter domains and subdomains. No need to use an asterisk, Zenarmor will match all subdomains and fully qualified domain names under this domain. If you would like anything under (, to be allowed or blocked, just put and we'll match them all.

To create a custom web category you can enter each website by adding one by one or you can add them in bulk via importing from a file.

Adding a new user-defined category

If the category does not exist in the list you can define a new web category by specifying a category name to the New Category field and adding it by clicking the plus sign button.

To add a new user-defined category, you may follow the next steps given below:

  1. Click on the folder icon on the left side of the User Defined Categories. It will pop-down the tree and bring out the existing user-defined categories if any.

  2. Enter the name for the new category in the New Category field.

  3. Click on the + plus sign button.

Adding a new user defined category

Figure 2. Adding a new user defined category

Adding a new site under the category

Just after a new category is created, Custom Web Category dialog asks for the very first site. And you can add a new site by following the steps given below:

  1. Enter your target site URL and click Add. If you need, you can add as many sites as you want.


Figure 3. You can add a new site after

  1. Also, you can import the websites from a previously generated website list file by clicking on the Import list from file button as shown in figure 4.

Importing list

Figure 4. Importing list from file for a User-defined Web Category

  1. By default, newly added sites are allowed. To block the sites, you must click on the Block button.

  2. When you're done with adding new sites to the category, close the dialog.

  3. Click on the green check icon to the left to block your new added category.

Editing a user defined category

To edit or delete a user-defined web category you may follow the steps given below:

  1. Hover your mouse over your user-defined category. You'll get two new icons.
  2. Click the Edit pencil icon to add a site. This will open up the modal dialog to add new sites.
  3. Click the Delete cross icon to delete the category. This will delete the whole category with all sites under it.

Editing/Deleting a user defined web category

Figure 5. Editing/Deleting a user defined web category

  1. After editing a user-defined category, you may delete a website by clicking on the X red cross icon next to it. Deleting a website in a user defined category

Figure 6. Deleting a website in a user defined category

Blocking a Category

Zenarmor allows you to block individual categories by clicking on the green check icons located on the left side of each web category.

Blocking A Category

Figure 7. Blocking A Category

Activating the rules

When you're ok with the changes you made, click on the button lower right corner of the screen to Save Changes and activate the rules.