Skip to content

This guide is for setting up a Keenetic router. If you are connecting a phone for the first time, start with the simple phone guide. You do not need to configure a router for that. Connect a phone: step-by-step guide →

MANRED VPN · KEENETIC GUIDE

Installation guide
for Keenetic.

A clear sequence: prepare the router, install XKeen, import the configuration, set up encrypted DNS, and validate safely.

ManRed VPN

The real KeeneticOS interface and router management from Windows are shown below.The screenshots illustrate where controls are located; profile names and addresses shown in them are not ManRed servers.

01 · PREPARATION

Prepare Keenetic

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

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.
  1. 1

    Update KeeneticOS. Under System settings, install the USB, EXT filesystem, open packages, and Netfilter components available for your model.

  2. 2

    Connect a reliable EXT4 drive, assign it to OPKG, and wait for Entware to finish installing.

  3. 3

    Save the Keenetic configuration file. Separately copy /opt/etc/xray/configs/ and /opt/etc/mihomo/ if they already exist.

  4. 4

    Do not expose SSH, the router web interface, or the Mihomo controller to the internet. Keep management on the local network.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.
  1. 1

    Open Connection priorities and create a separate XKeen policy.

  2. 2

    Assign one test device to the policy. Do not route the whole home network through the new configuration until it passes validation.

  3. 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.

02 · BEFORE INSTALLING XKEEN

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.

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. 1

    Back up the USB drive. Prepare an EXT4 partition; formatting erases its contents. Connect the drive to the Keenetic router.

  2. 2

    Install the USB, EXT filesystem, and open package support components. Enable SMB for copying files over the network.

  3. 3

    Open the drive through the Keenetic web interface or Windows network access. Create an install folder at the partition root.

  4. 4

    Copy the selected .tar.gz file unchanged into the install folder. Do not place multiple installers there.

  5. 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. 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.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.

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.

03 · CORE

Prepare XKeen

Connect to Entware over SSH. Check the architecture and free space first. Review the downloaded installer before running it.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.

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.

04 · XRAY

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.

Xray · JSON files
Xray · JSON filesAction guide. Detailed commands and checks are in the text below.
  1. 1

    Open the ManRed generator and its Xray tab. Paste one complete VLESS link with UUID, address, port, and Reality/TLS parameters.

  2. 2

    Download the prepared settings. Your link is processed only in your browser.

  3. 3

    Apply the settings using your app instructions, or contact your router administrator.

  4. 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.

05 · QUIC / UDP

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.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.
  1. 1

    Keep one test device in the XKeen policy.

  2. 2

    Paste the hysteria2:// or hy2:// link into the generator. A server, UDP port, password, and valid SNI are required.

  3. 3

    For a compatible Xray build, download the JSON set. For regular XKeen, choose Mihomo and download config.yaml.

  4. 4

    Check the syntax with the installed core before restarting. If validation fails, keep your working profile and send the error to support.

  5. 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.

06 · MIHOMO

Mihomo and the local panel

Mihomo accepts several links, can select an available server, and supports Hysteria2 without a special Xray fork.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.
  1. 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. 2

    Both modes include AUTO and manual selection. Advanced also includes FALLBACK.

  3. 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. 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.

07 · NODE DNS

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. 1

    Use the DNS settings in your subscription: they are applied with the connection.

  2. 2

    Connect the VPN and open manreddns.tech: compare your public IP and DNS results.

  3. 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.

08 · VALIDATION

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.

Исходные снимки интерфейса. Версия и оформление могут отличаться.Original interface screenshots. Version and appearance may differ.
  1. 1

    Validate config.yaml or JSON with the core actually installed on the router.

  2. 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. 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. 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. 5

    Compare the DNS test results with the imported profile settings. The public WebRTC address must match the VPN exit.

  6. 6

    Check a Russian destination: in RU DIRECT mode it must use the regular route. Then test an application that uses UDP/QUIC.

  7. 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.