Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # HTTP 代理端口
- port: 7890
- # SOCKS5 代理端口
- socks-port: 7891
- # Linux 和 macOS 的 redir 代理端口 (如需使用此功能,请取消注释)
- # redir-port: 7892
- # 允许局域网的连接(可用来共享代理)
- allow-lan: true
- bind-address: "*"
- # 规则模式:rule(规则) / global(全局代理)/ direct(全局直连)
- mode: rule
- # 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
- # 5 个级别:silent / error / warning / info / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
- log-level: warning
- # Clash 的 RESTful API
- external-controller: '127.0.0.1:9090'
- dns:
- enable: true
- prefer-h3: true
- ipv6: true
- listen: 0.0.0.0:53
- # fake-ip
- enhanced-mode: fake-ip
- fake-ip-filter:
- - "*"
- - "+.lan"
- - "+.local"
- - localhost.ptlogin2.qq.com
- - dns.msftncsi.com
- - www.msftncsi.com
- - www.msftconnecttest.com
- # nameserver
- default-nameserver:
- - 223.5.5.5
- - 119.29.29.29
- nameserver:
- - tls://8.8.4.4
- - https://1.1.1.1/dns-query
- - https://1.0.0.1/dns-query
- fallback:
- - 223.5.5.5
- nameserver-policy:
- "geosite:cn":
- - https://223.5.5.5/dns-query#h3=true
- - https://223.6.6.6/dns-query#h3=true
- - https://1.12.12.12/dns-query
- cfw-latency-timeout: 3000
- cfw-latency-url: http://www.gstatic.com/generate_204
- rule-providers:
- reject:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
- path: ./ruleset/reject.yaml
- interval: 86400
- icloud:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
- path: ./ruleset/icloud.yaml
- interval: 86400
- apple:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
- path: ./ruleset/apple.yaml
- interval: 86400
- proxy:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
- path: ./ruleset/proxy.yaml
- interval: 86400
- direct:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
- path: ./ruleset/direct.yaml
- interval: 86400
- private:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
- path: ./ruleset/private.yaml
- interval: 86400
- gfw:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt"
- path: ./ruleset/gfw.yaml
- interval: 86400
- tld-not-cn:
- type: http
- behavior: domain
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt"
- path: ./ruleset/tld-not-cn.yaml
- interval: 86400
- telegramcidr:
- type: http
- behavior: ipcidr
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
- path: ./ruleset/telegramcidr.yaml
- interval: 86400
- cncidr:
- type: http
- behavior: ipcidr
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
- path: ./ruleset/cncidr.yaml
- interval: 86400
- lancidr:
- type: http
- behavior: ipcidr
- url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
- path: ./ruleset/lancidr.yaml
- interval: 86400
- applications:
- type: http
- behavior: classical
- url: "https://pastebin.com/raw/kkZfLFUH"
- path: ./ruleset/applications.yaml
- interval: 86400
- ai_non_ip:
- type: http
- behavior: classical
- format: text
- interval: 43200
- url: https://ruleset.skk.moe/Clash/non_ip/ai.txt
- path: ./sukkaw_ruleset/ai_non_ip.txt
- microsoft_cdn_non_ip:
- type: http
- behavior: classical
- format: text
- interval: 43200
- url: https://ruleset.skk.moe/Clash/non_ip/microsoft_cdn.txt
- path: ./sukkaw_ruleset/microsoft_cdn_non_ip.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement