Board logo

標題: OpenClash on OpenWrt [打印本頁]

作者: 张无忌    時間: 2025-11-1 09:35     標題: OpenClash on OpenWrt

本帖最後由 张无忌 於 2026-2-28 05:31 編輯

OpenClash 本身出自大陆,像 PassWall 一样,由于我本身不太熟悉 OpenClash,所以一步一般来。OpenClash 的资料中,[1] 能给出详细资料,在 [2],只有 OpenClash 最有用 [3]。想起  OpenClash,就像我开 GL-MT6000 一样,慢慢就把 OpenClash 结合起来;有些人说先安装 PassWall,然后安装 OpenClash,可以这样安装畅顺,但是什么原因?

References:
[1] OpenClash 设置方案
[2] What is Clash?
[3] https://github.com/vernesong/OpenClash/releases
作者: 张无忌    時間: 2025-11-1 09:35

本帖最後由 张无忌 於 2026-4-26 02:49 編輯

Contents

APK
OpenWrt apk to mainland China repository servers
OpenClash on OpenWrt apk

OPKG
OpenClash on GL.iNet
OpenClash on GL.iNet(ImmortalWrt)
OpenClash on GL.iNet op24 + k9
OpenClash on GL.iNet op24 + ImmortalWrt
OpenClash on OpenWrt

大陆牧牛 V-Ninja
牧牛 Ninja node
OpenClash V-Ninja on GL.iNet
OpenClash V-Ninja on OpenWrt opkg
OpenClash V-Ninja on OpenWrt apk
V-Ninja on Windows
Change of OpenClash to OpenClash-V-Ninja opkg
OpenClash + Ninja Connector
OpenClash V-Ninja on ImmortalWrt


https://clash.wiki/
https://clash.skk.moe/

OpenClash 初步效果


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2025-11-1 09:36

本帖最後由 张无忌 於 2026-4-21 13:36 編輯

OpenClash on OpenWrt
GL-MT6000 OpenWrt 24.10.6(CPU % Load Avg %)
GL-MT3000 OpenWrt 24.10.6(load avg 12% - 62%)
Cudy TR3000 256MB v1 24.10.6(load avg 46% - 61%)
OpenClash v0.47.046 -->v0.47.088

以前都是安装 PassWall 比较多,如果 OpenClash 就是很少,主要不知道怎样安装,现在有了他的源码 [1],发现安装很方便。OpenClash 主要在大陆科学上网用,在香港是什么用,我暂时不知道,如果你们知道告知。

A. 大陆安装 OpenWrt repository server,在香港安装不用
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
複製代碼
..

B. dnsmasq 改变到 dnsmasq-full
  1. opkg update
  2. opkg remove dnsmasq && opkg install dnsmasq-full
複製代碼
..

C. Download openclash.ipk
  1. wget -O /tmp/openclash.ipk https://github.com/vernesong/OpenClash/releases/download/v0.47.046/luci-app-openclash_0.47.046_all.ipk
複製代碼
..

D. Install
  1. #nftables
  2. opkg update
  3. opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  4. opkg install /tmp/openclash.ipk
複製代碼
..

E. 安装机场

图1:LuCI 里选 Service -> OpenClash
[attach]2513926[/attach]

图2:按 "确定"
[attach]2513928[/attach]

图3:选一个比较低
[attach]2513929[/attach]

图4:选 "Server Logs",直至有 "Error: Config Not Found"
[attach]2513930[/attach]

图5:在 OpenClash,选 Overviews 上半部
[attach]2513931[/attach]

图6:Overviews 下半部,选 Add Config File
[attach]2513932[/attach]

图7:Add Config 画面,选 Subscribe Link
[attach]2513933[/attach]

图8:输入机场 URL,然后点击 Add Config
[attach]2513934[/attach]

图9:点击 "确定"
[attach]2513935[/attach]

图10:Overviews 上半部
[attach]2513936[/attach]

图11:Overviews 下半部
[attach]2513937[/attach]

