Prepare Keenetic
This configuration is designed for Keenetic with Entware and a compatible XKeen/Mihomo core. Back up your settings before starting.

OPKG: создайте папку install на накопителе и поместите в неё архив Entware. На снимке кнопка создания папки и архив выделены красным.OPKG: create an install folder on the drive and place the Entware archive inside. The screenshot marks the new-folder button and archive in red.
- 1
Update KeeneticOS. Under System settings, install the USB, EXT filesystem, open packages, and Netfilter components available for your model.
- 2
Connect a reliable EXT4 drive, assign it to OPKG, and wait for Entware to finish installing.
- 3
Save the Keenetic configuration file. Separately copy /opt/etc/xray/configs/ and /opt/etc/mihomo/ if they already exist.
- 4
Do not expose SSH, the router web interface, or the Mihomo controller to the internet. Keep management on the local network.

«Приоритеты подключений»: создайте отдельную политику XKeen. На снимке выделена её строка; состав подключений у вас может отличаться.Connection priorities: create a separate XKeen policy. Its row is marked in the screenshot; your connection list may differ.
- 1
Open Connection priorities and create a separate XKeen policy.
- 2
Assign one test device to the policy. Do not route the whole home network through the new configuration until it passes validation.
- 3
After a successful test, add the remaining devices to this policy one at a time.
Before replacing filesBack up these directories: /opt/etc/xray/configs/ · /opt/etc/mihomo/
This is your quick rollback.
Entware: which archive to download and where to place it
Find the exact KN-xxxx model code on the router label. A name such as Giga or Ultra is not enough because different generations use different processors. Check the architecture in the documentation for your exact model.
Choose one Entware installer
ARM64 / aarch64 — aarch64-installer.tar.gz
MIPS little-endian / mipsel — mipsel-installer.tar.gz
MIPS big-endian / mips — mips-installer.tar.gz
Example models and architectures
aarch64 (ARM64): Peak KN-2710, Ultra KN-1811, Giga KN-1012, Hopper KN-3811, Hopper SE KN-3812.
mipsel: Giga KN-1010 / KN-1011, Ultra KN-1810, Extra KN-1710 / KN-1711 / KN-1713, Hopper KN-3810.
mips: Ultra SE KN-2510, Giga SE KN-2410, DSL KN-2010, Duo KN-2110, Hopper DSL KN-3610.
Match the exact KN code: for example, Hopper KN-3810 is mipsel while Hopper KN-3811 is aarch64. If your model is not listed, do not choose an archive by a similar product name.
Model examples: RockBlack Keenetic Wiki. This is a reference list, not confirmation that ManRed tested every router.
For example, Hopper KN-3811 and Titan / Ultra KN-1811 use aarch64. The archive installs Entware packages; it is not a VPN configuration. Do not run or extract it on a Windows computer.
- 1
Back up the USB drive. Prepare an EXT4 partition; formatting erases its contents. Connect the drive to the Keenetic router.
- 2
Install the USB, EXT filesystem, and open package support components. Enable SMB for copying files over the network.
- 3
Open the drive through the Keenetic web interface or Windows network access. Create an install folder at the partition root.
- 4
Copy the selected .tar.gz file unchanged into the install folder. Do not place multiple installers there.
- 5
Open Apps → OPKG, enable package support, and select the prepared partition. Apply the settings. If an init script field is shown, enter /opt/etc/init.d/rc.unslung.
- 6
Wait for Entware installed in the system log. Do not disconnect the drive during installation. If installation does not finish, check the archive architecture, Internet access, and filesystem.

OPKG: создайте папку install на накопителе и поместите в неё архив Entware. На снимке кнопка создания папки и архив выделены красным.OPKG: create an install folder on the drive and place the Entware archive inside. The screenshot marks the new-folder button and archive in red.
When installation finishes, open the Entware shell and verify the package manager:
Check the Entware package manager status in your router administration tools. If Entware is already installed and working, do not reinstall it.
If Entware is already installed and opkg works, do not reinstall it; continue to XKeen. Installation in internal storage is available only on some models and does not replace these USB instructions.
Verified against the vendor documentation: installing Entware on USB. Open the support section for your exact model.
Prepare XKeen
Connect to Entware over SSH. Check the architecture and free space first. Review the downloaded installer before running it.

MobaXterm → Session → SSH. Укажите локальный адрес своего роутера, пользователя и настроенный SSH-порт. 192.168.1.1 и 22 на снимке — пример.MobaXterm → Session → SSH. Enter your router’s local address, user and configured SSH port. 192.168.1.1 and 22 in the screenshot are examples.
XKeen setup requires an administrator. If it is not installed, ask support for the approved installation package for your router model. Do not run installers from unverified sources.
VLESS with Xray / XKeen
The generator creates separate Xray files and rules: Russian destinations and the local network go direct, while all other TCP/UDP goes through the VPN.
- 1
Open the ManRed generator and its Xray tab. Paste one complete VLESS link with UUID, address, port, and Reality/TLS parameters.
- 2
Download the prepared settings. Your link is processed only in your browser.
- 3
Apply the settings using your app instructions, or contact your router administrator.
- 4
After connecting, check your public IP and DNS at manreddns.tech.
Ask your router administrator to select Xray, validate the configuration and check the service status. Keep a backup before making changes.
Use the DNS settings included in your subscription. After connecting, check your public IP and DNS at manreddns.tech.
Hysteria2 on Keenetic
Hysteria2 uses QUIC/UDP. Xray needs a current compatible fork; use Mihomo if the installed core does not support Hysteria2.
Leave AUTO selected. If a connection fails, update the app and subscription, then contact support.
Measurements from Russia: Hysteria2 latency was 66–98 ms to European nodes; REALITY was close, and H3 was 30–40 ms slower. Results depend on the network and node; this is not a throughput guarantee.

