openWrt安装openclash科学上网插件

安装依赖

依次打开“服务”—-“终端”,输入用户名和密码登陆

《openWrt安装openclash科学上网插件》

登陆后输入下面的代码,安装依赖。

###依赖1:iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base

###依赖2:nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip kmod-nft-tproxy luci-compat luci luci-base

下载ipk插件

v0.45.157-beta

https://github.com/vernesong/OpenClash/releases/download/v0.45.157-beta/luci-app-openclash_0.45.157-beta_all.ipk

下载ipk格式的 openclash后,在“系统 ”—“软件包”选项界面里,点击  “上传软件包”

《openWrt安装openclash科学上网插件》

之后在弹出的界面里,点击“浏览”,找到下载的openclash插件安装包;然后点上传,这时候就会开始安装了。

《openWrt安装openclash科学上网插件》

最后重启一下路由器,重新登陆后台,就能在左侧的“服务”选项卡里,看到openclash插件了。

《openWrt安装openclash科学上网插件》

最新版更新页面:https://github.com/vernesong/OpenClash/releases

原文链接: http://www.goodcms8.com/3775/

点赞