图12:Logout and re-enter login
[attach]2513938[/attach]

Reference:
[1] vernesong / OpenClash


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2025-11-1 09:36

本帖最後由 张无忌 於 2026-4-11 05:40 編輯

OpenClash 初步效果

2026-02-28
GL.iNet GL-TM6000 4.8.3(21.02),OpenClash 0.47.055

1. 用行中突然香港机场不能工作,自动换了台湾机场,原先 YouTube 要自己 refresh 一下,才能工作。
2. 第二天测试,去 HKEPC 看,要进几秒才能完成,而且 GL.iNet AdGuard Home 不能工作,reboot 都不行。GL.iNet AdGuard Home 可能 DHCP and DNS forward 用 127.0.0.1#5353 有冲突。
3. 改用 家里 OpenWrt(24.10.5) PassWall(Cudy TR3000 256MB v1)就没有问题。
4. 现在 Home PassWall off,用  subnet GL-TM6000(21.02) PassWall(26.1.13)[1],就好,AdGuard Home 也 OK。

Reference:
[1] PassWall on GL.iNet(悟空)


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2025-11-1 09:37

本帖最後由 张无忌 於 2026-4-11 05:42 編輯

用了新版OpenClash,简便使用教程让你得心应手
https://www.youtube.com/watch?v=QNf8mQ9ZsAo

#################


Reference:
[1] 老牌机场牧牛云携V-Ninja协议强势回归-稳定高速的科学上网新选择!

作者: 张无忌    時間: 2026-2-27 12:11

本帖最後由 张无忌 於 2026-4-19 13:23 編輯

OpenClash on GL.iNet
GL-MT6000(21.02)4.8.4 check
GL-MT5000(21.02)4.8.5 check
GL-MT3000(21.02)4.8.1 ok
GL-MT3600BE(21.02)4.8.7 check
GL-BE6500(23.05)4.8.7 ok
GL-BE3600(23.05)4.8.3 ok
OpenClash 0.47.055 --> 0.47.088

/etc/opkg/distfeeds.conf,com -> cn
  1. src/gz glinet_core https://fw.gl-inet.cn/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981
  2. src/gz glinet_gli_pub https://fw.gl-inet.cn/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.cn/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages
複製代碼
..

GL-BE6500,GL-BE3600(23.05) Qualcomm 安装
/etc/opkg.conf add
  1. arch all 1
  2. arch noarch 1
  3. arch aarch64_cortex-a53 5
  4. arch aarch64_cortex-a53_neon-vfpv4 10
複製代碼
..

Install
  1. wget https://github.com/vernesong/OpenClash/releases/download/v0.47.055/luci-app-openclash_0.47.055_all.ipk -O /tmp/openclash.ipk
複製代碼
..

Install
  1. #nftables
  2. opkg update
  3. opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  4. opkg install /tmp/openclash.ipk
複製代碼
..

OpenClash 自动更新到 0.47.071(GL-BE3600)。

Ignore error
Collected errors:
* opkg_install_cmd: Cannot install package kmod-nft-tproxy.

Reference:
[1] https://github.com/vernesong/OpenClash/releases/


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-2-27 12:11

本帖最後由 张无忌 於 2026-4-17 13:01 編輯

OpenClash on GL.iNet(ImmortalWrt)
GL-MT6000(21.02)4.8.4 check
GL-MT5000(21.02)4.8.5 check
GL-MT3000(21.02)4.8.1 check
GL-MT3600BE(21.02)4.8.7 check
GL-BE6500(23.05)4.8.7
GL-BE3600(23.05)4.8.3

GL-BE6500,GL-BE3600,/etc/opkg.conf added
  1. arch all 1
  2. arch noarch 1
  3. arch aarch64_cortex-a53 5
  4. arch aarch64_cortex-a53_neon-vfpv4 10
複製代碼
..

