Initial commit: Clash & Surge proxy configurations
This commit is contained in:
commit
2bb16d1fd2
4 files changed
+1874
No files matched your search
+969
@@ -0,0 +1,969 @@
|
||||
# 混合端口 (HTTP & SOCKS5)
|
||||
mixed-port: 7890
|
||||
# 允许局域网连接
|
||||
allow-lan: true
|
||||
# 运行模式: Rule (规则模式), Global (全局模式), Direct (直连模式)
|
||||
mode: Rule
|
||||
# 日志级别: info, warning, error, debug, silent
|
||||
log-level: info
|
||||
# 外部控制端口 (用于 Web 面板)
|
||||
external-controller: :9090
|
||||
# 统一延迟 (对所有节点进行测速时使用统一的延迟计算方法)
|
||||
unified-delay: true
|
||||
# 实验性功能
|
||||
experimental:
|
||||
# 忽略解析失败的域名
|
||||
ignore-resolve-fail: true
|
||||
# Clash for Windows 延迟超时 (毫秒)
|
||||
cfw-latency-timeout: 8000
|
||||
# Clash for Windows 延迟测试地址
|
||||
cfw-latency-url: http://www.gstatic.com/generate_204
|
||||
# Clash for Windows 连接打断策略
|
||||
cfw-conn-break-strategy: true
|
||||
# 自定义域名解析 (本地映射)
|
||||
hosts: {}
|
||||
|
||||
# DNS 配置
|
||||
dns:
|
||||
# 是否启用系统外部 DNS
|
||||
enable: true
|
||||
# 监听地址
|
||||
listen: 127.0.0.1:1053
|
||||
# 是否开启 IPv6 解析
|
||||
ipv6: true
|
||||
# 默认 DNS 服务器 (用于解析 DNS 服务的域名)
|
||||
default-nameserver:
|
||||
- 114.114.114.114
|
||||
- 223.5.5.5
|
||||
- 119.29.29.29
|
||||
# 假 IP 模式地址范围
|
||||
fake-ip-range: 28.0.0.1/8
|
||||
# 是否使用系统 hosts
|
||||
use-hosts: true
|
||||
# 增强模式: fake-ip (假 IP) 或 redir-host
|
||||
enhanced-mode: fake-ip
|
||||
# 假 IP 过滤列表
|
||||
fake-ip-filter:
|
||||
- "*.lan"
|
||||
- "*.localdomain"
|
||||
- "*.example"
|
||||
- "*.invalid"
|
||||
- "*.localhost"
|
||||
- "*.test"
|
||||
- "*.local"
|
||||
- "*.home.arpa"
|
||||
- time.*.com
|
||||
- time.*.gov
|
||||
- time.*.edu.cn
|
||||
- time.*.apple.com
|
||||
- time1.*.com
|
||||
- time2.*.com
|
||||
- time3.*.com
|
||||
- time4.*.com
|
||||
- time5.*.com
|
||||
- time6.*.com
|
||||
- time7.*.com
|
||||
- ntp.*.com
|
||||
- ntp1.*.com
|
||||
- ntp2.*.com
|
||||
- ntp3.*.com
|
||||
- ntp4.*.com
|
||||
- ntp5.*.com
|
||||
- ntp6.*.com
|
||||
- ntp7.*.com
|
||||
- "*.time.edu.cn"
|
||||
- "*.ntp.org.cn"
|
||||
- "+.pool.ntp.org"
|
||||
- time1.cloud.tencent.com
|
||||
- music.163.com
|
||||
- "*.music.163.com"
|
||||
- "*.126.net"
|
||||
- musicapi.taihe.com
|
||||
- music.taihe.com
|
||||
- songsearch.kugou.com
|
||||
- trackercdn.kugou.com
|
||||
- "*.kuwo.cn"
|
||||
- api-jooxtt.sanook.com
|
||||
- api.joox.com
|
||||
- joox.com
|
||||
- y.qq.com
|
||||
- "*.y.qq.com"
|
||||
- streamoc.music.tc.qq.com
|
||||
- mobileoc.music.tc.qq.com
|
||||
- isure.stream.qqmusic.qq.com
|
||||
- dl.stream.qqmusic.qq.com
|
||||
- aqqmusic.tc.qq.com
|
||||
- amobile.music.tc.qq.com
|
||||
- "*.xiami.com"
|
||||
- "*.music.migu.cn"
|
||||
- music.migu.cn
|
||||
- "+.msftconnecttest.com"
|
||||
- "+.msftncsi.com"
|
||||
- msftconnecttest.com
|
||||
- msftncsi.com
|
||||
- localhost.ptlogin2.qq.com
|
||||
- localhost.sec.qq.com
|
||||
- "+.srv.nintendo.net"
|
||||
- "+.stun.playstation.net"
|
||||
- xbox.*.microsoft.com
|
||||
- xnotify.xboxmojie.app
|
||||
- "+.ipv6.microsoft.com"
|
||||
- "+.battlenet.com.cn"
|
||||
- "+.wotgame.cn"
|
||||
- "+.wggames.cn"
|
||||
- "+.wowsgame.cn"
|
||||
- "+.wargaming.net"
|
||||
- proxy.golang.org
|
||||
- stun.*.*
|
||||
- stun.*.*.*
|
||||
- "+.stun.*.*"
|
||||
- "+.stun.*.*.*"
|
||||
- "+.stun.*.*.*.*"
|
||||
- heartbeat.belkin.com
|
||||
- "*.linksys.com"
|
||||
- "*.linksyssmartwifi.com"
|
||||
- "*.router.asus.com"
|
||||
- mesu.apple.com
|
||||
- swscan.apple.com
|
||||
- swquery.apple.com
|
||||
- swdownload.apple.com
|
||||
- swcdn.apple.com
|
||||
- swdist.apple.com
|
||||
- lens.l.google.com
|
||||
- stun.l.google.com
|
||||
- "*.square-enix.com"
|
||||
- "*.finalfantasyxiv.com"
|
||||
- "*.ffxiv.com"
|
||||
- "*.ff14.sdo.com"
|
||||
- ff.dorado.sdo.com
|
||||
- "*.mcdn.bilivideo.cn"
|
||||
- "+.media.dssott.com"
|
||||
- "+.pvp.net"
|
||||
# DNS 服务器列表
|
||||
nameserver:
|
||||
- tls://223.5.5.5:853
|
||||
- tls://223.6.6.6:853
|
||||
- https://doh.pub/dns-query
|
||||
- https://dns.alidns.com/dns-query
|
||||
|
||||
# URL 重写(Stash)
|
||||
url-rewrite:
|
||||
- ^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302
|
||||
- ^https?:\/\/(ditu|maps).google\.cn https://maps.google.com 302
|
||||
|
||||
# 代理节点
|
||||
proxies: []
|
||||
|
||||
# 代理组配置
|
||||
proxy-groups:
|
||||
# 🚀 节点选择: 手动选择节点或策略
|
||||
- name: 🚀 节点选择
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
# 🚀 手动切换: 具体节点的列表
|
||||
- name: 🚀 手动切换
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
use:
|
||||
- all-proxies
|
||||
|
||||
# ♻️ 自动选择: 根据延迟自动选择最优节点
|
||||
- name: ♻️ 自动选择
|
||||
type: url-test
|
||||
url: http://www.gstatic.com/generate_204
|
||||
interval: 300
|
||||
tolerance: 50
|
||||
use:
|
||||
- all-proxies
|
||||
|
||||
# 🇭🇰 Hong Kong: 自动筛选香港地区的节点
|
||||
- name: 🇭🇰 Hong Kong
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)港|HK|Hong Kong"
|
||||
|
||||
# 🇯🇵 Japan: 自动筛选日本地区的节点
|
||||
- name: 🇯🇵 Japan
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)日|JP|Japan"
|
||||
|
||||
# 🇺🇸 United States: 自动筛选美国地区的节点
|
||||
- name: 🇺🇸 United States
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)美|US|United States"
|
||||
|
||||
# 🇸🇬 Singapore: 自动筛选新加坡地区的节点
|
||||
- name: 🇸🇬 Singapore
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)新|SG|Singapore"
|
||||
|
||||
# 🇹🇼 Taiwan: 自动筛选台湾地区的节点
|
||||
- name: 🇹🇼 Taiwan
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)台|TW|Taiwan"
|
||||
|
||||
# 🇰🇷 Korea: 自动筛选韩国地区的节点
|
||||
- name: 🇰🇷 Korea
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)韩|KR|Korea"
|
||||
|
||||
# 🇬🇧 United Kingdom: 自动筛选英国地区的节点
|
||||
- name: 🇬🇧 United Kingdom
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)英|UK|United Kingdom"
|
||||
|
||||
# 🇩🇪 Germany: 自动筛选德国地区的节点
|
||||
- name: 🇩🇪 Germany
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)德|DE|Germany"
|
||||
|
||||
# 🇫🇷 France: 自动筛选法国地区的节点
|
||||
- name: 🇫🇷 France
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "(?i)法|FR|France"
|
||||
|
||||
# 🌍 Other Regions: 自动筛选主要地区以外的所有节点
|
||||
- name: 🌍 Other Regions
|
||||
type: select
|
||||
use:
|
||||
- all-proxies
|
||||
filter: "^(?!.*((?i)港|HK|Hong Kong|日|JP|Japan|美|US|United States|Balance|新|SG|Singapore|台|TW|Taiwan|韩|KR|Korea|英|UK|United Kingdom|德|DE|Germany|法|FR|France)).*$"
|
||||
|
||||
# 🌐 国际流量: 处理未命中的国际网站流量
|
||||
- name: 🌐 国际流量
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
|
||||
# 🎯 国内流量: 处理已知国内网站的直连或代理策略
|
||||
- name: 🎯 国内流量
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
|
||||
# 🚫 国内广告: 拦截国内应用内的广告
|
||||
- name: 🚫 国内广告
|
||||
type: select
|
||||
proxies:
|
||||
- REJECT
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
|
||||
# 🚫 国外广告: 拦截国外应用或网页广告
|
||||
- name: 🚫 国外广告
|
||||
type: select
|
||||
proxies:
|
||||
- REJECT
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
|
||||
# 🤖 AI服务: 针对 ChatGPT, Claude, Gemini 等 AI 服务的策略
|
||||
- name: 🤖 AI服务
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 📹 YouTube: YouTube 专用优化策略
|
||||
- name: 📹 YouTube
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# Ⓜ️ 微软服务: 微软 Office, Outlook, OneDrive 等服务策略
|
||||
- name: Ⓜ️ 微软服务
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 🔍 谷歌服务: Google 搜索、地图及其他非 YouTube 谷歌服务
|
||||
- name: 🔍 谷歌服务
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 📧 Google FCM: 谷歌推送通知服务策略
|
||||
- name: 📧 Google FCM
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 🍎 Apple服务: App Store, iCloud, Apple Music 等苹果服务
|
||||
- name: 🍎 Apple服务
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 🌍 国外媒体: 其他未分类的国际视频/音乐流媒体
|
||||
- name: 🌍 国外媒体
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
- DIRECT
|
||||
use:
|
||||
- all-proxies
|
||||
|
||||
# ✈️ Telegram: Telegram 聊天应用专用策略
|
||||
- name: ✈️ Telegram
|
||||
type: select
|
||||
proxies:
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# Ⓜ️ Microsoft: 微软综合服务策略
|
||||
- name: Ⓜ️ Microsoft
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
- ♻️ 自动选择
|
||||
- 🚀 手动切换
|
||||
- 🇭🇰 Hong Kong
|
||||
- 🇯🇵 Japan
|
||||
- 🇺🇸 United States
|
||||
- 🇸🇬 Singapore
|
||||
- 🇹🇼 Taiwan
|
||||
- 🇰🇷 Korea
|
||||
- 🇬🇧 United Kingdom
|
||||
- 🇩🇪 Germany
|
||||
- 🇫🇷 France
|
||||
- 🌍 Other Regions
|
||||
|
||||
|
||||
# 🫧 WeChat: 微信特殊处理(通常建议直连)
|
||||
- name: 🫧 WeChat
|
||||
type: select
|
||||
proxies:
|
||||
- DIRECT
|
||||
- 🚀 节点选择
|
||||
- 🚀 手动切换
|
||||
|
||||
# 代理提供者 (订阅源)
|
||||
proxy-providers:
|
||||
all-proxies:
|
||||
type: http
|
||||
url: "https://example.com/your-subscription-url"
|
||||
interval: 3600
|
||||
path: ./providers/all-proxies.yaml
|
||||
health-check:
|
||||
enable: true
|
||||
interval: 600
|
||||
url: http://www.gstatic.com/generate_204
|
||||
|
||||
# 分流规则
|
||||
rules:
|
||||
- RULE-SET,AdBlock,🚫 国外广告
|
||||
- RULE-SET,HTTPDNS,🚫 国外广告
|
||||
- RULE-SET,Special,DIRECT
|
||||
- RULE-SET,AI Suite,🤖 AI服务
|
||||
- RULE-SET,Netflix,🌍 国外媒体
|
||||
- RULE-SET,Disney Plus,🌍 国外媒体
|
||||
- RULE-SET,YouTube,📹 YouTube
|
||||
- RULE-SET,Max,🌍 国外媒体
|
||||
- RULE-SET,Spotify,🌍 国外媒体
|
||||
- RULE-SET,Bilibili,🎯 国内流量
|
||||
- RULE-SET,IQ,🎯 国内流量
|
||||
- RULE-SET,IQIYI,🎯 国内流量
|
||||
- RULE-SET,Letv,🎯 国内流量
|
||||
- RULE-SET,Netease Music,🎯 国内流量
|
||||
- RULE-SET,Tencent Video,🎯 国内流量
|
||||
- RULE-SET,WeTV,🎯 国内流量
|
||||
- RULE-SET,Youku,🎯 国内流量
|
||||
- RULE-SET,Abema TV,🌍 国外媒体
|
||||
- RULE-SET,Bahamut,🌍 国外媒体
|
||||
- RULE-SET,DMM,🌍 国外媒体
|
||||
- RULE-SET,Fox+,🌍 国外媒体
|
||||
- RULE-SET,Hulu Japan,🌍 国外媒体
|
||||
- RULE-SET,Japonx,🌍 国外媒体
|
||||
- RULE-SET,JOOX,🌍 国外媒体
|
||||
- RULE-SET,KKBOX,🌍 国外媒体
|
||||
- RULE-SET,KKTV,🌍 国外媒体
|
||||
- RULE-SET,Line TV,🌍 国外媒体
|
||||
- RULE-SET,myTV SUPER,🌍 国外媒体
|
||||
- RULE-SET,Niconico,🌍 国外媒体
|
||||
- RULE-SET,ViuTV,🌍 国外媒体
|
||||
- RULE-SET,ABC,🌍 国外媒体
|
||||
- RULE-SET,Amazon,🌍 国外媒体
|
||||
- RULE-SET,BBC iPlayer,🌍 国外媒体
|
||||
- RULE-SET,DAZN,🌍 国外媒体
|
||||
- RULE-SET,Discovery Plus,🌍 国外媒体
|
||||
- RULE-SET,encoreTVB,🌍 国外媒体
|
||||
- RULE-SET,F1 TV,🌍 国外媒体
|
||||
- RULE-SET,Fox Now,🌍 国外媒体
|
||||
- RULE-SET,Hulu,🌍 国外媒体
|
||||
- RULE-SET,Pandora,🌍 国外媒体
|
||||
- RULE-SET,PBS,🌍 国外媒体
|
||||
- RULE-SET,Pornhub,🌍 国外媒体
|
||||
- RULE-SET,Soundcloud,🌍 国外媒体
|
||||
- RULE-SET,Telegram,✈️ Telegram
|
||||
- RULE-SET,Crypto,🌐 国际流量
|
||||
- RULE-SET,Discord,🌐 国际流量
|
||||
- RULE-SET,Google FCM,📧 Google FCM
|
||||
- RULE-SET,Google,🔍 谷歌服务
|
||||
- RULE-SET,Google Drive,🔍 谷歌服务
|
||||
- RULE-SET,YouTube Music,📹 YouTube
|
||||
- RULE-SET,Google Search,🔍 谷歌服务
|
||||
- RULE-SET,Microsoft,Ⓜ️ Microsoft
|
||||
- RULE-SET,PayPal,🌐 国际流量
|
||||
- RULE-SET,Scholar,🔍 谷歌服务
|
||||
- RULE-SET,Speedtest,🌐 国际流量
|
||||
- RULE-SET,Steam,🌐 国际流量
|
||||
- RULE-SET,TikTok,🌐 国际流量
|
||||
- RULE-SET,Apple Music,🍎 Apple服务
|
||||
- RULE-SET,Apple News,🍎 Apple服务
|
||||
- RULE-SET,Apple TV,🍎 Apple服务
|
||||
- RULE-SET,Apple,🍎 Apple服务
|
||||
- RULE-SET,miHoYo,🎯 国内流量
|
||||
- RULE-SET,PROXY,🌐 国际流量
|
||||
- RULE-SET,Domestic,🎯 国内流量
|
||||
- RULE-SET,Domestic IPs,🎯 国内流量
|
||||
- RULE-SET,LAN,DIRECT
|
||||
- GEOIP,CN,🎯 国内流量
|
||||
- MATCH,🌐 国际流量
|
||||
|
||||
# 规则提供者
|
||||
rule-providers:
|
||||
AdBlock:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/AdBlock.yaml'
|
||||
path: ./Rules/AdBlock
|
||||
interval: 604800
|
||||
HTTPDNS:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/HTTPDNS.yaml'
|
||||
path: ./Rules/HTTPDNS
|
||||
interval: 604800
|
||||
Special:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Special.yaml'
|
||||
path: ./Rules/Special
|
||||
interval: 604800
|
||||
PROXY:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Proxy.yaml'
|
||||
path: ./Rules/Proxy
|
||||
interval: 604800
|
||||
Domestic:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Domestic.yaml'
|
||||
path: ./Rules/Domestic
|
||||
interval: 604800
|
||||
Domestic IPs:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Domestic%20IPs.yaml'
|
||||
path: ./Rules/Domestic_IPs
|
||||
interval: 604800
|
||||
LAN:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/LAN.yaml'
|
||||
path: ./Rules/LAN
|
||||
interval: 604800
|
||||
Netflix:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Netflix.yaml'
|
||||
path: ./Rules/Media/Netflix
|
||||
interval: 604800
|
||||
Spotify:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Spotify.yaml'
|
||||
path: ./Rules/Media/Spotify
|
||||
interval: 604800
|
||||
YouTube:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/YouTube.yaml'
|
||||
path: ./Rules/Media/YouTube
|
||||
interval: 604800
|
||||
Max:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Max.yaml'
|
||||
path: ./Rules/Media/Max
|
||||
interval: 604800
|
||||
Bilibili:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Bilibili.yaml'
|
||||
path: ./Rules/Media/Bilibili
|
||||
interval: 604800
|
||||
IQ:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/IQ.yaml'
|
||||
path: ./Rules/Media/IQI
|
||||
interval: 604800
|
||||
IQIYI:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/IQIYI.yaml'
|
||||
path: ./Rules/Media/IQYI
|
||||
interval: 604800
|
||||
Letv:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Letv.yaml'
|
||||
path: ./Rules/Media/Letv
|
||||
interval: 604800
|
||||
Netease Music:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Netease%20Music.yaml'
|
||||
path: ./Rules/Media/Netease_Music
|
||||
interval: 604800
|
||||
Tencent Video:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Tencent%20Video.yaml'
|
||||
path: ./Rules/Media/Tencent_Video
|
||||
interval: 604800
|
||||
Youku:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Youku.yaml'
|
||||
path: ./Rules/Media/Youku
|
||||
interval: 604800
|
||||
WeTV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/WeTV.yaml'
|
||||
path: ./Rules/Media/WeTV
|
||||
interval: 604800
|
||||
ABC:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/ABC.yaml'
|
||||
path: ./Rules/Media/ABC
|
||||
interval: 604800
|
||||
Abema TV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Abema%20TV.yaml'
|
||||
path: ./Rules/Media/Abema_TV
|
||||
interval: 604800
|
||||
Amazon:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Amazon.yaml'
|
||||
path: ./Rules/Media/Amazon
|
||||
interval: 604800
|
||||
Apple Music:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Apple%20Music.yaml'
|
||||
path: ./Rules/Media/Apple_Music
|
||||
interval: 604800
|
||||
Apple News:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Apple%20News.yaml'
|
||||
path: ./Rules/Media/Apple_News
|
||||
interval: 604800
|
||||
Apple TV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Apple%20TV.yaml'
|
||||
path: ./Rules/Media/Apple_TV
|
||||
interval: 604800
|
||||
Bahamut:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Bahamut.yaml'
|
||||
path: ./Rules/Media/Bahamut
|
||||
interval: 604800
|
||||
BBC iPlayer:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/BBC%20iPlayer.yaml'
|
||||
path: ./Rules/Media/BBC_iPlayer
|
||||
interval: 604800
|
||||
DAZN:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/DAZN.yaml'
|
||||
path: ./Rules/Media/DAZN
|
||||
interval: 604800
|
||||
Discovery Plus:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Discovery%20Plus.yaml'
|
||||
path: ./Rules/Media/Discovery_Plus
|
||||
interval: 604800
|
||||
Disney Plus:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Disney%20Plus.yaml'
|
||||
path: ./Rules/Media/Disney_Plus
|
||||
interval: 604800
|
||||
DMM:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/DMM.yaml'
|
||||
path: ./Rules/Media/DMM
|
||||
interval: 604800
|
||||
encoreTVB:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/encoreTVB.yaml'
|
||||
path: ./Rules/Media/encoreTVB
|
||||
interval: 604800
|
||||
F1 TV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/F1%20TV.yaml'
|
||||
path: ./Rules/Media/F1_TV
|
||||
interval: 604800
|
||||
Fox Now:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Fox%20Now.yaml'
|
||||
path: ./Rules/Media/Fox_Now
|
||||
interval: 604800
|
||||
Fox+:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Fox%2B.yaml'
|
||||
path: ./Rules/Media/Fox+
|
||||
interval: 604800
|
||||
Hulu Japan:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Hulu%20Japan.yaml'
|
||||
path: ./Rules/Media/Hulu_Japan
|
||||
interval: 604800
|
||||
Hulu:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Hulu.yaml'
|
||||
path: ./Rules/Media/Hulu
|
||||
interval: 604800
|
||||
Japonx:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Japonx.yaml'
|
||||
path: ./Rules/Media/Japonx
|
||||
interval: 604800
|
||||
JOOX:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/JOOX.yaml'
|
||||
path: ./Rules/Media/JOOX
|
||||
interval: 604800
|
||||
KKBOX:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/KKBOX.yaml'
|
||||
path: ./Rules/Media/KKBOX
|
||||
interval: 604800
|
||||
KKTV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/KKTV.yaml'
|
||||
path: ./Rules/Media/KKTV
|
||||
interval: 604800
|
||||
Line TV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Line%20TV.yaml'
|
||||
path: ./Rules/Media/Line_TV
|
||||
interval: 604800
|
||||
myTV SUPER:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/myTV%20SUPER.yaml'
|
||||
path: ./Rules/Media/myTV_SUPER
|
||||
interval: 604800
|
||||
Niconico:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Niconico.yaml'
|
||||
path: ./Rules/Media/Niconico
|
||||
interval: 604800
|
||||
Pandora:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Pandora.yaml'
|
||||
path: ./Rules/Media/Pandora
|
||||
interval: 604800
|
||||
PBS:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/PBS.yaml'
|
||||
path: ./Rules/Media/PBS
|
||||
interval: 604800
|
||||
Pornhub:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Pornhub.yaml'
|
||||
path: ./Rules/Media/Pornhub
|
||||
interval: 604800
|
||||
Soundcloud:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/Soundcloud.yaml'
|
||||
path: ./Rules/Media/Soundcloud
|
||||
interval: 604800
|
||||
ViuTV:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Media/ViuTV.yaml'
|
||||
path: ./Rules/Media/ViuTV
|
||||
interval: 604800
|
||||
Telegram:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Telegram.yaml'
|
||||
path: ./Rules/Telegram
|
||||
interval: 604800
|
||||
Crypto:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Crypto.yaml'
|
||||
path: ./Rules/Crypto
|
||||
interval: 604800
|
||||
Discord:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Discord.yaml'
|
||||
path: ./Rules/Discord
|
||||
interval: 604800
|
||||
Steam:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Steam.yaml'
|
||||
path: ./Rules/Steam
|
||||
interval: 604800
|
||||
TikTok:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/TikTok.yaml'
|
||||
path: ./Rules/TikTok
|
||||
interval: 604800
|
||||
Speedtest:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Speedtest.yaml'
|
||||
path: ./Rules/Speedtest
|
||||
interval: 604800
|
||||
PayPal:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/PayPal.yaml'
|
||||
path: ./Rules/PayPal
|
||||
interval: 604800
|
||||
Microsoft:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Microsoft.yaml'
|
||||
path: ./Rules/Microsoft
|
||||
interval: 604800
|
||||
AI Suite:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/AI%20Suite.yaml'
|
||||
path: ./Rules/AI Suite
|
||||
interval: 604800
|
||||
Apple:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Apple.yaml'
|
||||
path: ./Rules/Apple
|
||||
interval: 604800
|
||||
Google FCM:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Google%20FCM.yaml'
|
||||
path: ./Rules/Google FCM
|
||||
interval: 604800
|
||||
Google:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Google/Google.yaml'
|
||||
path: ./Rules/Google
|
||||
interval: 604800
|
||||
Google Drive:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/GoogleDrive/GoogleDrive.yaml'
|
||||
path: ./Rules/GoogleDrive
|
||||
interval: 604800
|
||||
YouTube Music:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/YouTubeMusic/YouTubeMusic.yaml'
|
||||
path: ./Rules/YouTubeMusic
|
||||
interval: 604800
|
||||
Google Search:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/GoogleSearch/GoogleSearch.yaml'
|
||||
path: ./Rules/GoogleSearch
|
||||
interval: 604800
|
||||
Scholar:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Scholar.yaml'
|
||||
path: ./Rules/Scholar
|
||||
interval: 604800
|
||||
miHoYo:
|
||||
type: http
|
||||
behavior: classical
|
||||
url: 'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/miHoYo.yaml'
|
||||
path: ./Rules/miHoYo
|
||||
interval: 604800
|
||||
@@ -0,0 +1,293 @@
|
||||
# Self-Configuration
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/Clash-Meta-blue?style=flat-square&logo=clash" alt="Clash">
|
||||
<img src="https://img.shields.io/badge/Surge-5-orange?style=flat-square" alt="Surge">
|
||||
<img src="https://img.shields.io/badge/License-MIT-green?style=flat-square" alt="License">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<b>Personal Proxy Tool Configuration Collection</b><br>
|
||||
<i>个人代理工具配置文件集合</i>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="#-file-structure">Clash</a> •
|
||||
<a href="#-surge-configuration">Surge</a> •
|
||||
<a href="#-rule-sources">Rule Sources</a> •
|
||||
<a href="#️-notes">Notes</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<b>🌐 Language / 语言切换</b><br>
|
||||
<a href="README_CN.md">🇨🇳 简体中文</a> | <a href="README.md">🇺🇸 English</a>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
## 📁 File Structure
|
||||
|
||||
```
|
||||
Self-Configuration/
|
||||
├── Clash.yaml # Clash / Clash Meta configuration
|
||||
├── Surge.conf # Surge configuration
|
||||
├── README.md # English documentation (default)
|
||||
└── README_CN.md # 中文文档
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔷 Clash Configuration
|
||||
|
||||
> **Compatible Clients**: Clash, Clash for Windows, Clash Meta, Stash, FlClash
|
||||
|
||||
### ⚙️ Basic Settings
|
||||
|
||||
| Setting | Value | Description |
|
||||
|:-------:|:-----:|:-----------:|
|
||||
| Mixed Port | `7890` | Shared HTTP/SOCKS5 port |
|
||||
| Controller | `9090` | Web dashboard port |
|
||||
| Mode | `Rule` | Rule-based mode |
|
||||
| Allow LAN | `true` | Allow LAN connections |
|
||||
|
||||
### 🌐 DNS Configuration
|
||||
|
||||
| Type | Server | Provider |
|
||||
|:----:|:------:|:--------:|
|
||||
| DoT | `tls://223.5.5.5:853` | Alibaba |
|
||||
| DoT | `tls://223.6.6.6:853` | Alibaba |
|
||||
| DoH | `https://doh.pub/dns-query` | DNSPod |
|
||||
| DoH | `https://dns.alidns.com/dns-query` | Alibaba |
|
||||
|
||||
- **Enhanced Mode**: Fake-IP
|
||||
- **IPv6**: ✅ Enabled
|
||||
|
||||
### 🎯 Proxy Groups
|
||||
|
||||
#### 🚀 Main Selection Groups
|
||||
|
||||
| Group | Type | Description |
|
||||
|:-----:|:----:|:-----------:|
|
||||
| 🚀 节点选择 | `select` | Main entry point |
|
||||
| 🚀 手动切换 | `select` | Manual node selection |
|
||||
| ♻️ 自动选择 | `url-test` | Auto-select lowest latency |
|
||||
|
||||
#### 🌍 Regional Groups
|
||||
|
||||
| Group | Filter | Region |
|
||||
|:-----:|:------:|:------:|
|
||||
| 🇭🇰 Hong Kong | `港\|HK\|Hong Kong` | Hong Kong |
|
||||
| 🇯🇵 Japan | `日\|JP\|Japan` | Japan |
|
||||
| 🇺🇸 United States | `美\|US\|United States` | USA |
|
||||
| 🇸🇬 Singapore | `新\|SG\|Singapore` | Singapore |
|
||||
| 🇹🇼 Taiwan | `台\|TW\|Taiwan` | Taiwan |
|
||||
| 🇰🇷 Korea | `韩\|KR\|Korea` | Korea |
|
||||
| 🇬🇧 United Kingdom | `英\|UK\|United Kingdom` | UK |
|
||||
| 🇩🇪 Germany | `德\|DE\|Germany` | Germany |
|
||||
| 🇫🇷 France | `法\|FR\|France` | France |
|
||||
| 🌍 Other Regions | Exclude above | Others |
|
||||
|
||||
#### 📦 Service Groups
|
||||
|
||||
| Group | Default | Purpose |
|
||||
|:-----:|:-------:|:-------:|
|
||||
| 🤖 AI服务 | Proxy | ChatGPT, Claude, Gemini |
|
||||
| 📹 YouTube | Proxy | YouTube videos |
|
||||
| 🔍 谷歌服务 | Proxy | Google Search, Maps |
|
||||
| 📧 Google FCM | Proxy | Push notifications |
|
||||
| ✈️ Telegram | Proxy | Messaging |
|
||||
| 🍎 Apple服务 | DIRECT | Apple services |
|
||||
| Ⓜ️ 微软服务 | DIRECT | Microsoft services |
|
||||
| 🌍 国外媒体 | Proxy | Netflix, Disney+, etc. |
|
||||
| 🎯 国内流量 | DIRECT | Mainland China sites |
|
||||
| 🫧 WeChat | DIRECT | WeChat |
|
||||
| 🚫 广告拦截 | REJECT | Ad blocking |
|
||||
|
||||
### 📋 Rule Priority
|
||||
|
||||
```
|
||||
1. 🚫 Ad Blocking AdBlock, HTTPDNS → REJECT
|
||||
2. ⚡ Special Rules Special → DIRECT
|
||||
3. 🤖 AI Services AI Suite → Proxy
|
||||
4. 🎬 Streaming Netflix, Disney+, YouTube → Proxy
|
||||
5. 📺 CN Media Bilibili, iQIYI, Youku → DIRECT
|
||||
6. 💬 Messaging Telegram, Discord → Proxy
|
||||
7. 🔧 Tech Services Google, Microsoft, Apple
|
||||
8. 💰 Cryptocurrency Crypto → Proxy
|
||||
9. 🎮 Gaming Steam, miHoYo
|
||||
10. 🇨🇳 CN Rules Domestic → DIRECT
|
||||
11. 🌏 GeoIP CN China IP → DIRECT
|
||||
12. 🌐 Final Rule MATCH → Proxy
|
||||
```
|
||||
|
||||
### 🚀 Usage
|
||||
|
||||
1. **Import Configuration**
|
||||
- Download `Clash.yaml` and import to your client
|
||||
|
||||
2. **Update Subscription URL**
|
||||
```yaml
|
||||
proxy-providers:
|
||||
all-proxies:
|
||||
type: http
|
||||
url: "https://your-subscription-url"
|
||||
interval: 3600
|
||||
```
|
||||
|
||||
3. **Enable and Select Nodes**
|
||||
|
||||
---
|
||||
|
||||
## 🔶 Surge Configuration
|
||||
|
||||
> **Compatible Clients**: Surge for iOS / macOS
|
||||
|
||||
### ⚙️ Basic Settings
|
||||
|
||||
| Setting | Value | Description |
|
||||
|:-------:|:-----:|:-----------:|
|
||||
| HTTP Port | `6152` | Wi-Fi sharing port |
|
||||
| SOCKS5 Port | `6153` | Wi-Fi sharing port |
|
||||
| Controller | `6160` | API control port |
|
||||
| Dashboard | `6166` | Web dashboard port |
|
||||
| IPv6 | `false` | Disabled by default |
|
||||
|
||||
### 🌐 DNS Configuration
|
||||
|
||||
| Type | Server | Provider |
|
||||
|:----:|:------:|:--------:|
|
||||
| System | `223.5.5.5`, `223.6.6.6`, `119.29.29.29` | China DNS |
|
||||
| DoH | `https://doh.pub/dns-query` | DNSPod |
|
||||
| DoH | `https://dns.alidns.com/dns-query` | Alibaba |
|
||||
| Hijack | `8.8.8.8:53`, `8.8.4.4:53` | Google DNS |
|
||||
|
||||
### 🎯 Proxy Groups
|
||||
|
||||
#### 🚀 Core Groups
|
||||
|
||||
| Group | Type | Description |
|
||||
|:-----:|:----:|:-----------:|
|
||||
| NoAuto | `select` | Main entry point |
|
||||
| Automatic | `select` | Regional selection |
|
||||
| AllServer | `select` | All subscription nodes |
|
||||
| Proxy | `select` | Proxy policy |
|
||||
|
||||
#### 🌍 Regional Groups (Auto URL-Test)
|
||||
|
||||
| Group | Filter | Interval |
|
||||
|:-----:|:------:|:--------:|
|
||||
| Hong Kong | `港\|🇭🇰\|香港\|HK\|Hong` | 300s |
|
||||
| Taiwan | `台\|🇹🇼\|台湾\|TW\|Tai` | 300s |
|
||||
| Japan | `日\|🇯🇵\|日本\|JP\|Japan` | 300s |
|
||||
| Singapore | `坡\|🇸🇬\|新加坡\|狮城\|SG` | 300s |
|
||||
| United States | `美\|🇺🇸\|美国\|US\|States` | 300s |
|
||||
| United Kingdom | `🇬🇧\|英国\|UK` | 300s |
|
||||
| Korea | `韩\|韩国\|Korea\|KR\|🇰🇷` | 300s |
|
||||
| Other | Exclude above | 300s |
|
||||
|
||||
#### 📦 Service Groups
|
||||
|
||||
| Group | Default | Purpose |
|
||||
|:-----:|:-------:|:-------:|
|
||||
| AI | Automatic | ChatGPT, Claude, Gemini, Bing |
|
||||
| YouTube | Automatic | YouTube videos |
|
||||
| Netflix | Hong Kong | Netflix streaming |
|
||||
| Disney+ | Hong Kong | Disney+ streaming |
|
||||
| TikTok | Taiwan | TikTok unlock |
|
||||
| Telegram | Automatic | Messaging |
|
||||
| X | Automatic | Twitter/X |
|
||||
| Microsoft | Mainland | Microsoft services |
|
||||
| OneDrive | Mainland | Cloud storage |
|
||||
| Apple | Mainland | Apple services |
|
||||
| WeChat | Mainland | WeChat |
|
||||
| Bilibili | Mainland | Bilibili (HK/TW unlock) |
|
||||
| Speedtest | Mainland | Speed test |
|
||||
|
||||
### 📋 Rule Priority
|
||||
|
||||
```
|
||||
1. 🔧 Unbreak Rules Fix broken connections → DIRECT
|
||||
2. ✏️ Manual Rules Custom domains/processes
|
||||
3. 🚫 Ad Blocking SKK Ruleset → REJECT
|
||||
4. 🔒 Privacy Block trackers
|
||||
5. 📱 CN Apps WeChat, NetEase, Bilibili, Weibo
|
||||
6. 🍎 Apple Services App Store, Apple News, Apple TV
|
||||
7. 🤖 AI Services OpenAI, Claude, Gemini, Bing
|
||||
8. 🎬 Streaming Disney+, Netflix, TikTok, YouTube
|
||||
9. 🌏 Regional Unlock US, EU, JP, KR, HK, TW streams
|
||||
10. 💬 Social Media Twitter, Telegram, Facebook, Instagram
|
||||
11. 🔧 Other Global OneDrive, Microsoft, GitHub, Speedtest
|
||||
12. 🇨🇳 CN Rules SKK + ChinaMax ruleset
|
||||
13. 🌐 Global Rules CDN, Global ruleset
|
||||
14. 🏠 LAN Local network → DIRECT
|
||||
15. 🎯 Final Rule FINAL → NoAuto
|
||||
```
|
||||
|
||||
### ✨ Special Features
|
||||
|
||||
#### 🔄 URL Rewrite
|
||||
|
||||
| Original | Target | Type |
|
||||
|:--------:|:------:|:----:|
|
||||
| `google.cn` | `google.com` | 302 Redirect |
|
||||
| `maps.google.cn` | `maps.google.com` | 302 Redirect |
|
||||
| `taobao.com` | HTTPS | Force upgrade |
|
||||
| `jd.com` | HTTPS | Force upgrade |
|
||||
|
||||
#### 🏠 Host Mapping
|
||||
|
||||
| Service | DNS Server | Description |
|
||||
|:-------:|:----------:|:-----------:|
|
||||
| Taobao/Tmall/Alipay | `223.5.5.5` | Alibaba services |
|
||||
| JD/QQ/WeChat | `119.28.28.28` | Tencent services |
|
||||
| Bilibili/NetEase | `119.29.29.29` | Entertainment |
|
||||
| Router Admin | System DNS | Local devices |
|
||||
|
||||
### 🚀 Usage
|
||||
|
||||
1. **Import Configuration**
|
||||
- Download `Surge.conf` and import to Surge
|
||||
|
||||
2. **Update Subscription URL**
|
||||
```
|
||||
AllServer = select, ..., policy-path=https://your-subscription-url
|
||||
```
|
||||
|
||||
3. **Configure MITM Certificate** (required for URL rewrite)
|
||||
- Install and trust the certificate
|
||||
|
||||
4. **Enable Configuration**
|
||||
|
||||
---
|
||||
|
||||
## 📚 Rule Sources
|
||||
|
||||
| Source | Description |
|
||||
|:------:|:-----------:|
|
||||
| [dler-io/Rules](https://github.com/dler-io/Rules) | Main Clash ruleset |
|
||||
| [blackmatrix7/ios_rule_script](https://github.com/blackmatrix7/ios_rule_script) | Cross-platform rules |
|
||||
| [SukkaW/Surge](https://github.com/SukkaW/Surge) | SKK ruleset (ruleset.skk.moe) |
|
||||
| [VirgilClyne/GetSomeFries](https://github.com/VirgilClyne/GetSomeFries) | ASN rules |
|
||||
| [Semporia/TikTok-Unlock](https://github.com/Semporia/TikTok-Unlock) | TikTok unlock rules |
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ Notes
|
||||
|
||||
| Item | Description |
|
||||
|:----:|:-----------:|
|
||||
| 🔗 Subscription | Must replace with your own subscription URL |
|
||||
| 🔄 Rule Update | Rules auto-update every 7 days |
|
||||
| ⏱️ Speed Test | 300s interval, 3s timeout |
|
||||
| 🔐 MITM Cert | Required for Surge URL rewrite |
|
||||
| 🔍 Node Filter | Auto-filter nodes with "traffic/reset/expire" keywords |
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<sub>Made with ❤️ for better internet experience</sub>
|
||||
</p>
|
||||
|
||||
## 📄 License
|
||||
|
||||
MIT
|
||||
+293
@@ -0,0 +1,293 @@
|
||||
# Self-Configuration
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/Clash-Meta-blue?style=flat-square&logo=clash" alt="Clash">
|
||||
<img src="https://img.shields.io/badge/Surge-5-orange?style=flat-square" alt="Surge">
|
||||
<img src="https://img.shields.io/badge/License-MIT-green?style=flat-square" alt="License">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<b>个人代理工具配置文件集合</b><br>
|
||||
<i>Personal proxy tool configuration collection</i>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="#-文件结构">Clash</a> •
|
||||
<a href="#-surge-配置">Surge</a> •
|
||||
<a href="#-规则来源">规则来源</a> •
|
||||
<a href="#️-注意事项">注意事项</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<b>🌐 Language / 语言切换</b><br>
|
||||
<a href="README_CN.md">🇨🇳 简体中文</a> | <a href="README.md">🇺🇸 English</a>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
## 📁 文件结构
|
||||
|
||||
```
|
||||
Self-Configuration/
|
||||
├── Clash.yaml # Clash / Clash Meta 配置文件
|
||||
├── Surge.conf # Surge 配置文件
|
||||
├── README.md # English documentation (default)
|
||||
└── README_CN.md # 中文文档
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔷 Clash 配置
|
||||
|
||||
> **适用客户端**: Clash, Clash for Windows, Clash Meta, Stash, FlClash
|
||||
|
||||
### ⚙️ 基础设置
|
||||
|
||||
| 配置项 | 值 | 说明 |
|
||||
|:------:|:--:|:----:|
|
||||
| 混合端口 | `7890` | HTTP/SOCKS5 共用端口 |
|
||||
| 控制端口 | `9090` | Web 面板控制端口 |
|
||||
| 运行模式 | `Rule` | 规则模式 |
|
||||
| 局域网访问 | `true` | 允许其他设备连接 |
|
||||
|
||||
### 🌐 DNS 配置
|
||||
|
||||
| 类型 | 服务器 | 提供商 |
|
||||
|:----:|:------:|:------:|
|
||||
| DoT | `tls://223.5.5.5:853` | 阿里云 |
|
||||
| DoT | `tls://223.6.6.6:853` | 阿里云 |
|
||||
| DoH | `https://doh.pub/dns-query` | DNSPod |
|
||||
| DoH | `https://dns.alidns.com/dns-query` | 阿里云 |
|
||||
|
||||
- **增强模式**: Fake-IP
|
||||
- **IPv6**: ✅ 已启用
|
||||
|
||||
### 🎯 策略组
|
||||
|
||||
#### 🚀 主选择组
|
||||
|
||||
| 策略组 | 类型 | 说明 |
|
||||
|:------:|:----:|:----:|
|
||||
| 🚀 节点选择 | `select` | 主入口,手动选择策略 |
|
||||
| 🚀 手动切换 | `select` | 手动选择具体节点 |
|
||||
| ♻️ 自动选择 | `url-test` | 延迟最低自动切换 |
|
||||
|
||||
#### 🌍 地区节点组
|
||||
|
||||
| 策略组 | 筛选规则 | 地区 |
|
||||
|:------:|:--------:|:----:|
|
||||
| 🇭🇰 Hong Kong | `港\|HK\|Hong Kong` | 香港 |
|
||||
| 🇯🇵 Japan | `日\|JP\|Japan` | 日本 |
|
||||
| 🇺🇸 United States | `美\|US\|United States` | 美国 |
|
||||
| 🇸🇬 Singapore | `新\|SG\|Singapore` | 新加坡 |
|
||||
| 🇹🇼 Taiwan | `台\|TW\|Taiwan` | 台湾 |
|
||||
| 🇰🇷 Korea | `韩\|KR\|Korea` | 韩国 |
|
||||
| 🇬🇧 United Kingdom | `英\|UK\|United Kingdom` | 英国 |
|
||||
| 🇩🇪 Germany | `德\|DE\|Germany` | 德国 |
|
||||
| 🇫🇷 France | `法\|FR\|France` | 法国 |
|
||||
| 🌍 Other Regions | 排除以上地区 | 其他 |
|
||||
|
||||
#### 📦 服务分流组
|
||||
|
||||
| 策略组 | 默认策略 | 用途 |
|
||||
|:------:|:--------:|:----:|
|
||||
| 🤖 AI服务 | 代理 | ChatGPT, Claude, Gemini |
|
||||
| 📹 YouTube | 代理 | YouTube 视频 |
|
||||
| 🔍 谷歌服务 | 代理 | Google 搜索、地图 |
|
||||
| 📧 Google FCM | 代理 | Google 推送服务 |
|
||||
| ✈️ Telegram | 代理 | Telegram 通讯 |
|
||||
| 🍎 Apple服务 | 直连 | Apple 相关服务 |
|
||||
| Ⓜ️ 微软服务 | 直连 | Microsoft 服务 |
|
||||
| 🌍 国外媒体 | 代理 | Netflix, Disney+ 等 |
|
||||
| 🎯 国内流量 | 直连 | 国内网站 |
|
||||
| 🫧 WeChat | 直连 | 微信 |
|
||||
| 🚫 广告拦截 | 拒绝 | 广告过滤 |
|
||||
|
||||
### 📋 分流规则优先级
|
||||
|
||||
```
|
||||
1. 🚫 广告拦截 AdBlock, HTTPDNS → 拒绝
|
||||
2. ⚡ 特殊规则 Special → 直连
|
||||
3. 🤖 AI 服务 AI Suite → 代理
|
||||
4. 🎬 国际流媒体 Netflix, Disney+, YouTube → 代理
|
||||
5. 📺 国内媒体 Bilibili, 爱奇艺, 优酷 → 直连
|
||||
6. 💬 通讯工具 Telegram, Discord → 代理
|
||||
7. 🔧 科技服务 Google, Microsoft, Apple
|
||||
8. 💰 加密货币 Crypto → 代理
|
||||
9. 🎮 游戏服务 Steam, miHoYo
|
||||
10. 🇨🇳 国内规则 Domestic → 直连
|
||||
11. 🌏 GeoIP CN 中国 IP → 直连
|
||||
12. 🌐 兜底规则 MATCH → 代理
|
||||
```
|
||||
|
||||
### 🚀 使用方法
|
||||
|
||||
1. **导入配置**
|
||||
- 下载 `Clash.yaml` 导入客户端
|
||||
|
||||
2. **修改订阅地址**
|
||||
```yaml
|
||||
proxy-providers:
|
||||
all-proxies:
|
||||
type: http
|
||||
url: "https://你的订阅地址"
|
||||
interval: 3600
|
||||
```
|
||||
|
||||
3. **启用配置并选择节点**
|
||||
|
||||
---
|
||||
|
||||
## 🔶 Surge 配置
|
||||
|
||||
> **适用客户端**: Surge for iOS / macOS
|
||||
|
||||
### ⚙️ 基础设置
|
||||
|
||||
| 配置项 | 值 | 说明 |
|
||||
|:------:|:--:|:----:|
|
||||
| HTTP 端口 | `6152` | Wi-Fi 共享端口 |
|
||||
| SOCKS5 端口 | `6153` | Wi-Fi 共享端口 |
|
||||
| 外部控制 | `6160` | API 控制端口 |
|
||||
| Web 面板 | `6166` | Dashboard 端口 |
|
||||
| IPv6 | `false` | 默认关闭 |
|
||||
|
||||
### 🌐 DNS 配置
|
||||
|
||||
| 类型 | 服务器 | 提供商 |
|
||||
|:----:|:------:|:------:|
|
||||
| 系统 DNS | `223.5.5.5`, `223.6.6.6`, `119.29.29.29` | 国内 DNS |
|
||||
| DoH | `https://doh.pub/dns-query` | DNSPod |
|
||||
| DoH | `https://dns.alidns.com/dns-query` | 阿里云 |
|
||||
| DNS 劫持 | `8.8.8.8:53`, `8.8.4.4:53` | Google DNS |
|
||||
|
||||
### 🎯 策略组
|
||||
|
||||
#### 🚀 核心策略组
|
||||
|
||||
| 策略组 | 类型 | 说明 |
|
||||
|:------:|:----:|:----:|
|
||||
| NoAuto | `select` | 主选择入口 |
|
||||
| Automatic | `select` | 地区策略选择 |
|
||||
| AllServer | `select` | 所有订阅节点 |
|
||||
| Proxy | `select` | 代理策略 |
|
||||
|
||||
#### 🌍 地区节点组 (自动测速)
|
||||
|
||||
| 策略组 | 筛选规则 | 测试间隔 |
|
||||
|:------:|:--------:|:--------:|
|
||||
| Hong Kong | `港\|🇭🇰\|香港\|HK\|Hong` | 300s |
|
||||
| Taiwan | `台\|🇹🇼\|台湾\|TW\|Tai` | 300s |
|
||||
| Japan | `日\|🇯🇵\|日本\|JP\|Japan` | 300s |
|
||||
| Singapore | `坡\|🇸🇬\|新加坡\|狮城\|SG` | 300s |
|
||||
| United States | `美\|🇺🇸\|美国\|US\|States` | 300s |
|
||||
| United Kingdom | `🇬🇧\|英国\|UK` | 300s |
|
||||
| Korea | `韩\|韩国\|Korea\|KR\|🇰🇷` | 300s |
|
||||
| Other | 排除以上地区 | 300s |
|
||||
|
||||
#### 📦 服务策略组
|
||||
|
||||
| 策略组 | 默认策略 | 用途 |
|
||||
|:------:|:--------:|:----:|
|
||||
| AI | Automatic | ChatGPT, Claude, Gemini, Bing |
|
||||
| YouTube | Automatic | YouTube 视频 |
|
||||
| Netflix | Hong Kong | Netflix 流媒体 |
|
||||
| Disney+ | Hong Kong | Disney+ 流媒体 |
|
||||
| TikTok | Taiwan | TikTok 解锁 |
|
||||
| Telegram | Automatic | Telegram 通讯 |
|
||||
| X | Automatic | Twitter/X |
|
||||
| Microsoft | Mainland | 微软服务 |
|
||||
| OneDrive | Mainland | OneDrive 云盘 |
|
||||
| Apple | Mainland | Apple 服务 |
|
||||
| WeChat | Mainland | 微信 |
|
||||
| Bilibili | Mainland | B站 (支持港澳台解锁) |
|
||||
| Speedtest | Mainland | 测速工具 |
|
||||
|
||||
### 📋 分流规则优先级
|
||||
|
||||
```
|
||||
1. 🔧 规则修正 Unbreak → 直连
|
||||
2. ✏️ 手动规则 自定义域名/进程
|
||||
3. 🚫 广告拦截 SKK 规则集 → 拒绝
|
||||
4. 🔒 隐私保护 拦截追踪域名
|
||||
5. 📱 国内应用 微信, 网易云, B站, 微博, 小红书
|
||||
6. 🍎 Apple 服务 App Store, Apple News, Apple TV
|
||||
7. 🤖 AI 服务 OpenAI, Claude, Gemini, Bing
|
||||
8. 🎬 国际流媒体 Disney+, Netflix, TikTok, YouTube
|
||||
9. 🌏 地区解锁 美区, 欧区, 日区, 韩区, 港区, 台区
|
||||
10. 💬 国际社交 Twitter, Telegram, Facebook, Instagram
|
||||
11. 🔧 其他国际 OneDrive, Microsoft, GitHub, Speedtest
|
||||
12. 🇨🇳 国内规则 SKK + ChinaMax 规则集
|
||||
13. 🌐 国际规则 CDN, Global 规则集
|
||||
14. 🏠 本地网络 LAN → 直连
|
||||
15. 🎯 兜底规则 FINAL → NoAuto
|
||||
```
|
||||
|
||||
### ✨ 特色功能
|
||||
|
||||
#### 🔄 URL 重写
|
||||
|
||||
| 原地址 | 目标地址 | 类型 |
|
||||
|:------:|:--------:|:----:|
|
||||
| `google.cn` | `google.com` | 302 重定向 |
|
||||
| `maps.google.cn` | `maps.google.com` | 302 重定向 |
|
||||
| `taobao.com` | HTTPS | 强制升级 |
|
||||
| `jd.com` | HTTPS | 强制升级 |
|
||||
|
||||
#### 🏠 Host 映射
|
||||
|
||||
| 服务 | DNS 服务器 | 说明 |
|
||||
|:----:|:----------:|:----:|
|
||||
| 淘宝/天猫/支付宝 | `223.5.5.5` | 阿里系服务 |
|
||||
| 京东/QQ/微信 | `119.28.28.28` | 腾讯系服务 |
|
||||
| B站/网易 | `119.29.29.29` | 娱乐服务 |
|
||||
| 路由器管理 | 系统 DNS | 本地设备 |
|
||||
|
||||
### 🚀 使用方法
|
||||
|
||||
1. **导入配置**
|
||||
- 下载 `Surge.conf` 导入 Surge
|
||||
|
||||
2. **修改订阅地址**
|
||||
```
|
||||
AllServer = select, ..., policy-path=https://你的订阅地址
|
||||
```
|
||||
|
||||
3. **配置 MITM 证书**(如需 URL 重写功能)
|
||||
- 安装并信任证书
|
||||
|
||||
4. **启用配置**
|
||||
|
||||
---
|
||||
|
||||
## 📚 规则来源
|
||||
|
||||
| 来源 | 说明 |
|
||||
|:----:|:----:|
|
||||
| [dler-io/Rules](https://github.com/dler-io/Rules) | Clash 主要规则集 |
|
||||
| [blackmatrix7/ios_rule_script](https://github.com/blackmatrix7/ios_rule_script) | 全平台规则集 |
|
||||
| [SukkaW/Surge](https://github.com/SukkaW/Surge) | SKK 规则集 (ruleset.skk.moe) |
|
||||
| [VirgilClyne/GetSomeFries](https://github.com/VirgilClyne/GetSomeFries) | ASN 规则 |
|
||||
| [Semporia/TikTok-Unlock](https://github.com/Semporia/TikTok-Unlock) | TikTok 解锁规则 |
|
||||
|
||||
---
|
||||
|
||||
## ⚠️ 注意事项
|
||||
|
||||
| 项目 | 说明 |
|
||||
|:----:|:----:|
|
||||
| 🔗 订阅地址 | 使用前必须替换为自己的订阅地址 |
|
||||
| 🔄 规则更新 | 规则集自动更新周期为 7 天 |
|
||||
| ⏱️ 节点测速 | 自动测速间隔 300 秒,超时 3 秒 |
|
||||
| 🔐 MITM 证书 | Surge 的 URL 重写功能需要安装证书 |
|
||||
| 🔍 节点过滤 | 自动过滤包含"流量/重置/到期"等关键词 |
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<sub>Made with ❤️ for better internet experience</sub>
|
||||
</p>
|
||||
|
||||
## 📄 License
|
||||
|
||||
MIT
|
||||
+319
@@ -0,0 +1,319 @@
|
||||
[General]
|
||||
# --- GENERAL ---
|
||||
# Enhanced Wi-Fi Assist
|
||||
wifi-assist = true
|
||||
# Hybrid Network
|
||||
all-hybrid = false
|
||||
# Gaming Optimization
|
||||
udp-priority = false
|
||||
# Latency Benchmark
|
||||
internet-test-url = http://connectivitycheck.platform.hicloud.com/generate_204
|
||||
proxy-test-url = http://cp.cloudflare.com/generate_204
|
||||
test-timeout = 3
|
||||
# GeoIP Database
|
||||
geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
|
||||
# IPv6 Support
|
||||
ipv6 = false
|
||||
ipv6-vif = auto
|
||||
# --- Wi-Fi ACCESS ---
|
||||
allow-wifi-access = false
|
||||
wifi-access-http-port = 6152
|
||||
wifi-access-socks5-port = 6153
|
||||
http-listen = 0.0.0.0
|
||||
socks5-listen = 0.0.0.0
|
||||
allow-hotspot-access = true
|
||||
# --- REMOTE CONTROLLER ---
|
||||
external-controller-access = Surge@0.0.0.0:6160
|
||||
http-api = steve@0.0.0.0:6166
|
||||
http-api-tls = true
|
||||
http-api-web-dashboard = true
|
||||
# --- COMPATIBILITY ---
|
||||
compatibility-mode = 1
|
||||
# --- NETWORK ---
|
||||
skip-proxy = localhost, *.local, captive.apple.com, guzzoni.apple.com, 0.0.0.0/8, 10.0.0.0/8, 17.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.168.0.0/16, 192.88.99.0/24, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32
|
||||
exclude-simple-hostnames = true
|
||||
read-etc-hosts = true
|
||||
# --- DNS ---
|
||||
use-local-host-item-for-proxy = true
|
||||
encrypted-dns-follow-outbound-mode = false
|
||||
include-all-networks = false
|
||||
include-local-networks = false
|
||||
dns-server = 223.5.5.5, 223.6.6.6, 119.29.29.29
|
||||
encrypted-dns-server = https://doh.pub/dns-query, https://dns.alidns.com/dns-query
|
||||
loglevel = notify
|
||||
# --- ADVANCED ---
|
||||
show-error-page-for-reject = true
|
||||
force-http-engine-hosts = *.ott.cibntv.net, 123.59.31.1, 119.18.193.135, 122.14.246.33, 175.102.178.52, 116.253.24.*, 175.6.26.*, 220.169.153.*
|
||||
always-real-ip = link-ip.nextdns.io, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.logon.battlenet.com.cn, *.logon.battle.net, stun.l.google.com
|
||||
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
|
||||
udp-policy-not-supported-behaviour = REJECT
|
||||
proxy-restricted-to-lan = false
|
||||
|
||||
[Proxy Group]
|
||||
NoAuto = select, Mainland, Automatic, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/lightning(1).png
|
||||
Automatic = select, DIRECT, "Hong Kong", Taiwan, Japan, Singapore, "United States", "United Kingdom", Korea, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/lightning(5).png
|
||||
|
||||
AllServer = select, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, policy-regex-filter=^((?!Remain|Expired|官网|如需|套餐|去除|剩余|距离|Reset|重置|流量).)+$, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Surge(15).png, policy-path=https://example.com/your-subscription-url
|
||||
|
||||
Proxy = select, Automatic, "Hong Kong", Taiwan, Singapore, Japan, "United States", "United Kingdom", no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/okx.png
|
||||
|
||||
Apple = select, Mainland, "Hong Kong", "United States", DIRECT, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/apple.png
|
||||
|
||||
# ==================== 核心策略分组 ====================
|
||||
AI = select, Automatic, "United States", Japan, Singapore, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/claude.png
|
||||
|
||||
Microsoft = select, Mainland, "Hong Kong", Singapore, "United States", icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/microsoft.png
|
||||
|
||||
OneDrive = select, Mainland, "Hong Kong", Singapore, "United States", icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/OneDrive.png
|
||||
|
||||
Telegram = select, Automatic, Singapore, "United States", "Hong Kong", Taiwan, Japan, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/telegram(1).png
|
||||
|
||||
# ==================== 应用服务策略 ====================
|
||||
# --- 苹果服务 ---
|
||||
WeChat = select, Mainland, "Hong Kong", Singapore, "United States", icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/wechat(1).png
|
||||
|
||||
# --- AI 服务 ---
|
||||
X = select, Automatic, "Hong Kong", Taiwan, Singapore, Japan, "United States", no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/twitter(2).png
|
||||
|
||||
# --- 微软服务 ---
|
||||
Bilibili = select, Mainland, "Hong Kong", Taiwan, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/bilibili(1).png
|
||||
Disney+ = select, "Hong Kong", Singapore, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/disney(blue).png
|
||||
|
||||
# --- 社交通讯 ---
|
||||
Netflix = select, "Hong Kong", Taiwan, Singapore, Japan, "United States", DIRECT, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/netflix(red).png
|
||||
TikTok = select, Taiwan, Singapore, Japan, "United States", no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/tiktok.png
|
||||
YouTube = select, Automatic, "Hong Kong", Taiwan, Singapore, Japan, "United States", no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/youtube.png
|
||||
|
||||
# --- 流媒体服务 ---
|
||||
Speedtest = select, Mainland, Automatic, AllServer, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/speedtest(2).png
|
||||
Mainland = select, DIRECT, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/taiwan.png
|
||||
Hong Kong = url-test, update-interval=0, policy-regex-filter=港|🇭🇰|香港|HK|Hong, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Hongkong(2).png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
Taiwan = url-test, update-interval=0, policy-regex-filter=台|🇹🇼|台湾|TW|Tai, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/taiwan(2).png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
Japan = url-test, update-interval=0, policy-regex-filter=日|🇯🇵|日本|JP|Japan, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Japan(1).png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
# --- 工具服务 ---
|
||||
Singapore = url-test, update-interval=0, policy-regex-filter=坡|🇸🇬|新加坡|狮城|SG|Singapore, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Turkey.png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
# --- 国内直连 ---
|
||||
United States = url-test, update-interval=0, policy-regex-filter=美|🇺🇸|美国|US|States|American, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/US(1).png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
# ==================== 地区自动选择组 ====================
|
||||
United Kingdom = url-test, update-interval=0, policy-regex-filter=🇬🇧|英国|英|英格兰|UK|United Kingdom, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/UnitedKingdom.png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
Korea = url-test, update-interval=0, policy-regex-filter=韩|韩国|Korea|KR|🇰🇷, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Korea(1).png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
Other = url-test, update-interval=0, policy-regex-filter=^((?!港|🇭🇰|香港|HK|Hong|台|🇹🇼|台湾|TW|Tai|日|🇯🇵|日本|JP|Japan|坡|🇸🇬|新加坡|狮城|SG|Singapore|美|🇺🇸|美国|US|States|American|🇬🇧|英国|英|英格兰|UK|United Kingdom|韩|韩国|Korea|KR|🇰🇷|Remain|Expired|官网|如需|套餐|去除|剩余|距离|Reset|重置|流量).)+$, no-alert=0, hidden=0, include-all-proxies=0, include-other-group=AllServer, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/Global.png, url=http://cp.cloudflare.com/generate_204, interval=300, tolerance=50, timeout=3
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# ==================== 订阅节点组 (隐藏) ====================
|
||||
|
||||
|
||||
|
||||
[Rule]
|
||||
# >> 规则修正 (Unbreak Rules)
|
||||
RULE-SET,https://raw.githubusercontent.com/zxfccmm4/Profiles/refs/heads/main/Surge/Ruleset/Unbreak.list,DIRECT
|
||||
|
||||
# >> 核心手动规则 (Core Manual Rules)
|
||||
PROCESS-NAME,/Applications/Antigravity.app/,AI
|
||||
DOMAIN-KEYWORD,mcprouter.co,DIRECT
|
||||
DOMAIN-KEYWORD,docker,DIRECT
|
||||
DOMAIN-SUFFIX,technovm.com,DIRECT
|
||||
DOMAIN,emby.nebula-media.org,DIRECT
|
||||
DOMAIN-SUFFIX,releases.diabrowser.com,DIRECT
|
||||
DOMAIN-SUFFIX,5km.tech,DIRECT
|
||||
DOMAIN-SUFFIX,anyrouter.top,AI
|
||||
IP-CIDR,10.0.31.215/32,DIRECT,no-resolve
|
||||
|
||||
# >> 广告拦截 (Ad Blocking)
|
||||
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-drop.conf,REJECT-DROP
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP
|
||||
|
||||
# >> 隐私保护 (Privacy Protection)
|
||||
DOMAIN,app-site-association.cdn-apple.com,REJECT
|
||||
DOMAIN,prpr.96110.cn.com,DIRECT
|
||||
DOMAIN-KEYWORD,96110,REJECT
|
||||
DOMAIN-SUFFIX,gjfzpt.cn,REJECT
|
||||
|
||||
# >> 国内应用 (Mainland Apps)
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/WeChat/WeChat.list,WeChat
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/neteasemusic.conf,Mainland
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/neteasemusic.conf,Mainland
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,Bilibili
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Weibo/Weibo.list,Mainland
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/XiaoHongShu/XiaoHongShu.list,Mainland
|
||||
|
||||
# >> Apple 服务 (Apple Services)
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppStore/AppStore.list,DIRECT
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppleNews/AppleNews.list,"United States"
|
||||
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/apple_cdn.conf,Apple
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppleTV/AppleTV.list,Apple
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple.list,Apple
|
||||
|
||||
# >> AI 服务 (AI Services)
|
||||
DOMAIN-KEYWORD,diabrowser.engineering,AI
|
||||
DOMAIN-SUFFIX,apple-relay.apple.com,AI
|
||||
DOMAIN-SUFFIX,apple-relay.cloudflare.com,AI
|
||||
DOMAIN-KEYWORD,apple-relay,AI
|
||||
DOMAIN-SUFFIX,googleapis.com,AI
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,AI
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Bing/Bing.list,AI
|
||||
DOMAIN-SUFFIX,diabrowser.engineering,AI
|
||||
|
||||
# >> 国外流媒体 (International Streaming)
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,Disney+
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,Netflix
|
||||
RULE-SET,https://raw.githubusercontent.com/Semporia/TikTok-Unlock/master/Surge/TikTok.list,TikTok
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,YouTube
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GoogleSearch/GoogleSearch.list,YouTube
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Emby/Emby.list,Automatic
|
||||
|
||||
# >> 地区流媒体解锁 (Regional Streaming Unlock)
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_us.conf,"United States"
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_us.conf,"United States"
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_eu.conf,"United Kingdom"
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_eu.conf,"United Kingdom"
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_jp.conf,Japan
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_jp.conf,Japan
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_kr.conf,Korea
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_kr.conf,Korea
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_hk.conf,"Hong Kong"
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_hk.conf,"Hong Kong"
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_tw.conf,Taiwan
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/stream_tw.conf,Taiwan
|
||||
|
||||
# >> 国外社交媒体 (International Social Media)
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Twitter/Twitter.list,X
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/telegram.conf,Telegram
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,Telegram
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/telegram_asn.conf,Telegram
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Facebook/Facebook.list,Automatic
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Instagram/Instagram.list,Automatic
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Threads/Threads.list,Automatic
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Discord/Discord.list,Automatic
|
||||
|
||||
# >> 其他国外服务 (Other International Services)
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OneDrive/OneDrive.list,OneDrive
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/microsoft.conf,Microsoft
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Automatic
|
||||
RULE-SET,https://raw.githubusercontent.com/getsomecat/GetSomeCats/Surge/rule/substore.list,Automatic
|
||||
DOMAIN-SUFFIX,vercel.app,Automatic
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Speedtest/Speedtest.list,Speedtest
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Riot/Riot.list,"United States"
|
||||
DOMAIN-SUFFIX,mypikpak.com,"United States"
|
||||
DOMAIN-SUFFIX,nssurge.com,Automatic
|
||||
DOMAIN-SUFFIX,surgee.me,Automatic
|
||||
DOMAIN-SUFFIX,www.torrentmac.net,Automatic
|
||||
DOMAIN-SUFFIX,cloudflare.com,Automatic
|
||||
DOMAIN,jable.tv,Automatic
|
||||
DOMAIN,api.amplitude.com,Automatic
|
||||
DOMAIN,m.cmx.im,Automatic
|
||||
DOMAIN-SUFFIX,api.themoviedb.org,Automatic
|
||||
|
||||
# >> 国内规则 (Mainland China Rules)
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/direct.conf,Mainland
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/domestic.conf,Mainland
|
||||
RULE-SET,https://ruleset.skk.moe/List/ip/domestic.conf,Mainland
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax.list,Mainland
|
||||
RULE-SET,https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/ASN.China.list,DIRECT
|
||||
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/download.conf,Mainland
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/download.conf,Mainland
|
||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Tesla/Tesla.list,DIRECT
|
||||
DOMAIN-SUFFIX,appstorrent.ru,DIRECT
|
||||
|
||||
# >> 国外规则 (Global Rules)
|
||||
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,Automatic
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/cdn.conf,Automatic
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/global_plus.conf,Automatic
|
||||
RULE-SET,https://ruleset.skk.moe/List/non_ip/global.conf,Automatic
|
||||
|
||||
# >> 网络优化与特殊规则 (Network Optimization)
|
||||
AND,((PROTOCOL,UDP), (DOMAIN-SUFFIX,googlevideo.com)),REJECT-NO-DROP
|
||||
DOMAIN-SUFFIX,smtp,DIRECT
|
||||
URL-REGEX,(Subject|HELO|SMTP),DIRECT
|
||||
|
||||
# >> 本地网络 (LAN)
|
||||
RULE-SET,LAN,DIRECT
|
||||
|
||||
# >> 兜底规则 (Final Rule)
|
||||
FINAL,NoAuto,dns-failed
|
||||
|
||||
[Host]
|
||||
*.taobao.com = server:223.5.5.5
|
||||
*.tmall.com = server:223.5.5.5
|
||||
*.alipay.com = server:223.5.5.5
|
||||
*.alicdn.com = server:223.5.5.5
|
||||
*.aliyun.com = server:223.5.5.5
|
||||
*.jd.com = server:119.28.28.28
|
||||
*.qq.com = server:119.28.28.28
|
||||
*.tencent.com = server:119.28.28.28
|
||||
*.weixin.com = server:119.28.28.28
|
||||
*.bilibili.com = server:119.29.29.29
|
||||
hdslb.com = server:119.29.29.29
|
||||
*.163.com = server:119.29.29.29
|
||||
*.126.com = server:119.29.29.29
|
||||
*.126.net = server:119.29.29.29
|
||||
*.127.net = server:119.29.29.29
|
||||
*.netease.com = server:119.29.29.29
|
||||
*.mi.com = server:119.29.29.29
|
||||
*.xiaomi.com = server:119.29.29.29
|
||||
*testflight.apple.com = server:8.8.4.4
|
||||
# > Firebase Cloud Messaging
|
||||
mtalk.google.com = 108.177.125.188
|
||||
# > Google Dl
|
||||
dl.google.com = server:119.29.29.29
|
||||
dl.l.google.com = server:119.29.29.29
|
||||
update.googleapis.com = server:119.29.29.29
|
||||
# > Router Admin Panel
|
||||
amplifi.lan = server:system // Ubiquiti Amplifi Router
|
||||
router.synology.com = server:system // Synology Router
|
||||
sila.razer.com = server:system // Razer Sila Router
|
||||
router.asus.com = server:system // Asus Router
|
||||
routerlogin.net = server:system // Netgear Router
|
||||
orbilogin.com = server:system // Netgear Obri Router
|
||||
www.LinksysSmartWiFi.com = server:system // Linksys Router
|
||||
LinksysSmartWiFi.com = server:system // Linksys Router
|
||||
myrouter.local = server:system // Linksys Router
|
||||
www.miwifi.com = server:system // Xiaomi Mi WiFi Router
|
||||
miwifi.com = server:system // Xiaomi Mi WiFi Router
|
||||
mediarouter.home = server:system // Huawei Router
|
||||
tplogin.cn = server:system // TP-Link Router
|
||||
tplinklogin.net = server:system // TP-Link Router
|
||||
melogin.cn = server:system // MERCURY Router
|
||||
falogin.cn = server:system // FAST Router
|
||||
|
||||
[URL Rewrite]
|
||||
# > Redirect Google Services
|
||||
^https?:\/\/(www\.)?(g|google)\.cn https://www.google.com 302
|
||||
^https?:\/\/(ditu|maps)\.google\.cn https://maps.google.com 302
|
||||
|
||||
# > HTTPS Redirects
|
||||
^https?:\/\/(www\.)?taobao\.com\/ https://taobao.com/ 302
|
||||
^https?:\/\/(www\.)?jd\.com\/ https://www.jd.com/ 302
|
||||
^https?:\/\/(www\.)?mi\.com\/ https://www.mi.com/ 302
|
||||
^https?:\/\/you\.163\.com\/ https://you.163.com/ 302
|
||||
^https?:\/\/(www\.)?suning\.com\/ https://suning.com/ 302
|
||||
^https?:\/\/(www\.)?yhd\.com\/ https://yhd.com/ 302
|
||||
|
||||
# > Service Optimizations
|
||||
^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject
|
||||
|
||||
[Header Rewrite]
|
||||
http-request ^https?:\/\/.*\.zhihu\.com\/(question|topic) header-replace User-Agent "osee2unifiedRelease/4432 osee2unifiedReleaseVersion/7.8.0 Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mo bile/15E148"
|
||||
|
||||
# 解决github速率限制返回429问题
|
||||
http-request ^https:\/\/github\.com\/ header-replace Accept-Language en-us
|
||||
http-request ^https:\/\/(raw|gist)\.githubusercontent\.com\/ header-replace Accept-Language en-us
|
||||
|
||||
[MITM]
|
||||
skip-server-cert-verify = true
|
||||
tcp-connection = true
|
||||
h2 = true
|
||||
hostname = www.google.cn, api.abema.io, *.zhihu.com, -CUSTOMMitM, sub.store
|
||||
[Script]
|
||||
# > Flush DNS, show the DNS delay and server.
|
||||
Reference in new issue
Block a user