Это файлы Mihomo: папка /opt/etc/mihomo/ и config.yaml, отмеченные стрелками. Снимок относится к этому разделу Mihomo, а не к JSON-файлам Xray.These are Mihomo files: the arrows mark /opt/etc/mihomo/ and config.yaml. This screenshot belongs to this Mihomo section, not the Xray JSON files.

Пример журнала запуска Mihomo. Сообщение «Прокси-клиент запущен» показано для ориентира; оно не заменяет проверку маршрутов и DNS на вашем устройстве.Example Mihomo startup log. The proxy-client-started message is shown as a reference; it does not replace route and DNS checks on your device.
- 1
Keep one test device in the XKeen policy.
- 2
Paste the hysteria2:// or hy2:// link into the generator. A server, UDP port, password, and valid SNI are required.
- 3
For a compatible Xray build, download the JSON set. For regular XKeen, choose Mihomo and download config.yaml.
- 4
Check the syntax with the installed core before restarting. If validation fails, keep your working profile and send the error to support.
- 5
After launch, test a regular website, a Russian destination, DNS, and an app using UDP/QUIC.
If the carrier limits UDP
Hysteria2 may fail to connect even when the server is working. Keep your working profile and contact support. Do not disable certificate verification.
Mihomo and the local panel
Mihomo accepts several links, can select an available server, and supports Hysteria2 without a special Xray fork.

Пример панели Zashboard: группы и выбранные выходы. Названия и задержки относятся к сохранённому снимку, а не к текущему состоянию вашей сети.Example Zashboard panel: groups and selected exits. Names and latency values belong to this saved screenshot, not your current network state.
- 1
Add up to 10 VLESS REALITY, VLESS XHTTP-REALITY, VLESS XHTTP-H3, or Hysteria2 links in the Mihomo tab. Each server can have a custom name.
- 2
Both modes include AUTO and manual selection. Advanced also includes FALLBACK.
- 3
Download config.yaml to /opt/etc/mihomo/config.yaml. The browser creates the secret locally, and the controller listens only on 127.0.0.1.
- 4
Switch XKeen to Mihomo, validate the file, and start the core. Open Zashboard only through a local SSH tunnel.
Ask your administrator to select Mihomo and check its status. Open the dashboard only through a local SSH tunnel; do not expose it to the internet.
The Subscription URL tab creates a proxy-provider with the selected interval. ManRed does not fetch the subscription; the router refreshes it directly.
Node DNS through the tunnel
VPN DNS: Cloudflare and Quad9 through the tunnel. RU domains use a separate subscription rule: Yandex 77.88.8.8 directly.
Keenetic/XKeen: do not leave Keenetic system DNS on Cloudflare/Quad9 DoT for VPN devices: queries may bypass the tunnel (for example, “Cloudflare RU” in a check). Disable this DoT for the VPN policy and use the subscription DNS through the tunnel, then check DNS.
- 1
Use the DNS settings in your subscription: they are applied with the connection.
- 2
Connect the VPN and open manreddns.tech: compare your public IP and DNS results.
- 3
If you find inconsistencies, save the check result and contact support.
How to read a DNS test
DNS results alone do not prove the tunnel is working; check the public IPv4 and IPv6 separately.
VPN DNS: Cloudflare and Quad9 through the tunnel. RU domains use a separate subscription rule: Yandex 77.88.8.8 directly. Client DNS settings do not change the system resolvers on VPN servers.
Leak validation and safe rollback
A Connected label on the router is not enough. Validate the file with the core, then use one device to confirm the actual IPv4, IPv6, DNS, and WebRTC routes.

Пример открытой SSH-сессии к роутеру. Введите диагностические команды из текста ниже; сам снимок не подтверждает успешную проверку.Example open SSH session to the router. Run the diagnostic commands from the text below; the screenshot itself does not prove a successful check.
- 1
Validate config.yaml or JSON with the core actually installed on the router.
- 2
Start Mihomo or Xray/XKeen and assign the policy to one test device only. Confirm that this exact device is assigned to the XKeen policy.
- 3
On a non-Russian test site, the external IPv4 address must match the selected ManRed node. Your home IP address means the VPN route is not working.
- 4
Public IPv6 must use the VPN or be absent. If a test shows the ISP IPv6 address, temporarily disable IPv6 for the test device or its segment until a complete IPv6 tunnel is configured.
- 5
Compare the DNS test results with the imported profile settings. The public WebRTC address must match the VPN exit.
- 6
Check a Russian destination: in RU DIRECT mode it must use the regular route. Then test an application that uses UDP/QUIC.
- 7
If any leak appears, do not connect other devices. Stop the selected core, restore the saved files and previous policy, and keep the controller private during diagnostics.