GL-BE6500,GL-BE3600,加第三特殊插件 ImmortalWrt method,/etc/opkg/customfeeds.conf
  1. src/gz base https://mirrors.vsean.net/openwrt/releases/23.05.6/packages/aarch64_cortex-a53/base
  2. src/gz luci https://mirrors.vsean.net/openwrt/releases/23.05.6/packages/aarch64_cortex-a53/luci
  3. src/gz packages https://mirrors.vsean.net/openwrt/releases/23.05.6/packages/aarch64_cortex-a53/packages
  4. src/gz routing https://mirrors.vsean.net/openwrt/releases/23.05.6/packages/aarch64_cortex-a53/routing
  5. src/gz telephony https://mirrors.vsean.net/openwrt/releases/23.05.6/packages/aarch64_cortex-a53/telephony
複製代碼
..

加第三特殊插件 ImmortalWrt method,/etc/opkg/customfeeds.conf
  1. src/gz base https://mirrors.vsean.net/openwrt/releases/21.02.7/packages/aarch64_cortex-a53/base
  2. src/gz luci https://mirrors.vsean.net/openwrt/releases/21.02.7/packages/aarch64_cortex-a53/luci
  3. src/gz packages https://mirrors.vsean.net/openwrt/releases/21.02.7/packages/aarch64_cortex-a53/packages
  4. src/gz routing https://mirrors.vsean.net/openwrt/releases/21.02.7/packages/aarch64_cortex-a53/routing
  5. src/gz telephony https://mirrors.vsean.net/openwrt/releases/21.02.7/packages/aarch64_cortex-a53/telephony
複製代碼
..

Install
  1. opkg update
  2. opkg install luci-app-openclash
複製代碼
..

自动升级到最新版 0.47.071(GL-BE3600)。


目录 OpenClash on OpenWrt
作者: 321    時間: 2026-2-27 12:23

本帖最後由 321 於 2026-2-27 12:24 編輯

想問下openclash同clash是不是同一種東西?我買了一個二手5G router,瑞展芯片方案並不是openwrt系統,發現內置clash,但由於重來沒有用過clash,所以還沒有入手研究該功能
作者: 张无忌    時間: 2026-2-27 17:09

Clash 是底层,OpenClash 是 Clash 上面的 web UI。

你的 5G router 有 Clash,理应有 web UI,不知道怎样用 Clash?我对 OpenClash 有兴趣,主要它可以与 MikroTik container 用,但是现在都不知道怎了连。
作者: 张无忌    時間: 2026-2-27 17:10

本帖最後由 张无忌 於 2026-4-17 13:04 編輯

OpenClash on GL.iNet op24 + k9
GL.iNet GL-MT6000(24.10.4)4.8.3-op24 ?
GL.iNet GL-MT3000(24.10.4)4.8.x-op24 check
OpenClash

kiddin9 method

大陆安装 OPKG Configuration
/etc/opkg/customfeeds.conf
  1. # add your custom package feeds here
  2. #
  3. # src/gz example_feed_name http://www.example.com/path/to/files
  4. src/gz openwrt_kiddin9 https://dl.openwrt.ai/latest/packages/aarch64_cortex-a53/kiddin9
複製代碼
..

/etc/opkg/distfeeds.conf
  1. src/gz core https://fw.gl-inet.cn/releases/v24.x/24.10.4/mediatek/filogic
  2. src/gz base https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/base
  3. src/gz luci https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/luci
  4. src/gz packages https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/packages
  5. src/gz routing https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/routing
  6. src/gz telephony https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/telephony
複製代碼
..

Test Native OpenWrt 24 version:kiddin9
  1. opkg update
  2. opkg install luci-app-openclash
複製代碼
..


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-2-27 17:11

本帖最後由 张无忌 於 2026-4-17 13:05 編輯

OpenClash on GL.iNet op24 + ImmortalWrt
GL.iNet GL-MT6000(24.10.4) 4.8.3-op24 ?
GL.iNet GL-MT6000(24.10.4)check

OpenClash

ImmortalWrt method

