上传文件至「/」

This commit is contained in:
2026-10-10 00:00:16 +08:00
parent 6b9814d715
commit 3a33f9726d
2 changed files with 944 additions and 0 deletions
+472
View File
@@ -0,0 +1,472 @@
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
# ----------------- 节点列表 (共 8 个 - 电信优化) -----------------
proxies:
# 日本节点 1 (电信优选: www.visa.com)
- name: JP-HostHatch-01
type: vmess
server: www.visa.com
port: 443
uuid: 1cb0039d-318b-4c4e-a014-d7e7aacb4f93
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: titanium-paying-jun-disciplines.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: titanium-paying-jun-disciplines.trycloudflare.com
# 日本节点 2 (电信优选: fastusaproxy.com)
- name: JP-HostHatch-02
type: vmess
server: fastusaproxy.com
port: 443
uuid: 1cb0039d-318b-4c4e-a014-d7e7aacb4f93
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: titanium-paying-jun-disciplines.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: titanium-paying-jun-disciplines.trycloudflare.com
# 韩国节点 1 (电信优选: www.visa.com)
- name: KR-Oracle-01
type: vmess
server: www.visa.com
port: 443
uuid: 291e9fee-1fcf-4d9b-a44a-1460e3f632af
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: morgan-blackberry-latter-exclusively.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: morgan-blackberry-latter-exclusively.trycloudflare.com
# 韩国节点 2 (电信优选: fastusaproxy.com)
- name: KR-Oracle-02
type: vmess
server: fastusaproxy.com
port: 443
uuid: 291e9fee-1fcf-4d9b-a44a-1460e3f632af
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: morgan-blackberry-latter-exclusively.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: morgan-blackberry-latter-exclusively.trycloudflare.com
# 新加坡节点 1 (电信优选: www.visa.com)
- name: SG-Oracle-01
type: vmess
server: www.visa.com
port: 443
uuid: f8dbb648-9669-43a7-b616-3e4612b1e95d
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: ron-cas-household-fin.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: ron-cas-household-fin.trycloudflare.com
# 新加坡节点 2 (电信优选: fastusaproxy.com)
- name: SG-Oracle-02
type: vmess
server: fastusaproxy.com
port: 443
uuid: f8dbb648-9669-43a7-b616-3e4612b1e95d
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: ron-cas-household-fin.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: ron-cas-household-fin.trycloudflare.com
# 美国节点 1 (电信优选: www.visa.com)
- name: US-IT7-01
type: vmess
server: www.visa.com
port: 443
uuid: d864fc79-5bcb-4a56-9d07-c145a32ba06c
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: floppy-notes-clear-ventures.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: floppy-notes-clear-ventures.trycloudflare.com
# 美国节点 2 (电信优选: fastusaproxy.com)
- name: US-IT7-02
type: vmess
server: fastusaproxy.com
port: 443
uuid: d864fc79-5bcb-4a56-9d07-c145a32ba06c
alterId: 0
cipher: auto
tls: true
client-fingerprint: chrome
servername: floppy-notes-clear-ventures.trycloudflare.com
network: ws
ws-opts:
path: /vmess-argo?ed=2560
headers:
Host: floppy-notes-clear-ventures.trycloudflare.com
# ----------------- 策略组配置 -----------------
proxy-groups:
# 总控代理
- name: PROXY
type: select
proxies:
- ♻️ 自动选择
- 🇯🇵 日本节点
- 🇰🇷 韩国节点
- 🇸🇬 新加坡节点
- 🇺🇸 美国节点
- JP-HostHatch-01
- JP-HostHatch-02
- KR-Oracle-01
- KR-Oracle-02
- SG-Oracle-01
- SG-Oracle-02
- US-IT7-01
- US-IT7-02
- DIRECT
# 地区分组
- name: 🇯🇵 日本节点
type: select
proxies:
- JP-HostHatch-01
- JP-HostHatch-02
- name: 🇰🇷 韩国节点
type: select
proxies:
- KR-Oracle-01
- KR-Oracle-02
- name: 🇸🇬 新加坡节点
type: select
proxies:
- SG-Oracle-01
- SG-Oracle-02
- name: 🇺🇸 美国节点
type: select
proxies:
- US-IT7-01
- US-IT7-02
- name: ♻️ 自动选择
type: url-test
url: https://www.gstatic.com/generate_204
interval: 300
tolerance: 50
proxies:
- JP-HostHatch-01
- JP-HostHatch-02
- KR-Oracle-01
- KR-Oracle-02
- SG-Oracle-01
- SG-Oracle-02
- US-IT7-01
- US-IT7-02
# 应用分流组
- name: AI
type: select
proxies: [PROXY, 🇺🇸 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇰🇷 韩国节点]
- name: YouTube
type: select
proxies: [PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点]
- name: Netflix
type: select
proxies: [PROXY, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
- name: Disney+
type: select
proxies: [PROXY, 🇸🇬 新加坡节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点]
- name: Max
type: select
proxies: [PROXY, 🇺🇸 美国节点, 🇸🇬 新加坡节点]
- name: TikTok
type: select
proxies: [PROXY, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
- name: Spotify
type: select
proxies: [DIRECT, PROXY, 🇸🇬 新加坡节点, 🇺🇸 美国节点]
- name: Telegram
type: select
proxies: [PROXY, 🇸🇬 新加坡节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点]
- name: Twitter
type: select
proxies: [PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点]
- name: Facebook
type: select
proxies: [PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点]
- name: GitHub
type: select
proxies: [PROXY, DIRECT, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
- name: PayPal
type: select
proxies: [DIRECT, PROXY, 🇺🇸 美国节点, 🇸🇬 新加坡节点]
- name: Amazon
type: select
proxies: [DIRECT, PROXY, 🇺🇸 美国节点, 🇯🇵 日本节点]
- name: 苹果服务
type: select
proxies: [DIRECT, PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
- name: 谷歌服务
type: select
proxies: [PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点]
- name: 微软服务
type: select
proxies: [DIRECT, PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
- name: 哔哩哔哩
type: select
proxies: [DIRECT, PROXY]
- name: 游戏平台
type: select
proxies: [DIRECT, PROXY, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇺🇸 美国节点]
# ----------------- 规则集订阅 -----------------
rule-providers:
ai:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/ai.list"
path: ./ruleset/ai.yaml
interval: 86400
youtube:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/youtube.list"
path: ./ruleset/youtube.yaml
interval: 86400
netflix:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Netflix.list"
path: ./ruleset/netflix.yaml
interval: 86400
disney:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Disney.list"
path: ./ruleset/disney.yaml
interval: 86400
spotify:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Spotify.list"
path: ./ruleset/spotify.yaml
interval: 86400
telegram:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Telegram.list"
path: ./ruleset/telegram.yaml
interval: 86400
paypal:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/PayPal.list"
path: ./ruleset/paypal.yaml
interval: 86400
twitter:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Twitter.list"
path: ./ruleset/twitter.yaml
interval: 86400
facebook:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Facebook.list"
path: ./ruleset/facebook.yaml
interval: 86400
amazon:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Amazon.list"
path: ./ruleset/amazon.yaml
interval: 86400
github:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/GitHub.list"
path: ./ruleset/github.yaml
interval: 86400
microsoft:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Microsoft.list"
path: ./ruleset/microsoft.yaml
interval: 86400
google:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Google.list"
path: ./ruleset/google.yaml
interval: 86400
apple:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/Apple.list"
path: ./ruleset/apple.yaml
interval: 86400
bilibili:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/BiliBili.list"
path: ./ruleset/bilibili.yaml
interval: 86400
tiktok:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/TikTok.list"
path: ./ruleset/tiktok.yaml
interval: 86400
game:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/n0de-sudo/Perfect-Rules/main/Shadowrocket/rules/game.list"
path: ./ruleset/game.yaml
interval: 86400
china:
type: http
behavior: classical
url: "https://gh-proxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax.yaml"
path: ./ruleset/china.yaml
interval: 86400
# ----------------- 路由分流规则 -----------------
rules:
# 应用与专门服务规则
- RULE-SET,ai,AI
- RULE-SET,youtube,YouTube
- RULE-SET,netflix,Netflix
- RULE-SET,disney,Disney+
- RULE-SET,spotify,Spotify
- RULE-SET,telegram,Telegram
- RULE-SET,paypal,PayPal
- RULE-SET,twitter,Twitter
- RULE-SET,facebook,Facebook
- RULE-SET,amazon,Amazon
- RULE-SET,github,GitHub
- RULE-SET,microsoft,微软服务
- RULE-SET,google,谷歌服务
- RULE-SET,apple,苹果服务
- RULE-SET,bilibili,哔哩哔哩
- RULE-SET,tiktok,TikTok
- RULE-SET,game,游戏平台
# 局域网直连
- GEOIP,private,DIRECT,no-resolve
- GEOIP,LAN,DIRECT,no-resolve
# 国内服务与国内 IP 直连 (双保险)
- RULE-SET,china,DIRECT
- GEOSITE,cn,DIRECT
- GEOIP,CN,DIRECT
# 兜底规则
- MATCH,PROXY