oixClash installation and configuration
For Merlin firmware with the KoolCenter software center (Merlin mods and modified stock firmware). Use the build linked by the download center. oixClash takes over LAN devices with the configuration oixCloud delivers, so devices need no setup; other subscriptions cannot be imported. The plugin page is in Chinese, so its labels below are given in Chinese with a translation.
1. Choose the package
Open 软件中心 (Software Center) in the router admin page, check the platform it reports, then click the matching package below to download it directly. You do not need to open GitHub:
| Platform | Package | Common models |
|---|---|---|
| hnd | Download | Most models, such as RT-AX86U, RT-AX88U, GT-AX6000 and GT-AX11000 |
| mtk | Download | TUF-AX4200Q, TX-AX6000, RT-AX57 Go and similar |
| qca | Download | RT-AX89X |
| ipq32 | Download | ZenWiFi BD4 |
| ipq64 | Download | Model code TUF_6500 |
These links follow the latest stable release. You can also download the SHA256 checksums to verify file integrity.
The package is about 18 MB and needs room on JFFS. Models with 512 MB of RAM or more can use the defaults; smaller models, including 256 MB routers, can use low-memory mode, available from 0.0.3. In normal mode, the extracted core occupies about 48 MB of RAM, with additional memory used by the running proxy, GeoIP data and dashboard.
2. Install offline
- Open 软件中心 → 离线安装 (Software Center → Offline Install) and upload the downloaded package.
- Keep the file name. Remove any
(1)a browser adds to repeated downloads, or the software center refuses the package. - When the installation finishes, return to the software center and open oixClash.
If the platform does not match, the software center says so and stops; install the package for your platform instead.
3. Sign in to oixCloud
For the first sign-in under oixCloud 账号, choose email and password to create the dedicated oixClash token. You can use that Access Token afterward. See first sign-in for obtaining an oixCloud password after Google registration and restricting client password sign-in.
Sign-in methods:
- 登录令牌 (sign-in token): paste the access token copied from the oixCloud website or app, not a subscription URL.
- 邮箱和密码 (email and password): the password is only used for this sign-in and is not stored on the router.
After signing in, the page shows the account, plan, expiry date and traffic. A token from another oixCloud client is swapped for oixClash's own token, so its node filter is kept separately; tokens created on the website cannot be swapped and are used as they are.
4. Turn on the proxy
- Under 运行 (Run), turn on the switch and click 保存并应用 (Save and Apply).
- Wait for the log to report a successful start. The first run also downloads GeoIP data and takes a moment.
- 运行状态 (Status) shows the core as running with its version.
oixClash takes over TCP and DNS of devices on the main LAN. To proxy UDP such as games and voice calls, tick UDP 转发 (UDP forwarding) and save; it only works once the status reads that UDP is forwarded. Without UDP forwarding, keep 屏蔽 QUIC (Block QUIC) on so browsers fall back to TCP, which is proxied.
Small-memory routers
From oixClash 0.0.3, 低内存模式 (Low-memory Mode) turns on automatically at first installation when detected total memory is below 384 MB. Upgrades preserve an existing choice. You can also change it under 运行 → 低内存模式.
- Enable 低内存模式 and click 保存并应用. Applying settings stops the proxy before checking the configuration, so LAN traffic temporarily goes direct. It stays direct if the configuration check fails.
- After startup, check the text below this option. 内核在 JFFS 上运行 means the core file runs from flash. JFFS 空间不足,内核仍解压到内存 means it is still extracted to RAM; free space used by unneeded plugins, then save and verify again.
- Click 自检 (Self-check), check free JFFS space and available memory, then verify a LAN connection as described below.
| Change | What to consider |
|---|---|
| Store the core and dashboard on JFFS when space permits | Reduces memory used by files but needs more flash space. The proxy process still uses RAM. |
| Use a smaller GeoIP database | Covers only CN and a few other regions. Check matching if custom GEOIP rules reference other regions. |
| Reclaim memory more aggressively | Reduces memory peaks but may cost CPU time. It does not guarantee every configuration will run on a 256 MB router. |
After disabling low-memory mode, a core already stored on JFFS stays there. The next plugin update restores the compressed archive for extraction to RAM at run time.
5. Verify with a LAN device
- Let the test device use the gateway and DNS the router hands out, and turn off the browser's secure DNS before testing.
- Visit a site that should go direct and one that needs the proxy.
- Click 打开控制面板 (Open Dashboard) and check the destination, matched rule and outbound in the connection list.
Traffic of the router itself and of guest networks does not pass through oixClash. Devices that use IPv6 bypass the proxy; the status warns about it, and setting the connection type on the IPv6 page to disabled is recommended.
6. Nodes, filters and updates
- Switch nodes: click 打开控制面板 and pick a node in a proxy group; the choice survives restarts.
- Node filter: 订阅管理 (Subscription Management) in the account row opens the website editor. After saving, click 更新节点 (Update Nodes) in the plugin to fetch them now, or wait for the daily update. The filter applies to every oixClash signed in to the same account; see Subscriptions and filters.
- Update the plugin: while it is turned on, the plugin checks for a new version daily, or click 检查更新 (Check for Updates) next to the version. When 更新到 x.y.z (Update to x.y.z) appears, click it; the plugin downloads and verifies the package before installing, and the proxy pauses briefly.
If the in-plugin updater cannot verify a package, or an older self-check reports missing sha256sum, download the matching package from this page and update through 软件中心 → 离线安装 (Software Center → Offline Install). Do not install a package with a checksum mismatch; download it again and verify SHA256.
7. Edit account custom rules
From oixClash 0.0.2, 自定义规则 (Custom Rules) edits the same account rules as the website. These rules precede the defaults. Saving affects other clients that use this account rule list. Saving an empty editor deletes the entire account list, so keep a copy of anything you need first.
- Sign in and click 读取面板规则 (Read Panel Rules). Wait until the status confirms that the rules are ready to edit.
- Enter one standard Surge-format rule per line, without
rules:or a leading dash. Lines starting with#or//are comments. UseDIRECT,REJECT, or a policy group that exists in the configuration. - Click 保存到面板并更新 (Save to Panel and Update), then read the log. A running plugin updates and checks the configuration; a stopped plugin fetches and checks it when next enabled.
- Make a new connection from a LAN device and verify the matched rule and outbound in the dashboard.
DOMAIN-SUFFIX,example.com,DIRECT
DOMAIN,ads.example.com,REJECTThe router editor handles up to 8192 UTF-8 bytes. Some characters use multiple bytes. Edit longer lists on the website and then click 更新节点 (Update Nodes); do not truncate the list to fit the editor.
| Message or situation | What to do |
|---|---|
| Another page changed the rules | Keep a separate copy of your draft, read the latest rules, then merge your changes instead of overwriting the newer content. |
| Saved to the panel, but not applied on the router | The website list has changed. Fix the rule or network problem, then click 更新节点 and verify a connection. |
| Reading fails, or this version has no editor | Edit account rules on the website, then click 更新节点. Reading and saving within the plugin also require support from the website. |
Reading again replaces unsaved edits, so review the confirmation first. Account rules and node filters have different sharing scopes; see Subscriptions and filters.
Troubleshooting
| Symptom | Next step |
|---|---|
| Offline install reports a platform mismatch or a bad file name | Download the package for the platform the software center reports and remove (1) from the file name |
| 运行状态 shows 登录已失效 (sign-in expired) | Click 退出登录 (Sign out), then sign in again |
| Status shows 账号没有可用的套餐 (no active plan) | Renew, then click 保存并应用 |
| Status shows 路由器时间尚未同步 (router time not synchronized), or the log says the time is wrong | Check the time zone and NTP server under Administration → System; the plugin starts by itself once the time syncs |
| Not enough memory; the core cannot start | Enable low-memory mode, close unneeded plugins, then click 保存并应用. After a memory failure, the watchdog retries every 30 minutes. |
| Low-memory mode is on, but the core is still extracted to RAM | Check JFFS space and the plugin log, free flash space, then save again. Enabling the option alone does not confirm a successful move. |
| The in-plugin updater cannot verify a package | Download the package for your platform and install it offline; do not skip integrity verification. |
| UDP forwarding does not take effect | Click 自检 (Self-check) and look at the TPROXY and policy routing items; firmware without support only loses UDP, TCP stays proxied |
| Conflict with fancyss or MerlinClash | Turn off the other proxy plugin; only one can run |
| The router runs but a device still misbehaves | Check the device's gateway, DNS and IPv6, then the dashboard's connection list |
Before contacting support, click 自检 and send its result together with the plugin log from 查看日志 (View Log), with account details hidden.