加第三特殊插件 ImmortalWrt method, /etc/opkg/distfeeds.conf (replaced by ImmortalWrt, kept fw.gl-inet.cn )
  1. src/gz base https://mirrors.vsean.net/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/base
  2. src/gz luci https://mirrors.vsean.net/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/luci
  3. src/gz packages https://mirrors.vsean.net/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/packages
  4. src/gz routing https://mirrors.vsean.net/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/routing
  5. src/gz telephony https://mirrors.vsean.net/openwrt/releases/24.10.4/packages/aarch64_cortex-a53/telephony
複製代碼
..

Test Native OpenWrt 24 version:ImmortalWrt
  1. opkg update
  2. opkg install luci-app-openclash
複製代碼
..


目录 OpenClash on OpenWrt
作者: mcjin2001    時間: 2026-3-2 17:42

有沒有約100元的路由器介紹可用openclash?

via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: 张无忌    時間: 2026-3-3 09:07

有沒有約100元的路由器介紹可用openclash?

via HKEPC IR 5.1.14 - Android(5.1.2F)
mcjin2001 發表於 2026-3-2 09:42


可以去 "闲鱼网站" https://www.goofish.com/ 看看,最重要它能刷 OpenWrt,flash 有 128MB 或以上,还有卖家可能提供 OpenWrt + OpenClash 服务 或者 你自己 flash OpenWrt,然后加 OpenClash。
作者: Louis_gre2    時間: 2026-3-3 10:33

有沒有約100元的路由器介紹可用openclash?

via HKEPC IR 5.1.14 - Android(5.1.2F)
mcjin2001 發表於 2026-3-2 17:42


無綫 MTK  router 的話,百元内全新 + 破解可刷 wrt 的,機會係零
作者: mcjin2001    時間: 2026-3-3 14:09

無綫 MTK  router 的話,百元内全新 + 破解可刷 wrt 的,機會係零
Louis_gre2 發表於 2026-3-3 02:33

拿來回大陸看下香港電視,不用全新啦,九成都OK...  

via HKEPC IR 5.1.14 - Android(5.1.2F)
作者: 张无忌    時間: 2026-3-4 15:51

本帖最後由 张无忌 於 2026-4-29 06:46 編輯

OpenClash on OpenWrt apk
GL-TM6000 25.12.1
GL-TM3600BE 25.12.3 pending
GL-TM3000 25.12.1-2 check(CPU 0-5% Load Avg 63%-75%)
Cudy TR3000 256MB v1 25.12.2(CPU 5% load avg 47% - 64%)
OpenClash 0.47.055 --> 0.47.088

在大陆可以按照 OpenClash 和加入机场,不用 reboot,能自动连接。

/etc/apk/repositories.d/distfeeds.list
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼
..

Get luci-app-openclash-0.47.055.apk
  1. wget -O /tmp/openclash.apk https://github.com/vernesong/OpenClash/releases/download/v0.47.055/luci-app-openclash-0.47.055.apk
複製代碼
..

OpenClash
  1. #nftables
  2. apk update
  3. apk add bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
  4. apk add -q --force-overwrite --clean-protected --allow-untrusted /tmp/openclash.apk
複製代碼
..


[1] https://github.com/vernesong/OpenClash/releases


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-10 10:02

本帖最後由 张无忌 於 2026-4-20 00:46 編輯

OpenClash V-Ninja on GL.iNet
GL.iNet GL-MT5000(OpenWrt 21.02)okay
GL.iNet GL-MT3600BE(OpenWrt 21.02)okay
GL.iNet GL-MT3000(OpenWrt 21.02)failed 1 times
GL.iNet GL-MT3000(OpenWrt 24.10)CPU 8% load avg 35% - 40%
######################
GL.iNet(OpenWrt 21.02)简称 V1
GL.iNet op24(OpenWrt 24.10) GL-MT6000 / GL-MT3000 简称 V2

