侧边栏壁纸
博主头像
peroperotina

My battery is low, and it's getting dark.

  • 累计撰写 15 篇文章
  • 累计创建 1 个标签
  • 累计收到 0 条评论
标签搜索

some guidence for "clash for windows"

peroperotina
2022-10-18 / 0 评论 / 0 点赞 / 202 阅读 / 1,227 字
温馨提示:
本文最后更新于 2023-01-07,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

config.yaml in clash core folder is not hot repload in CFW, so u can clich the cat in General menu in CFW to quick relaunch CFW.

in profiles, the default generated file 'config.yaml' is a copy of config.yaml from clash core. so you should't edit it, it is just like a quick review of clash core config.

and only proxies/proxy-providers/proxy-groups/rule-providers/rules/dns in[1] profile files will replace into clash core config.yaml file(actually happen in memory).
so keywords like port and external-controller won't work in profiles of CFW.

all configuration document

Automatically select the minimum lag server

edit CFW->setting->profiles->parser->edit

parsers:
  - url: https://yourServerSubscriberHere
    yaml:
      prepend-proxy-groups:
        - name: fallback
          type: fallback

        - name: url-test
          type: url-test
      commands:
        - proxy-groups.(fallback).url="http://www.gstatic.com/generate_204"
        - proxy-groups.(fallback).interval=30
        - proxy-groups.(fallback).proxies=[]proxyNames|^(?!.*倍率(([1-9][0-9])|([4-9]))).*$

        - proxy-groups.(url-test).url="http://www.gstatic.com/generate_204"
        - proxy-groups.(url-test).interval=30
        - proxy-groups.(url-test).proxies=[]proxyNames|^(?!.*倍率(([1-9][0-9])|([4-9]))).*$
# the regex above is for filter out expensive server.

  1. https://docs.cfw.lbyczf.com/contents/configfile.html#%E5%8A%A0%E8%BD%BD%E8%BF%87%E7%A8%8B ↩︎

评论区