URL Blocker
Caution
- This Router App has been tested on a router with firmware version 6.3.10. After updating the router firmware to a higher version, check whether a newer version of the Router App has also been released and update it accordingly for compatibility.
Description
The URL Blocker Router App enables blocking of specific domain names so that users connected to the router cannot access them. Blocking is based on one of two modes: Blocking mode uses iptables rules to drop traffic to the specified domains, while Redirecting mode sends intentionally forged DNS responses to redirect users to a custom blocked-page. The configuration form supports up to 16 domain entries. Note that blocking does not apply to traffic within encrypted tunnels, as the domain name cannot be extracted from the packets.

The Router App web interface is accessible by clicking the Router App name on the Router Apps page. The left menu contains a Status section (with a Global status overview), a Configuration section (with the URL Blocker configuration page and the Welcome/Banned Page upload form), and a Customization section with a Return link to the router's web interface.
Configuration
After installation, the Global page in the Status section displays the current blocking state:
To enable blocking, navigate to URL Blocker in the Configuration section and check the Enable URL Blocking checkbox. Select the desired mode — Blocking (browser shows a DNS error) or Redirecting (a custom information page is shown) — fill in the domains to block, and click Apply.

Once enabled, the Global status page confirms that URL blocking is active:
Tips
In Blocking mode, the asterisk (*) character can be used as a wildcard for the top-level domain (e.g., example.*), blocking all TLD variants of the same domain name. The wildcard does not work in Redirecting mode. Redirection applies to HTTP only — for HTTPS, blocking is used instead and the Welcome/Banned page does not appear. All subdomains (www., mail., etc.) of listed domains are blocked by default in both modes.
When testing the configuration, remember to clear the browser cache or restart the browser — most browsers cache DNS records independently.
To use Redirecting mode, select it in the mode field and enter the domains to redirect:

In this mode, the default Welcome/Banned page informs the user that the requested page is blocked:

Welcome/Banned Page
A custom Welcome/Banned page can be uploaded to replace the default one. Navigate to Welcome/Banned Page in the Configuration section. The uploaded file must meet the following requirements:
- The file must be an archive in
*.tgzor*.tar.gzformat. On Linux, use native utilities; on Windows, use a tool such as 7-Zip (two steps: tar, then gzip). - The archive must contain an
index.htmlfile at its root (no subdirectory). - The archive size must be 1.5 kB or less.
Select the prepared file and click Update:

After a successful upload, the confirmation is shown. The uploaded page will then be displayed to users when a domain is blocked in Redirecting mode:

Licenses
This section summarizes the Open-Source Software (OSS) licenses used by this Router App.