因为大陆的中转机场四月一号很多都不能用,现在我用 OpenWrt OpenClash-Ninja,而一般 GL.iNet 可以用 OpenClash V-Ninja on GL.iNet (V1),而 op-24 version(GL-MT6000 and GL-MT3000)可以用 OpenClash V-Ninja on GL.iNet op-24(V2)。

点击 [1],得图1

图1:ipk,apk,run(iStoreOS),如果 opkg 选 ipk
[attach]2521900[/attach]

图2:luci-app-open-v-ninja_0.47_028_all.ipk.zip,在点击 "下载"
[attach]2521901[/attach]

图3:验证并下载
[attach]2521902[/attach]

图4:立即下载
[attach]2521903[/attach]

在 Downloads folder 有 luci-app-open-v-ninja_0.47.028_all.ipk.zip,用 unzip,得 luci-app-open-v-ninja_0.47.028_all.ipk(directory),在下面 luci-app-openclash_0.47.028_all.ipk。WinSCP 把 file=luci-app-openclash_0.47.028_all.ipk to OpenWrt Linux root。

V1
A1. /etc/opkg/distfeeds.conf,com -> cn
  1. src/gz glinet_core https://fw.gl-inet.cn/releases/mt798x/kmod-4.5.7/aarch64_cortex-a53/mediatek/mt7986
  2. src/gz glinet_gli_pub https://fw.gl-inet.cn/releases/mt798x/packages-4.5/aarch64_cortex-a53/glinet
  3. src/gz glinet_gli_packages https://fw.gl-inet.cn/releases/mt798x/packages-4.5/aarch64_cortex-a53/packages
複製代碼
..

or

V2
A2. 大陆安装 OpenWrt repository server,用 PuTTY 安装
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
複製代碼
..

V1 / V2
B. Opkg update
  1. opkg update
複製代碼
..

V1 / V2
C. Install
  1. #nftables
  2. opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
複製代碼
..

V1 / V2
D. Install luci-app-openclash_0.47.028_all.ipk
  1. opkg install luci-app-openclash_0.47.028_all.ipk
複製代碼
..

图5:Services -> OpenClash (Ninja)
[attach]2521936[/attach]

安装方法,可以参考 [2]。机场链接

图6:【专属】点击复制 Clash V-Ninja 订阅
[attach]2521937[/attach]

图7:OpenClash (Ninja)
[attach]2521942[/attach]

在大陆可以看 YouTube and CCTV5。

References:
[1] v-ninja-for-routers
[2] OpenClash on OpenWrt


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-11 10:56

本帖最後由 张无忌 於 2026-4-15 04:24 編輯

OpenClash V-Ninja on OpenWrt opkg
GL-TM6000 OpenWrt 24.10.6
GL-TM3000 OpenWrt 24.10.6(load avg 37% - 120%)
Cudy TR3000 256MB v1 24.10.6 check

大陆 OpenWrt 24.10.6 可以安装 OpenClash V-Ninja。

A. 大陆安装 OpenWrt repository server,用 PuTTY 安装
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
複製代碼
..

B. Opkg update
  1. opkg update
複製代碼
..

C. dnsmasq 改变到 dnsmasq-full
  1. opkg remove dnsmasq && opkg install dnsmasq-full
複製代碼
..

D. Install
  1. #nftables
  2. opkg install bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
複製代碼
..

E. Install luci-app-openclash_0.47.028_all.ipk,这个 file 从 [1],详实看 [2]
  1. opkg install luci-app-openclash_0.47.028_all.ipk
複製代碼
..

安装需要牧牛的 "【专属】点击复制 Clash V-Ninja 订阅" URL 链接。

References:
[1] v-ninja-for-routers
[2] OpenClash V-Ninja on GL.iNet
[3] OpenClash on OpenWrt


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-12 12:53

本帖最後由 张无忌 於 2026-4-28 07:40 編輯

OpenClash V-Ninja on OpenWrt apk
GL-MT6000 25.12.2 ok(CPU 0% Load Avg 1% - 5%)
GL-MT3600BE 25.12.3 pending
GL-MT3000 25.12.2 ok
Cudy TR3000 256MB v1 check
luci-app-openclash-0.47.028.apk

