Служба поддержки работает 24/7 — мы всегда на связи по вопросам хостинга и серверов.Открыт прием заявок на аренду выделенных серверов и размещение оборудования в дата-центре.Напоминаем: рекомендуем включить резервное копирование для дополнительной защиты данных.Доступна новая линейка VPS/VDS с NVMe-дисками и увеличенной производительностью.Технические работы на части серверов завершены. Все сервисы работают в штатном режиме.

MODULE FOR 1C-BITRIX

Adwebs

Firewall — Blocking by ASN, GEO, UA

The firewall module for 1C-Bitrix provides flexible protection against unwanted traffic. Blocking is applied based on ASN number, country GEO code (e.g., NL, RU, US), or a specific string in the UserAgent. Access can be restricted for all visitors except those from Russia. Filtering modes can be combined arbitrarily, including the use of blacklists and whitelists based on geolocation.

Technical details

Published
17.05.2023
Updated
08.04.2026
Version
2.1.1
Installed
100 - 499 times
Compatible editions
'First Site', 'Start', 'Standard', 'Small Business', 'Business', 'Corporate Portal', 'Enterprise', 'Online Store + CRM'
Adaptability
Yes
Composite support
Yes
Compatible with Sites24
Yes
Developer
Adwebs

What this solution does

The firewall module for 1C-Bitrix provides flexible protection against unwanted traffic. Blocking is applied based on ASN number, country GEO code (e.g., NL, RU, US), or a specific string in the UserAgent. Access can be restricted for all visitors except those from Russia. Filtering modes can be combined arbitrarily, including the use of blacklists and whitelists based on geolocation.

The solution allows blocking entire networks of specific providers or hosting services with a single setting, eliminating the need to manually add each IP address or subnet. This ensures reliable protection against traffic from specific countries or networks.

Key capabilities:

— Rapid blocking of specific provider networks.

— Visitor filtering by geolocation in blacklist or whitelist modes.

— Instant geolocation determination using the local GeoLite2-Country.mmdb database.

— Bot blocking based on a matching string in the UserAgent.

— Restricting access to a specific URL on the site.

— Ensuring IP addresses on the whitelist are never blocked.

— Ensuring ASN networks on the whitelist are never blocked.

The Firewall module (blocking by ASN, GEO, UA) protects all server domains and IP addresses. Unwanted traffic is blocked based on Autonomous System Numbers (ASN), geolocation, and UserAgent parameters. Optimization and caching ensure the module does not affect site speed. When blocked, visitors see a clear notification and can unblock themselves. Selected UserAgents are never blocked, and all blocking events are logged.

The module supports strict visitor filtering by geolocation in both black and white list modes. A local GeoLite2 database is used to instantly determine the visitor's location. Simply provide a link to the file, and the module will update it daily.

To prevent blocking real visitors, a JS challenge is available on the 403 error page for self-unblocking. When accessing the site, the user's browser solves a cryptographic task transparently. Most bots cannot pass this challenge, although some may succeed. This mechanism reduces the overall protection level but minimizes the risk of blocking legitimate users.

The firewall for 1C-Bitrix operates based on IP address verification. The system checks if a visitor's IP falls within blocked ranges and denies access if a match is found. The filtering logic relies on the practice of traffic segmentation: traffic from hosting provider networks is often considered malicious, while traffic from internet service provider networks is considered useful.

The Firewall module (blocking by ASN, GEO, UA) is designed to completely block traffic from bot, scraper, and checker networks that are difficult to stop with standard IP-based methods due to their use of vast numbers of subnets from providers like DigitalOcean, OVH, and AWS. Since legitimate users rarely access the internet through such networks (though exceptions exist), it is possible to completely block traffic from these hosting providers.

This is a powerful tool for 1C-Bitrix requiring careful use. Treat it with zero trust: all traffic from the selected provider will be blocked except for explicitly specified IP addresses and URLs. Regularly monitor the block log to avoid inadvertently blocking access for clients, search engine bots, or services on other platforms.

General iT can install and configure this module and check how it works on your website.

UPDATE HISTORY

What’s new

3 releases
2.1.1 (08.04.2026)Latest update

Adaptation to the new supplier API format

2.1.0 (16.03.2026)

Increased speed of GEO-blocking methods

Improved user interface of the 403 page

Updated blocking log methods

Added ability to track the fact of self-unblocking

2.0.0 (15.03.2026)

Added ability to block by GEO (black/white list)

GEO-blocking works with standard 1C-Bitrix geolocation methods

Optional ability to work with the local GeoLite2 database

Ability to download and automatically update the GeoLite2 database from any source

Ability for user self-unblocking via JS challenge on the 403 page

Ability to configure challenge difficulty and unblocking time

Added ability to block by User-Agent

Added ability to disable the firewall for specific User-Agents

By default, the firewall is disabled for search engine User-Agents

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

How do I purchase a solution?
Submit a request on the solution page. A manager will check your selection, confirm the terms and arrange the purchase. We can also help with installation and setup.
Is a 1C-Bitrix licence included?
The default price covers the solution itself. If the developer offers a bundle with a 1C-Bitrix licence, you can select it separately on the solution page.
Can I try a solution first?
Available online demos and trial periods are shown on the solution page. The trial length depends on the solution.
How much does renewal cost?
Renewal is calculated as 50% of the full solution price before discounts. A manager will confirm the renewal terms and period before you order.
Can you help implement the solution?
Yes. We can build a website or store based on a template, or install, configure and check a module for compatibility. The scope and cost of the work are agreed separately.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot