软路由下代理无效,dashboard代理、策略为空
KevinHu-1024 opened this issue · comments
Bug 详情
启动后访问谷歌等外网无效,国内网络正常。
lede软路由下安装了koolclash,使用配置文件的方式进行设置,已知配置文件在windows clash下代理正常。电脑为mac,已设置了dns。
你的操作
屏幕截图
以下截图为“clash外部控制”在浏览器的截图:
↑代理、日志、规则均为空
调试信息
======================== KoolClash 调试工具 ========================
调试信息生成于 Sun Nov 22 2020 10:13:41 GMT+0800 (**标准时间)
当前浏览器:Chrome 86
-------------------- Koolshare OpenWrt 基本信息 --------------------
固件版本: Openwrt Koolshare mod V2.27, r10054-b7cccc1136 by fw867
路由器 LAN IP:192.168.10.1
------------------------ KoolClash 基本信息 ------------------------
KoolClash 版本:0.17.9-beta
Clash 核心版本:Clash v0.16.0-14-g1948ea1 linux amd64 Fri 01 Nov 2019 02:02:20 PM UTC
KoolClash 当前状态:Clash 进程正在运行
用户指定 Clash 外部控制 Host:未改动
-------------------------- Clash 进程信息 --------------------------
3107 root 1072 S /bin/sh /koolshare/scripts/koolclash_debug.sh 995350
3217 root 1072 S /bin/sh /koolshare/scripts/koolclash_debug.sh 995350
22736 root 113m S /koolshare/bin/clash -d /koolshare/koolclash/config/
------------------------ Clash 配置文件目录 ------------------------
-rwxr-xr-x 1 root root 3.8M Nov 21 21:14 Country.mmdb
-rw-r--r-- 1 root root 20.0K Nov 22 10:03 config.yaml
-rw-r--r-- 1 root root 153 Nov 22 10:09 dns.yml
-rw-r--r-- 1 root root 19.9K Nov 22 10:03 origin.yml
------------------------ Clash 配置文件信息 ------------------------
Clash 透明代理端口:23456
Clash 是否允许局域网连接:true
Clash 外部控制监听地址:192.168.10.1:6170
--------------------- Clash 配置文件 DNS 配置 ----------------------
Clash DNS 是否启用:true
Clash DNS 解析 IPv6:false
Clash DNS 增强模式:fake-ip
Clash DNS 监听:0.0.0.0:23453
KoolClash 当前 DNS 模式:4
-------------------- KoolClash 自定义 DNS 配置 ---------------------
dns:
enable: true
ipv6: false
listen: 0.0.0.0:53
enhanced-mode: fake-ip
nameserver:
- 119.29.29.29
- 119.28.28.28
- 182.254.116.116
------------------------- iptables 条目 ---------------------------
* iptables mangle 中 Clash 相关条目
* iptables nat 中 Clash 相关条目
0 0 koolclash_dns tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53
212 13489 koolclash_dns udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53
3564 222K koolclash tcp -- * * 0.0.0.0/0 0.0.0.0/0
* iptables mangle 中 koolclash 链
* iptables nat 中 koolclash 链
580 31276 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 match-set koolclash_white dst
0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.10.1 tcp dpt:22
2984 190K REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 redir ports 23456
* iptables mangle 中 koolclash_dns 链
* iptables nat 中 koolclash_dns 链
212 13489 DNAT udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53 to:192.168.10.1:23453
0 0 DNAT tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53 to:192.168.10.1:23453
* iptables nat 中 53 端口相关条目
5 9432 647K DNAT udp -- * * 192.168.10.0/24 0.0.0.0/0 udp dpt:53 to:192.168.10.1
6 0 0 koolclash_dns tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53
7 212 13489 koolclash_dns udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53
---------------------- ipset 白名单 IP 列表 ------------------------
Name: koolclash_white
Type: hash:net
Revision: 6
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 984
References: 1
Number of entries: 10
Members:
224.0.0.0/4
100.64.0.0/10
240.0.0.0/4
127.0.0.0/8
10.0.0.0/8
192.168.0.0/16
169.254.0.0/16
192.168.10.1
0.0.0.0/8
172.16.0.0/12
===================================================================
【2020年11月22日 09:31:45】: --------------------- KoolClash: Clash on Koolshare OpenWrt ---------------------
【2020年11月22日 09:31:45】: web 提交操作触发 KoolClash 启动!
【2020年11月22日 09:31:45】: ---------------------------------------------------------------------------------
【2020年11月22日 09:31:45】: 重启 dnsmasq...
【2020年11月22日 09:31:48】: 删除 KoolClash 添加的 iptables 规则
【2020年11月22日 09:31:48】: 删除 KoolClash 添加的 ipsets 名单
【2020年11月22日 09:31:48】: 删除 KoolClash 的防火墙配置
【2020年11月22日 09:31:48】: ---------------------------------------------------------------------------------
【2020年11月22日 09:31:48】: 添加 KoolClash 防火墙规则
【2020年11月22日 09:31:48】: 启动 Clash 进程...
【2020年11月22日 09:31:53】: 检查 Clash 进程是否启动成功...
【2020年11月22日 09:31:53】: Clash 进程成功启动!
【2020年11月22日 09:31:53】: 开始加载 nat 规则!
【2020年11月22日 09:31:53】: 应用局域网 IP 白名单
【2020年11月22日 09:31:53】: iptables 创建 koolclash 链并添加到 PREROUTING 中
【2020年11月22日 09:31:53】: 重启 dnsmasq...
【2020年11月22日 09:31:56】: ------------------------------- KoolClash 启动完毕 -------------------------------
【2020年11月22日 09:31:56】: KoolClash 启动后可能无法立即上网,请先等待 1-2 分钟!
【2020年11月22日 09:31:56】: ------------------ 请不要关闭或者刷新页面!倒计时结束时会自动刷新! ------------------
同上,同样的托管 URL,在 Surge3 和 Clash For Windows 上都能用,但是在 Koolshare-Clash 就用不了, dashboard 中的代理和策略都是空的,后面试了下上传配置文件的方式,依然不行
我也是这个情况。Clash 控制台空白。也试过上传配置文件的方法不行。
我也是~
#94 提到了,你可能得把项目拉下来,替换最新的 clash core https://github.com/Dreamacro/clash/releases,然后自己 build 一个 KoolClash 安装进 KoolShare
我也是这个情况,并且同样的配置, mac 可以但是 koolshare 不行。这个项目应该是已经废弃了。
可以试试这个 https://github.com/czh6888/Koolshare-Clash/releases/tag/V0.17.9.1 暂时可用
等SukkaW大神更新
感谢czh6888大佬的V0.17.9.1 https://github.com/czh6888/Koolshare-Clash/releases/tag/V0.17.9.1
可以使用,太棒了!
https://github.com/czh6888/Koolshare-Clash/releases/tag/V0.17.9.1
为何我安上这个改版的软件启动koolclash直接报错呢?
https://github.com/czh6888/Koolshare-Clash/releases/tag/V0.17.9.1
为何我安上这个改版的软件启动koolclash直接报错呢?
我用的LEDE openwrt 2.36,不知道你用的什么版本
【2021年02月09日 23:12:59】: --------------------- KoolClash: Clash on Koolshare OpenWrt ---------------------
【2021年02月09日 23:12:59】: web 提交操作触发 KoolClash 启动!
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 重启 dnsmasq...
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:12:59】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 添加 KoolClash 防火墙规则
【2021年02月09日 23:12:59】: 启动 Clash 进程...
【2021年02月09日 23:13:04】: 检查 Clash 进程是否启动成功...
【2021年02月09日 23:13:04】: 【Clash 进程启动失败!Clash 配置文件可能存在错误,也有可能是其它原因!】
【2021年02月09日 23:13:04】: 【Clash 中断启动并回滚操作!】
【2021年02月09日 23:13:04】: ------------------------------- KoolClash 启动中断 -------------------------------
【2021年02月09日 23:13:06】: 重启 dnsmasq...
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:13:06】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:13:06】: ------------------------------- KoolClash 停止完毕 -------------------------------
https://github.com/czh6888/Koolshare-Clash/releases/tag/V0.17.9.1
为何我安上这个改版的软件启动koolclash直接报错呢?我用的LEDE openwrt 2.36,不知道你用的什么版本
我看大佬修改了clash-linux-amd64文件,但是它要放进去bin 文件夹,我不知道怎么替换掉这个文件。。。。
【2021年02月09日 23:12:59】: --------------------- KoolClash: Clash on Koolshare OpenWrt ---------------------
【2021年02月09日 23:12:59】: web 提交操作触发 KoolClash 启动!
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 重启 dnsmasq...
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:12:59】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 添加 KoolClash 防火墙规则
【2021年02月09日 23:12:59】: 启动 Clash 进程...
【2021年02月09日 23:13:04】: 检查 Clash 进程是否启动成功...
【2021年02月09日 23:13:04】: 【Clash 进程启动失败!Clash 配置文件可能存在错误,也有可能是其它原因!】
【2021年02月09日 23:13:04】: 【Clash 中断启动并回滚操作!】
【2021年02月09日 23:13:04】: ------------------------------- KoolClash 启动中断 -------------------------------
【2021年02月09日 23:13:06】: 重启 dnsmasq...
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:13:06】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:13:06】: ------------------------------- KoolClash 停止完毕 -------------------------------
先去配置文件界面导入yaml配置文件,不然没法启动
【2021年02月09日 23:12:59】: --------------------- KoolClash: Clash on Koolshare OpenWrt ---------------------
【2021年02月09日 23:12:59】: web 提交操作触发 KoolClash 启动!
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 重启 dnsmasq...
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:12:59】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:12:59】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:12:59】: ---------------------------------------------------------------------------------
【2021年02月09日 23:12:59】: 添加 KoolClash 防火墙规则
【2021年02月09日 23:12:59】: 启动 Clash 进程...
【2021年02月09日 23:13:04】: 检查 Clash 进程是否启动成功...
【2021年02月09日 23:13:04】: 【Clash 进程启动失败!Clash 配置文件可能存在错误,也有可能是其它原因!】
【2021年02月09日 23:13:04】: 【Clash 中断启动并回滚操作!】
【2021年02月09日 23:13:04】: ------------------------------- KoolClash 启动中断 -------------------------------
【2021年02月09日 23:13:06】: 重启 dnsmasq...
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 iptables 规则
【2021年02月09日 23:13:06】: 删除 KoolClash 添加的 ipsets 名单
【2021年02月09日 23:13:06】: 删除 KoolClash 的防火墙配置
【2021年02月09日 23:13:06】: ------------------------------- KoolClash 停止完毕 -------------------------------先去配置文件界面导入yaml配置文件,不然没法启动
这些都做了配置,简言之,就是,那个不能拉取配置界面的老版本,可以启动,卸载了,安装新的,重新配置文件设定,dns设定,然后新的软件就回滚错误。。。。
$ git clone https://github.com/SukkaW/Koolshare-Clash.git
这一步之后替换 /Koolshare-Clash/koolclash/bin/ 文件夹下的 clash-linux-amd64,根据需要也可以替换yq_linux_amd64
$ cd Koolshare-Clash
$ ./build pack # Build the package
可能由于系统版本不同 要换多几个核心测试
@jiaright
clash-linux-amd64 地址 https://github.com/Dreamacro/clash/releases
clash-linux-amd64 地址 https://github.com/Dreamacro/clash/releases
在作者的基础上修改的https://github.com/houzi-/Koolshare-Clash-hack/releases