A. /etc/apk/repositories.d/distfeeds.list
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼
..

B. Apk update
  1. apk update
複製代碼
..

C. Install
  1. #nftables for apk
  2. apk add bash dnsmasq-full curl ca-bundle ip-full ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base
複製代碼
..

D. V-Ninja openclash
  1. apk add --allow-untrusted luci-app-openclash-0.47.028.apk
複製代碼
..

Remarks:
1. "luci-app-openclash-0.47.028.apk" is obtained from https://muniu.app/user
2. 安装需要牧牛的 "【专属】点击复制 Clash V-Ninja 订阅" URL 链接。

##########
apk del luci-app-openclash
但是牧牛不能清除,找出原因



目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-14 11:34

本帖最後由 张无忌 於 2026-4-15 04:25 編輯

V-Ninja on Windows
Windows 10

因为 2026 年 4 月 1 日,开始在大陆机场很多断网,如果你在大陆很多网友都有同一样的感受,"牧牛"机场早在 2025 年就有 V-Ninja,以我一贯用牧牛 shadowsocks(SS)都挺好用,但是从 4 月 1 日,shadowsocks(SS)都不好用了,所以注视了 2025 年的 V-Ninja 了。香港的网友不要用机场,但是你需要用到机场,可以考虑牧牛云。在香港可以打开牧牛网页,但是需要简单的注册,在大陆打不开牧牛的网页,需要其他科学上网,而我可以用 WireGuard client 到香港家里 WireGuard server。

安装程序:
A. (下载 V-Ninja on Windows)
B. (到这里,我们有 "Ninja_2.3.1_x64-setup.exe",下面是安装 Windows Ninja)  
C. (导入 牧牛 V-Ninja 连接)

(下载 V-Ninja on Windows)

1. 图1:V-Ninja 节点/订阅,不同的 Windows,Android,macOS,OpenWrt,Linux
[attach]2522257[/attach]

2. 图2:v-ninja-windows,我选 x64
[attach]2522258[/attach]

3. 图3:点击下载
[attach]2522259[/attach]

4. 图4:验证并下载
[attach]2522260[/attach]

5. 图5:立即下载
[attach]2522261[/attach]

6. 电脑下载得到 "Ninja_2.3.1_x64-setup.exe"

(到这里,我们有 "Ninja_2.3.1_x64-setup.exe",下面是安装 Windows Ninja)

7. 图6:看到这里不用怕,点击左上角 "更多信息"
[attach]2522267[/attach]

8. 图7:点击 "仍要运行"
[attach]2522268[/attach]

9. 图8:点击 "是"
[attach]2522294[/attach]

10. 图9:点击 OK
[attach]2522269[/attach]

11. 图10:点击 "下一步"
[attach]2522271[/attach]

12. 图11:点击 "下一步"
[attach]2522272[/attach]

13. 图12:点击 "安装"
[attach]2522273[/attach]

14. 图13:点击 "下一步"
[attach]2522274[/attach]

15. 图14:点击 "完成"
[attach]2522275[/attach]

16. 点击 "是"
[attach]2522295[/attach]

17. 图16:Clash V-Ninja 图案
[attach]2522276[/attach]

18. 图17:Clash V-Ninja Dashboard
[attach]2522277[/attach]

(导入 牧牛 V-Ninja 连接)

19. 图18:点击 "Ninja 节点/订阅",选机场 "复制 Ninja 订阅(主线路)"
[attach]2522284[/attach]

20. 图19:放入机场 URL 连接,点击 "接入"
[attach]2522298[/attach]

21. 图20:MUNIUCLOUD.yaml
[attach]2522286[/attach]

22. 图21:MUNIUCLOUD.yaml panel dashboard,点击 "系统代理"
[attach]2522287[/attach]

23. 图22:MUNIUCLOUD.yaml panel dashboard 有信号!!!
[attach]2522288[/attach]

