Giter Site home page Giter Site logo

Comments (11)

vernesong avatar vernesong commented on May 18, 2024 6
msftconnecttest.com
msftncsi.com

将以上两个域名添加到Fake-IP黑名单,接管设置 => DNS设置 => 高级设置

from openclash.

vernesong avatar vernesong commented on May 18, 2024 1

sed -i "/^ \{0,\}fake-ip-range:/c\ fake-ip-range: 198.18.0.1/16" "$7"

sed -i "/enhanced-mode:/a\ fake-ip-range: 198.18.0.1/16" "$7"

from openclash.

twbworld avatar twbworld commented on May 18, 2024 1

我已解决, 方法:

image

from openclash.

vernesong avatar vernesong commented on May 18, 2024

原理我不太清楚,应该是检测机制的问题,缓存了过期的fakeip导致连接检测失败。

from openclash.

hu3rror avatar hu3rror commented on May 18, 2024

研究了一段时间,参考了一下这个 issue 。应该是fake-IP 段的问题,Windows 自以为是地把 198.18.0.1/16 当作是没有连接上。

这边看了一下 openclash,似乎是强制修改到 198.18.0.1/16 的,是否可以给一个入口可以自定义 fake-ip 段?

from openclash.

yykhysn avatar yykhysn commented on May 18, 2024

知道入口后,如何自定义IP呢,请问? @HueLiu

from openclash.

hu3rror avatar hu3rror commented on May 18, 2024

知道入口后,如何自定义IP呢,请问? @HueLiu

试下 10.123.0.0/16 这个 IP 段,具体参考了上面提及到的 issue

修改之后重新编译一下 openclash

另外新版本中有新的更新,具体还有什么修改,可以问一下作者

from openclash.

aguero119 avatar aguero119 commented on May 18, 2024
msftconnecttest.com
msftncsi.com

将以上两个域名添加到Fake-IP黑名单,接管设置 => DNS设置 => 高级设置

这两个走代理了,但是当电脑重启或者休眠恢复后,还是会遇到这个问题.只能重启openclash解决.

from openclash.

Recopec avatar Recopec commented on May 18, 2024

同样是FAKE-IP模式,今天为了这问题折腾一天,最后发现是因为 OPENCLASH 的 DNS 代理解析出的 IP ,我本地访问会直接被 RESET,而我用本地网络环境解析到的 DNS 却可以正常访问。
还碰到一个坑是某些代理商会屏蔽 www.msftconnecttest.com ,具体表现和上述一样。
最后我单独改了规则,让他走微软服务,然后微软服务再单独走不屏蔽的节点,完美解决。
image
其实还有其他解决办法,比如说让这个域名单独走本地DNS解析,我觉得这样简单省事就懒得弄了。
实测并不是IP段的问题,我还是默认的198.18.0.1/16段。
image
image

from openclash.

chaojiacheng avatar chaojiacheng commented on May 18, 2024

供参考:
https://github.com/Fndroid/clash_for_windows_pkg/issues/3443#issuecomment-1507956383

from openclash.

joy08956 avatar joy08956 commented on May 18, 2024

我已经解决了,方法:

图像

解决了吗?

from openclash.

Related Issues (20)

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.