Giter VIP home page Giter VIP logo

koolshare-clash-hack's People

Contributors

houzi- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

koolshare-clash-hack's Issues

关闭clash后, 除koolshare服务器外, 其他设备不能上网

关闭clash后, 除koolshare服务器外, 其他设备不能上网. 开启clash后, 不经过clash的设备也无法上网
调试信息:


======================== KoolClash 调试工具 ========================
调试信息生成于 Wed Oct 05 2022 12:03:40 GMT+0800 (China Standard Time)
当前浏览器:Chrome 106
-------------------- Koolshare OpenWrt 基本信息 --------------------
固件版本: Openwrt Koolshare Router V2.37, r17471-8ed31dafdf by fw867
路由器 LAN IP:192.168.1.1
------------------------ KoolClash 基本信息 ------------------------
KoolClash 版本:0.18.2
Clash 核心版本:Clash v1.11.8 linux amd64 with go1.19 Fri Aug 26 13:20:30 UTC 2022
KoolClash 当前状态:Clash 进程正在运行
用户指定 Clash 外部控制 Host:未改动
-------------------------- Clash 进程信息 --------------------------
25493 root      706m S    /koolshare/bin/clash -d /koolshare/koolclash/config/
26308 root      1120 S    /bin/sh /koolshare/scripts/koolclash_flow_status.sh
26494 root      1124 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 936274
26605 root      1124 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 936274

------------------------ Clash 配置文件目录 ------------------------
-rw-r--r--    1 root     root        2.3M Oct  5 11:52 Country.mmdb
-rw-r--r--    1 root     root        4.5M Oct  5 11:52 GeoSite.dat
-rw-r--r--    1 root     root       16.0K Oct  5 11:53 cache.db
-rw-r--r--    1 root     root      131.3K Oct  5 11:52 china_ip_route.ipset
-rw-r--r--    1 root     root      582.9K Oct  5 12:02 config.yaml
-rw-r--r--    1 root     root         240 Oct  5 12:02 dns.yml
-rw-r--r--    1 root     root      582.7K Oct  5 11:53 origin.yml
-rw-r--r--    1 root     root          56 Oct  5 11:52 profile.yml

------------------------ Clash 配置文件信息 ------------------------
Clash 代理模式:Rule
Clash 透明代理端口:23456
Clash 是否允许局域网连接:true
Clash 外部控制监听地址:192.168.1.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.28.28.28
    - 119.29.29.29
    - 223.5.5.5
    - tls://dns.rubyfish.cn:853
  fallback:
    - tls://1.0.0.1:853
    - tls://8.8.4.4:853

------------------------- iptables 条目 ---------------------------
 * iptables mangle 中 Clash 相关条目
 1473  152K koolclash  udp  --  *      *       0.0.0.0/0            0.0.0.0/0           


 * iptables nat 中 Clash 相关条目
  310 19148 koolclash  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           


 * iptables mangle 中 koolclash 链
    0     0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:68
    0     0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:546
    0     0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:500
    1    62 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spts:33434:33689
  714 57273 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white dst
  295 20171 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_chn_white dst
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_macs src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ports src
  421 63482 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_macs src
    0     0 RETURN     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:53
   29 10350 TPROXY     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            TPROXY redirect 0.0.0.0:23456 mark 0x162/0xffffffff


 * iptables nat 中 koolclash 链
   57  3648 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white dst
   94  5752 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_chn_white dst
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_macs src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ports src
  108  6484 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_macs src
   50  3200 REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            redir ports 23456


 * iptables nat 中 OUTPUT 链
    0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53 /* KoolClash DNS Hijack */ redir ports 53
   97  6600 REDIRECT   udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:53 /* KoolClash DNS Hijack */ redir ports 53
  401 29287 koolclash_output  all  --  *      *       0.0.0.0/0            0.0.0.0/0           


 * iptables nat 中 koolclash_output 链
  263 16916 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white dst
   79  6941 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_chn_white dst
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ac_macs src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white_ports src
   57  5310 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_ips src
    0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ! match-set koolclash_black_ac_macs src
    0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            198.18.0.0/16        redir ports 23456


 * iptables nat 中 53 端口相关条目
4        0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            8.8.4.4              /* KoolClash Google DNS Hijack */ tcp dpt:53 redir ports 23456
5        0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            8.8.8.8              /* KoolClash Google DNS Hijack */ tcp dpt:53 redir ports 23456
6        0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:53 /* KoolClash DNS Hijack */ redir ports 53
7      166 10743 REDIRECT   udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:53 /* KoolClash DNS Hijack */ redir ports 53

---------------------- ipset 白名单 IP 列表 ------------------------
Name: koolclash_white
Type: hash:net
Revision: 6
Header: family inet hashsize 64 maxelem 65536
Size in memory: 1152
References: 3
Number of entries: 11
Members:
0.0.0.0/8
10.0.0.0/8
127.0.0.0/8
192.168.1.1
10.252.73.109
100.64.0.0/10
172.16.0.0/12
224.0.0.0/4
240.0.0.0/4
169.254.0.0/16
192.168.0.0/16

------------------------- ipset 集合列表 ---------------------------
Name: koolclash_white
Name: koolclash_chn_white
Name: koolclash_white_ac_ips
Name: koolclash_white_ac_macs
Name: koolclash_black_ac_ips
Name: koolclash_black_ac_macs
Name: koolclash_white_ports
Name: koolclash_black_ports

===================================================================

代理节点自动重置

koolclash的版本0.18.4, Koolshare版本V2.31。代理节点隔几天时间总是自动重置,需要重新选择不同的节点,不知道问题出在哪里,该如何解决

如何默认让所有设备都走代理?

观察到启动日志中有一行:『请在【设备控制】页面添加需要代理的设备,默认所有设备不走代理』,从字面意思理解是说得把所有局域网中的设备都加进去?
是否可以设置为默认就通过 clash 走代理?我的场景是在主路由上做了策略路由,会分发部分流量到这台设备上,所以希望这台设备默认所有请求都走代理,包括它自己,该如何设置?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.