24. 图23:"自动选择"  选 "日本 04(专线;电信)"
[attach]2522289[/attach]

25:图24:YouTube Premium JP
[attach]2522290[/attach]


Reference:
[1] https://muniu.pro/user

目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-15 22:36

本帖最後由 张无忌 於 2026-4-15 15:24 編輯

牧牛 Ninja node

以前用 shadowsocks,一般的 V2Ray,Xray,sing-box 都有 standard shadowsocks protocol,现在牧牛用自己 Ninja protocol,输入的(<server hostname 1>,<port 1>,<node_password 1>),输出的到 OpenClash-V-Ninja 变成(<server hostname 2>,<port 2>,<node_password 2>)。

输入:发过来的 code
  1. proxies:
  2.   -
  3.     name: '香港 01(公网;智能)'
  4.     type: ninja
  5.     server: <server hostname 1>
  6.     port: <port 1>
  7.     method: aes-128-gcm
  8.     password: <password>
  9.     node_password: <node_password 1>
  10.     udp: true
  11.     tls: true
複製代碼
..

输出:在 OpenClash-V-Ninja 改为
  1. proxies:
  2. - name: 香港 01(公网;智能)
  3.   type: ninja
  4.   server: <server hostname 2>
  5.   port: <port 2>
  6.   method: aes-128-gcm
  7.   password: <password>
  8.   node_password: <node_password 2>
  9.   udp: true
複製代碼
..


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-19 11:27

本帖最後由 张无忌 於 2026-4-20 23:40 編輯

Change of OpenClash to OpenClash-V-Ninja opkg
GL-MT3000 25.10.6

1. 如果按照 OpenClash 把它卸下
图1:
[attach]2522738[/attach]

2. 一定要 reboot

3. 下载 V-Ninja luci-app-openclash_0.47.028_all.ipk

4. 按照 luci-app-openclash_0.47.028_all.ipk
  1. opkg update
  2. opkg install luci-app-openclash_0.47.028_all.ipk
複製代碼
..


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-22 12:16

本帖最後由 张无忌 於 2026-4-22 04:51 編輯

OpenWrt apk to mainland China repository servers

Tsinghua University TUNA Association
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼
Back to APK Configuration settings
  1. sed -i 's_https\?://mirrors.tuna.tsinghua.edu.cn/openwrt_https://downloads.openwrt.org_' /etc/apk/repositories.d/distfeeds.list
複製代碼
..

Shanghai Jiao Tong University
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirror.sjtu.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼
Back to APK Configuration settings
  1. sed -i 's_https\?://mirror.sjtu.edu.cn/openwrt_https://downloads.openwrt.org_' /etc/apk/repositories.d/distfeeds.list
複製代碼
..

University of Science and Technology of China
  1. sed -i 's_https\?://downloads.openwrt.org_https://mirrors.ustc.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list
複製代碼
Back to APK Configuration settings
  1. sed -i 's_https\?://mirrors.ustc.edu.cn/openwrt_https://downloads.openwrt.org_' /etc/apk/repositories.d/distfeeds.list
複製代碼
..


OpenWrt /etc/apk/repositories.d/distfeeds.list
  1. https://downloads.openwrt.org/releases/25.12.2/targets/mediatek/filogic/packages/packages.adb
  2. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/base/packages.adb
  3. https://downloads.openwrt.org/releases/25.12.2/targets/mediatek/filogic/kmods/6.12.74-1-60d938adcb727697d3015e4285d4c290/packages.adb
  4. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/luci/packages.adb
  5. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/packages/packages.adb
  6. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/routing/packages.adb
  7. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/telephony/packages.adb
  8. https://downloads.openwrt.org/releases/25.12.2/packages/aarch64_cortex-a53/video/packages.adb
複製代碼
..


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-23 18:03

本帖最後由 张无忌 於 2026-4-24 01:43 編輯

