diff --git a/100706.yaml b/100706.yaml new file mode 100644 index 0000000..d980416 --- /dev/null +++ b/100706.yaml @@ -0,0 +1,387 @@ +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: + # 香港节点 + - name: HK-VPS + type: vmess + server: www.carousell.sg + port: 443 + uuid: 41f8b0e8-b253-416f-b8dd-06a9c0af5503 + alterId: 0 + cipher: zero + tls: true + client-fingerprint: chrome + servername: doubt-announce-colony-generator.trycloudflare.com + network: ws + ws-opts: + path: /vmess-argo?ed=2560 + headers: + Host: doubt-announce-colony-generator.trycloudflare.com + + # 美国节点 + - name: US-IT7 + type: vmess + server: www.carousell.sg + port: 443 + uuid: d864fc79-5bcb-4a56-9d07-c145a32ba06c + alterId: 0 + cipher: zero + 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 + + # 新加坡节点 1 + - name: Carousell-SG-Oracle + type: vmess + server: www.carousell.sg + port: 443 + uuid: f8dbb648-9669-43a7-b616-3e4612b1e95d + alterId: 0 + cipher: auto + tls: true + client-fingerprint: firefox + 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 + - name: Carousell-VPS + type: vmess + server: www.carousell.sg + port: 443 + uuid: a5abf247-0126-4ae8-acf5-4597a482435a + alterId: 0 + cipher: auto + tls: true + client-fingerprint: firefox + servername: dna-pope-cooler-teaches.trycloudflare.com + network: ws + ws-opts: + path: /vmess-argo?ed=2560 + headers: + Host: dna-pope-cooler-teaches.trycloudflare.com + +# ----------------- 策略组配置 ----------------- +proxy-groups: + # 总控代理 + - name: PROXY + type: select + proxies: + - ♻️ 自动选择 + - 🇭🇰 香港节点 + - 🇺🇸 美国节点 + - 🇸🇬 新加坡节点 + - HK-VPS + - US-IT7 + - Carousell-SG-Oracle + - Carousell-VPS + - DIRECT + + # 地区分组 (保留原有选择与测速) + - name: 🇭🇰 香港节点 + type: select + proxies: + - HK-VPS + + - name: 🇺🇸 美国节点 + type: select + proxies: + - US-IT7 + + - name: 🇸🇬 新加坡节点 + type: select + proxies: + - Carousell-SG-Oracle + - Carousell-VPS + + - name: ♻️ 自动选择 + type: url-test + url: https://www.gstatic.com/generate_204 + interval: 300 + tolerance: 50 + proxies: + - HK-VPS + - US-IT7 + - Carousell-SG-Oracle + - Carousell-VPS + + # 应用分流组 + - 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 \ No newline at end of file