1. 安装依赖
在安装Openclash前,需安装一些依赖
#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
#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
2.下载及安装clash
(1)下载openwrt的clash文件
链接:https://pan.baidu.com/s/1HGHbVQhBjk57Z6yPWW2xow?pwd=t75h
提取码:t75h
(2)进入istore->手动安装,将clash程序文件进行上传安装
3.配置clash
(1)配置订阅
选择服务->openclash->配置订阅,输入购买的订阅地址,并打开在线订阅转换及支持UDP
选择保持配置和更新配置
(2)开启openclash
选择运行状态->启动Openclash