first commit
This commit is contained in:
commit
5c01b2b0f5
359
clash_v2.yml
Normal file
359
clash_v2.yml
Normal file
@ -0,0 +1,359 @@
|
|||||||
|
# HTTP 端口
|
||||||
|
mixed-port: 7890
|
||||||
|
|
||||||
|
hosts:
|
||||||
|
'lan.router-ikuai.cc': '192.168.11.1'
|
||||||
|
'lan.router-jellyfin.cc': '192.168.11.16'
|
||||||
|
'ts.router-jellyfin.cc': '100.64.9.93'
|
||||||
|
'ts.router-pve.cc': '100.115.111.93'
|
||||||
|
'lan.router-pve.cc': '192.168.11.201'
|
||||||
|
'ts.router-dsm.cc': '100.120.124.68'
|
||||||
|
'lan.router-dsm.cc': '192.168.11.18'
|
||||||
|
'ts.router-win11.cc': '100.108.181.38'
|
||||||
|
'ts.router-ha.cc': '100.117.238.13'
|
||||||
|
|
||||||
|
# Linux 及 macOS 的 redir 端口
|
||||||
|
# redir-port: 7892
|
||||||
|
|
||||||
|
allow-lan: false
|
||||||
|
|
||||||
|
# 仅适用于设置 allow-lan 为 true 时
|
||||||
|
# "*": 绑定所有 IP 地址
|
||||||
|
# 192.168.122.11: 绑定单个 IPv4 地址
|
||||||
|
# "[aaaa::a8aa:ff:fe09:57d8]": 绑定单个 IPv6 地址
|
||||||
|
# bind-address: "*"
|
||||||
|
|
||||||
|
# Rule / Global / Direct (默认为 Rule 模式)
|
||||||
|
mode: Rule
|
||||||
|
|
||||||
|
# 设置输出日志的等级 (默认为 info)
|
||||||
|
# info / warning / error / debug / silent
|
||||||
|
log-level: info
|
||||||
|
|
||||||
|
# RESTful API for clash
|
||||||
|
external-controller: 127.0.0.1:9090
|
||||||
|
|
||||||
|
proxy-providers:
|
||||||
|
AirportPaopaoDogAll:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportPaopaoDogAll.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fv1.dogapi.yachts%2Fapi%2Fv1%2Fclient%2Fsubscribe%3Ftoken%3D2ee76420bce22d6d587034e84237cd1a&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
AirportPaopaoDogAmerica:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportPaopaoDogAmerica.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fv1.dogapi.yachts%2Fapi%2Fv1%2Fclient%2Fsubscribe%3Ftoken%3D2ee76420bce22d6d587034e84237cd1a&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
filter: '美国'
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
|
||||||
|
AirportShandianProAll:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportShandianProAll.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fupdate.cdn-sd.xyz%2Fapi%2Fv1%2Fclient%2Fsubscribe%3Ftoken%3Da629ecf09cd5408c12610a8171085d7c&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
|
||||||
|
AirportShandianProForegin:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportShandianProForegin.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fsub.id9.cc%2Fsub%3Ftarget%3Dclash%26new_name%3Dtrue%26url%3Dhttps%253A%252F%252Fupdate.cdn-sd.xyz%252Fapi%252Fv1%252Fclient%252Fsubscribe%253Ftoken%253Da629ecf09cd5408c12610a8171085d7c%26insert%3Dfalse%26config%3Dhttps%253A%252F%252Fraw.githubusercontent.com%252FACL4SSR%252FACL4SSR%252Fmaster%252FClash%252Fconfig%252FACL4SSR_Online.ini%26exclude%3D%25E9%25A6%2599%25E6%25B8%25AF%26emoji%3Dtrue%26list%3Dfalse%26tfo%3Dfalse%26scv%3Dfalse%26fdn%3Dfalse%26sort%3Dfalse&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
|
||||||
|
AirportShandianProAmerica:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportShandianProAmerica.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fsub.id9.cc%2Fsub%3Ftarget%3Dclash%26new_name%3Dtrue%26url%3Dhttps%253A%252F%252Fupdate.cdn-sd.xyz%252Fapi%252Fv1%252Fclient%252Fsubscribe%253Ftoken%253Da629ecf09cd5408c12610a8171085d7c%26insert%3Dfalse%26config%3Dhttps%253A%252F%252Fraw.githubusercontent.com%252FACL4SSR%252FACL4SSR%252Fmaster%252FClash%252Fconfig%252FACL4SSR_Online.ini%26exclude%3D%25E9%25A6%2599%25E6%25B8%25AF%26emoji%3Dtrue%26list%3Dfalse%26tfo%3Dfalse%26scv%3Dfalse%26fdn%3Dfalse%26sort%3Dfalse&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
filter: '美国'
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
|
||||||
|
AirportShandianProJapan:
|
||||||
|
type: http
|
||||||
|
path: ./providers/proxy/AirportShandianProJapan.yaml
|
||||||
|
url: "https://a.ppconverter.eu.org/api/convert?url=https%3A%2F%2Fsub.id9.cc%2Fsub%3Ftarget%3Dclash%26new_name%3Dtrue%26url%3Dhttps%253A%252F%252Fupdate.cdn-sd.xyz%252Fapi%252Fv1%252Fclient%252Fsubscribe%253Ftoken%253Da629ecf09cd5408c12610a8171085d7c%26insert%3Dfalse%26config%3Dhttps%253A%252F%252Fraw.githubusercontent.com%252FACL4SSR%252FACL4SSR%252Fmaster%252FClash%252Fconfig%252FACL4SSR_Online.ini%26exclude%3D%25E9%25A6%2599%25E6%25B8%25AF%26emoji%3Dtrue%26list%3Dfalse%26tfo%3Dfalse%26scv%3Dfalse%26fdn%3Dfalse%26sort%3Dfalse&target=clash"
|
||||||
|
interval: 1800
|
||||||
|
filter: '日本'
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
proxies:
|
||||||
|
- name: "v2ray-yxcft2-likezgq"
|
||||||
|
type: vmess
|
||||||
|
server: 18.65.181.229
|
||||||
|
port: 80
|
||||||
|
uuid: 318cf970-5945-46e9-cf6d-660bdf65444a
|
||||||
|
alterId: 0
|
||||||
|
cipher: none
|
||||||
|
skip-cert-verify: true
|
||||||
|
network: ws
|
||||||
|
#tls-hostname: v2.zgqqq.top # for TLS SNI
|
||||||
|
#ws-path: /status
|
||||||
|
# ws-headers: #这一行后面不要写东西
|
||||||
|
# Host: v5.zhenvip.wang # 填写伪装域名
|
||||||
|
ws-opts:
|
||||||
|
headers:
|
||||||
|
Host: d2uhf0tsqcoq30.cloudfront.net
|
||||||
|
# host: d2uhf0tsqcoq30.cloudfront.net
|
||||||
|
path: /status
|
||||||
|
|
||||||
|
## VMess
|
||||||
|
- name: "v2ray-yxcf-likezgq"
|
||||||
|
type: vmess
|
||||||
|
# server: 104.27.80.65
|
||||||
|
server: 172.64.93.84
|
||||||
|
port: 8080
|
||||||
|
uuid: 318cf970-5945-46e9-cf6d-660bdf65444a
|
||||||
|
alterId: 0
|
||||||
|
cipher: none
|
||||||
|
#udp: true
|
||||||
|
#tls: true
|
||||||
|
skip-cert-verify: true
|
||||||
|
network: ws
|
||||||
|
#tls-hostname: v2.zgqqq.top # for TLS SNI
|
||||||
|
# ws-path: /pe7MCcsa7
|
||||||
|
# ws-headers: #这一行后面不要写东西
|
||||||
|
# Host: v5.zhenvip.wang # 填写伪装域名
|
||||||
|
ws-opts:
|
||||||
|
headers:
|
||||||
|
Host: cfws.likezgq.top
|
||||||
|
path: /status
|
||||||
|
|
||||||
|
proxy-groups:
|
||||||
|
- name: LOWEST_DELAY1
|
||||||
|
type: url-test
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 150
|
||||||
|
tolerance: 30 #延迟相差 30ms 以内就不⽤切换
|
||||||
|
use:
|
||||||
|
- AirportShandianProAll
|
||||||
|
- AirportPaopaoDogAll
|
||||||
|
proxies:
|
||||||
|
- "v2ray-yxcft2-likezgq"
|
||||||
|
- "v2ray-yxcf-likezgq"
|
||||||
|
- DIRECT
|
||||||
|
|
||||||
|
- name: LOWEST_DELAY2
|
||||||
|
type: url-test
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 250
|
||||||
|
use:
|
||||||
|
- AirportPaopaoDogAll
|
||||||
|
- AirportShandianProAll
|
||||||
|
proxies:
|
||||||
|
- "v2ray-yxcft2-likezgq"
|
||||||
|
- "v2ray-yxcf-likezgq"
|
||||||
|
- DIRECT
|
||||||
|
|
||||||
|
- name: PROXY
|
||||||
|
type: load-balance
|
||||||
|
url: http://www.google.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
strategy: consistent-hashing
|
||||||
|
proxies:
|
||||||
|
- LOWEST_DELAY1
|
||||||
|
- LOWEST_DELAY2
|
||||||
|
|
||||||
|
- name: PG_AMERICA
|
||||||
|
type: url-test
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
use:
|
||||||
|
- AirportShandianProAmerica
|
||||||
|
- AirportPaopaoDogAmerica
|
||||||
|
proxies:
|
||||||
|
- "v2ray-yxcft2-likezgq"
|
||||||
|
- "v2ray-yxcf-likezgq"
|
||||||
|
- name: PG_SB_AMERICA
|
||||||
|
type: url-test
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
proxies:
|
||||||
|
- "v2ray-yxcft2-likezgq"
|
||||||
|
- "v2ray-yxcf-likezgq"
|
||||||
|
- name: PG_JAPAN
|
||||||
|
type: url-test
|
||||||
|
url: http://www.gstatic.com/generate_204
|
||||||
|
interval: 300
|
||||||
|
use:
|
||||||
|
- AirportShandianProJapan
|
||||||
|
|
||||||
|
rule-providers:
|
||||||
|
reject:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt"
|
||||||
|
path: ./ruleset/reject.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
icloud:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt"
|
||||||
|
path: ./ruleset/icloud.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
apple:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt"
|
||||||
|
path: ./ruleset/apple.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
google:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt"
|
||||||
|
path: ./ruleset/google.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt"
|
||||||
|
path: ./ruleset/proxy.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
direct:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt"
|
||||||
|
path: ./ruleset/direct.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
private:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt"
|
||||||
|
path: ./ruleset/private.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
gfw:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt"
|
||||||
|
path: ./ruleset/gfw.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
tld-not-cn:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://fastly.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://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt"
|
||||||
|
path: ./ruleset/telegramcidr.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
cncidr:
|
||||||
|
type: http
|
||||||
|
behavior: ipcidr
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt"
|
||||||
|
path: ./ruleset/cncidr.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
lancidr:
|
||||||
|
type: http
|
||||||
|
behavior: ipcidr
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
|
||||||
|
path: ./ruleset/lancidr.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
applications:
|
||||||
|
type: http
|
||||||
|
behavior: classical
|
||||||
|
url: "https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
|
||||||
|
path: ./ruleset/applications.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
pornhub:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Pornhub.yaml"
|
||||||
|
path: ./ruleset/pornhub.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
openai:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/OpenAi.yaml"
|
||||||
|
path: ./ruleset/openai.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
github:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Github.yaml"
|
||||||
|
path: ./ruleset/github.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
tiktok:
|
||||||
|
type: http
|
||||||
|
behavior: domain
|
||||||
|
url: "https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/TikTok.yaml"
|
||||||
|
path: ./ruleset/tiktok.yaml
|
||||||
|
interval: 86400
|
||||||
|
|
||||||
|
rules:
|
||||||
|
# 自定义规则
|
||||||
|
# - DOMAIN-SUFFIX,openai.com,PG_AMERICA
|
||||||
|
- DOMAIN-SUFFIX,anthropic.com,PG_AMERICA
|
||||||
|
- DOMAIN-SUFFIX,claude.ai,PG_AMERICA
|
||||||
|
- DOMAIN-SUFFIX,avgle,PG_JAPAN
|
||||||
|
- DOMAIN-SUFFIX,openai.com,PG_SB_AMERICA
|
||||||
|
- DOMAIN,google.com,PG_SB_AMERICA
|
||||||
|
# - DOMAIN-SUFFIX,openai.com,PG_JAPAN
|
||||||
|
- DOMAIN-SUFFIX,bard.google.com,PG_AMERICA
|
||||||
|
- DOMAIN-SUFFIX,kgithub.com,DIRECT
|
||||||
|
- DOMAIN-KEYWORD,ra2web.com,DIRECT
|
||||||
|
- DOMAIN-KEYWORD,chronodivide.com,DIRECT
|
||||||
|
- DOMAIN-KEYWORD,bun.sh.cn,DIRECT
|
||||||
|
- DOMAIN-KEYWORD,paypal,PG_AMERICA
|
||||||
|
- DOMAIN-KEYWORD,paypa1,PG_AMERICA
|
||||||
|
- DOMAIN-KEYWORD,github,PG_SB_AMERICA
|
||||||
|
- DOMAIN-KEYWORD,discord,PG_AMERICA
|
||||||
|
- RULE-SET,applications,DIRECT
|
||||||
|
- DOMAIN,clash.razord.top,DIRECT
|
||||||
|
- DOMAIN,yacd.haishan.me,DIRECT
|
||||||
|
# - RULE-SET,openai,PG_JAPAN
|
||||||
|
- RULE-SET,tiktok,PG_AMERICA
|
||||||
|
- RULE-SET,private,DIRECT
|
||||||
|
- RULE-SET,reject,REJECT
|
||||||
|
- RULE-SET,icloud,DIRECT
|
||||||
|
- RULE-SET,apple,DIRECT
|
||||||
|
- RULE-SET,google,DIRECT
|
||||||
|
- RULE-SET,proxy,PROXY
|
||||||
|
- RULE-SET,direct,DIRECT
|
||||||
|
- RULE-SET,telegramcidr,PROXY,no-resolve
|
||||||
|
- RULE-SET,lancidr,DIRECT,no-resolve
|
||||||
|
- RULE-SET,cncidr,DIRECT,no-resolve
|
||||||
|
- GEOIP,LAN,DIRECT,no-resolve
|
||||||
|
- GEOIP,CN,DIRECT
|
||||||
|
- DST-PORT,22,PG_SB_AMERICA
|
||||||
|
- MATCH,PROXY
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user