OpenClash + Ninja Connector
GL.iNet GL-BE3600BE 4.8.7(21.02)ok
GL.iNet GL-BE6500 4.8.5(23.05)ok

之前的 OpenClash-V-Ninja,就是定 OpenClash 0.47.028,而且 OpenClash 不断更新,到今天已经 0.47.088 了,所以牧牛出一个 version "Ninja Connector" + 一般的 OpenClash,安装程序:

1. 安装 OpenClash

2. 安装 luci-app-ninja-connector_2.1.2_aarch64.ipk

3. "下载订阅","下载 Ninja 订阅","订阅 URL"  URL 先安装 Ninja 节点

4. "合并配置","合并 Clash 配置" 输入牧牛 Clash URL,"输出文件名=config-ninja.yaml"

5. 用 OpenClash 加其他一般 URL


目录 OpenClash on OpenWrt
作者: 张无忌    時間: 2026-4-26 09:55

本帖最後由 张无忌 於 2026-4-26 06:42 編輯

OpenClash V-Ninja on ImmortalWrt

因为之前都是英文 OpenWrt,而这次用中文 ImmortalWrt,以前都是用英文。

大陆有不少的网友做 x86 如 I1900,于是用 ImmortalWrt。

图1:改变黑底白字,主题=Bootstrap,点击 "保存并应用"
[attach]2523457[/attach]

图2:出来黑底白字,点击 "常规设置"
[attach]2523458[/attach]

图3:检查本地时间,如果不对就点击 "同步浏览器时间",再不行点击 "与 NTP 服务器同步"
[attach]2523459[/attach]

图4:现在是状态
[attach]2523460[/attach]

图5:软件包更新 opkg update
[attach]2523461[/attach]

图6:在牧牛云,点击 "下载 OpenClash-Ninja (路由器 openwrt)"
[attach]2523462[/attach]

图7:在 opkg 选 luci-app-ninja_0.47.028_all.ipk.zip
[attach]2523463[/attach]

图8:点击 "下载"
[attach]2523464[/attach]

图9:点击 "验证并下载"
[attach]2523465[/attach]

图10:点击 "立即下载"
[attach]2523466[/attach]

图11:在 folder 里,出现 "luci-app-ninja_0.47.028_all.ipk.zip",用 unzip luci-app-ninja_0.47.028_all.ipk.zip 变成 luci-app-ninja_0.47.028_all.ipk
[attach]2523467[/attach]

图12:手动安装软件包 "luci-app-ninja_0.47.028_all.ipk"
[attach]2523468[/attach]

图13:有 error,是牧牛云问题,之前是好的,在我的 folder 有备份
[attach]2523469[/attach]

图14:正在上传文件,点击 "上传"
[attach]2523470[/attach]

图15:点击 "安装"
[attach]2523471[/attach]

图16:点击 "退去"
[attach]2523472[/attach]

图17:重新 login
[attach]2523473[/attach]

图18:点击 "服务",出现 "OpenClash (Ninja)"
[attach]2523474[/attach]

图19:看到 "192.168.1.1 显示",按 "确定"
[attach]2523475[/attach]

图20:出现 "检查更新",等数字选最小的
[attach]2523476[/attach]

图21:点击 "运行日志",出现 "错误:缺少配置文件,请上传或新配置文件!"
[attach]2523480[/attach]

图22:点击 "运行状态",再点击 "上传配置文件"
[attach]2523481[/attach]

图23:在牧牛云,点击 "Ninja 节点/订阅"
[attach]2523482[/attach]

图24:点击 "复制 Ninja 订阅 (主线路)" URL
[attach]2523483[/attach]

图25:把 URL 放进去,点击 "添加配置"
[attach]2523484[/attach]

图26:在 "配置文件",出现 "mn_hl_..."
[attach]2523485[/attach]

图27:点击关掉
[attach]2523486[/attach]

图28:重新启动
[attach]2523487[/attach]

图29:右下角,出现 data flow
[attach]2523488[/attach]


目录 OpenClash on OpenWrt





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2