上传文件至「/」
This commit is contained in:
+215
@@ -0,0 +1,215 @@
|
||||
mixed-port: 7890
|
||||
allow-lan: false
|
||||
mode: rule
|
||||
log-level: info
|
||||
unified-delay: true
|
||||
tcp-concurrent: true
|
||||
ipv6: false
|
||||
|
||||
# ----------------- DNS 配置 -----------------
|
||||
dns:
|
||||
enable: true
|
||||
ipv6: false
|
||||
enhanced-mode: fake-ip
|
||||
fake-ip-range: 198.18.0.1/16
|
||||
respect-rules: true
|
||||
fake-ip-filter:
|
||||
- "*.lan"
|
||||
- "*.local"
|
||||
- "*.localdomain"
|
||||
- "captive.apple.com"
|
||||
- "*.msftconnecttest.com"
|
||||
- "*.msftncsi.com"
|
||||
- "time.*.com"
|
||||
- "ntp.*.com"
|
||||
default-nameserver:
|
||||
- 223.5.5.5
|
||||
- 119.29.29.29
|
||||
nameserver:
|
||||
- https://dns.alidns.com/dns-query
|
||||
- https://doh.pub/dns-query
|
||||
proxy-server-nameserver:
|
||||
- https://dns.alidns.com/dns-query
|
||||
nameserver-policy:
|
||||
"geosite:cn,private":
|
||||
- https://dns.alidns.com/dns-query
|
||||
- https://doh.pub/dns-query
|
||||
"geosite:geolocation-!cn":
|
||||
- https://dns.cloudflare.com/dns-query
|
||||
- https://dns.google/dns-query
|
||||
|
||||
# ----------------- 节点列表 -----------------
|
||||
proxies:
|
||||
# 1. VLESS Reality (TCP + Vision)
|
||||
- name: "VPS-Reality"
|
||||
type: vless
|
||||
server: 23.26.204.234
|
||||
port: 34188
|
||||
uuid: 9a0e93b4-f5ee-4a1a-bd6f-7660dbae78ce
|
||||
network: tcp
|
||||
udp: true
|
||||
tls: true
|
||||
flow: xtls-rprx-vision
|
||||
servername: www.iij.ad.jp
|
||||
client-fingerprint: firefox
|
||||
reality-opts:
|
||||
public-key: PyNq1tukuHc_OtwMEdgSxdJv2miSbw1thQW5ES8ZsmQ
|
||||
short-id: 4843fabf298d3867
|
||||
|
||||
# 2. VMess + WS + TLS (Argo 优选)
|
||||
- name: "VPS-VMess-Argo"
|
||||
type: vmess
|
||||
server: cdns.doon.eu.org
|
||||
port: 443
|
||||
uuid: 9a0e93b4-f5ee-4a1a-bd6f-7660dbae78ce
|
||||
alterId: 0
|
||||
cipher: auto
|
||||
udp: true
|
||||
tls: true
|
||||
servername: outer-politicians-vol-newbie.trycloudflare.com
|
||||
client-fingerprint: firefox
|
||||
network: ws
|
||||
ws-opts:
|
||||
path: /vmess-argo?ed=2560
|
||||
headers:
|
||||
Host: outer-politicians-vol-newbie.trycloudflare.com
|
||||
|
||||
# 3. Hysteria 2 (UDP/QUIC)
|
||||
- name: "VPS-Hy2"
|
||||
type: hysteria2
|
||||
server: 23.26.204.234
|
||||
port: 14483
|
||||
password: 9a0e93b4-f5ee-4a1a-bd6f-7660dbae78ce
|
||||
sni: www.bing.com
|
||||
alpn:
|
||||
- h3
|
||||
skip-cert-verify: true
|
||||
fingerprint: 90:4B:FC:70:8F:92:E0:E5:49:DF:B5:40:19:2E:6B:8A:AD:28:A9:8A:13:76:38:EF:7C:84:C7:72:85:6C:04:62
|
||||
|
||||
# 4. TUIC v5 (UDP/QUIC)
|
||||
- name: "VPS-TUIC"
|
||||
type: tuic
|
||||
server: 23.26.204.234
|
||||
port: 31686
|
||||
uuid: 9a0e93b4-f5ee-4a1a-bd6f-7660dbae78ce
|
||||
password: 9a0e93b4-f5ee-4a1a-bd6f-7660dbae78ce
|
||||
sni: www.bing.com
|
||||
alpn:
|
||||
- h3
|
||||
congestion-controller: bbr
|
||||
udp-relay-mode: native
|
||||
skip-cert-verify: true
|
||||
|
||||
# ----------------- 策略组配置 -----------------
|
||||
proxy-groups:
|
||||
# 主代理选择
|
||||
- name: PROXY
|
||||
type: select
|
||||
proxies:
|
||||
- ♻️ 自动选择
|
||||
- ⚡ 故障转移
|
||||
- VPS-Reality
|
||||
- VPS-Hy2
|
||||
- VPS-TUIC
|
||||
- VPS-VMess-Argo
|
||||
- DIRECT
|
||||
|
||||
# 延迟测速自动选择 (适合网页浏览与视频)
|
||||
- name: ♻️ 自动选择
|
||||
type: url-test
|
||||
url: https://www.gstatic.com/generate_204
|
||||
interval: 300
|
||||
tolerance: 50
|
||||
proxies:
|
||||
- VPS-Reality
|
||||
- VPS-Hy2
|
||||
- VPS-TUIC
|
||||
- VPS-VMess-Argo
|
||||
|
||||
# 故障转移组 (优先第一节点,失联无缝切换)
|
||||
- name: ⚡ 故障转移
|
||||
type: fallback
|
||||
url: https://www.gstatic.com/generate_204
|
||||
interval: 180
|
||||
proxies:
|
||||
- VPS-Reality
|
||||
- VPS-Hy2
|
||||
- VPS-TUIC
|
||||
- VPS-VMess-Argo
|
||||
|
||||
# 广告拦截
|
||||
- name: 🛑 广告拦截
|
||||
type: select
|
||||
proxies:
|
||||
- REJECT
|
||||
- DIRECT
|
||||
|
||||
# ----------------- Loyalsoldier 规则集订阅 -----------------
|
||||
rule-providers:
|
||||
reject:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt"
|
||||
path: ./ruleset/loyalsoldier/reject.yaml
|
||||
interval: 86400
|
||||
|
||||
direct:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/direct.txt"
|
||||
path: ./ruleset/loyalsoldier/direct.yaml
|
||||
interval: 86400
|
||||
|
||||
gfw:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt"
|
||||
path: ./ruleset/loyalsoldier/gfw.yaml
|
||||
interval: 86400
|
||||
|
||||
proxy:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/proxy.txt"
|
||||
path: ./ruleset/loyalsoldier/proxy.yaml
|
||||
interval: 86400
|
||||
|
||||
tld-not-cn:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt"
|
||||
path: ./ruleset/loyalsoldier/tld-not-cn.yaml
|
||||
interval: 86400
|
||||
|
||||
cncidr:
|
||||
type: http
|
||||
behavior: ipcidr
|
||||
url: "https://gh-proxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt"
|
||||
path: ./ruleset/loyalsoldier/cncidr.yaml
|
||||
interval: 86400
|
||||
|
||||
# ----------------- 路由分流规则 (Loyalsoldier 漏斗顺序) -----------------
|
||||
rules:
|
||||
# 1. 局域网直连
|
||||
- GEOIP,private,DIRECT,no-resolve
|
||||
- GEOIP,LAN,DIRECT,no-resolve
|
||||
|
||||
# 2. 广告拦截
|
||||
- RULE-SET,reject,🛑 广告拦截
|
||||
|
||||
# 3. 国内白名单直连
|
||||
- RULE-SET,direct,DIRECT
|
||||
|
||||
# 4. GFW 代理规则
|
||||
- RULE-SET,gfw,PROXY
|
||||
- RULE-SET,proxy,PROXY
|
||||
|
||||
# 5. 海外常用顶级域名代理
|
||||
- RULE-SET,tld-not-cn,PROXY
|
||||
|
||||
# 6. 国内 IP 段直连 (跳过远程 DNS 避免延迟)
|
||||
- RULE-SET,cncidr,DIRECT,no-resolve
|
||||
- GEOIP,CN,DIRECT
|
||||
|
||||
# 7. 漏斗底部兜底代理
|
||||
- MATCH,PROXY
|
||||
Reference in New Issue
Block a user