add custom config
This commit is contained in:
parent
bc419d4f4d
commit
c79215425b
1 changed files with 683 additions and 0 deletions
683
or.yaml
Normal file
683
or.yaml
Normal file
|
|
@ -0,0 +1,683 @@
|
||||||
|
proxies:
|
||||||
|
- {name: 直连, type: direct}
|
||||||
|
- {name: 拒绝, type: reject}
|
||||||
|
|
||||||
|
# ========================
|
||||||
|
# 主要端口设置
|
||||||
|
# ========================
|
||||||
|
port: 7890
|
||||||
|
socks-port: 7891
|
||||||
|
redir-port: 7892
|
||||||
|
mixed-port: 7893
|
||||||
|
tproxy-port: 7895
|
||||||
|
|
||||||
|
allow-lan: true
|
||||||
|
mode: rule
|
||||||
|
log-level: info
|
||||||
|
|
||||||
|
external-controller: 0.0.0.0:9090
|
||||||
|
# external-ui: ui
|
||||||
|
# external-ui-name: zashboard
|
||||||
|
# external-ui-url: https://GitHub.com/Zephyruso/zashboard/archive/refs/heads/gh-pages.zip
|
||||||
|
|
||||||
|
# ========================
|
||||||
|
# DNS 设置
|
||||||
|
# ========================
|
||||||
|
dns:
|
||||||
|
enable: true
|
||||||
|
listen: 0.0.0.0:7874
|
||||||
|
ipv6: true
|
||||||
|
enhanced-mode: fake-ip
|
||||||
|
fake-ip-filter-mode: blacklist
|
||||||
|
fake-ip-range: 198.19.0.1/16
|
||||||
|
nameserver:
|
||||||
|
- 192.168.31.9
|
||||||
|
fake-ip-filter:
|
||||||
|
- "*.lan"
|
||||||
|
- "*.localdomain"
|
||||||
|
- "*.example"
|
||||||
|
- "*.invalid"
|
||||||
|
- "*.localhost"
|
||||||
|
- "*.test"
|
||||||
|
- "*.local"
|
||||||
|
- "*.home.arpa"
|
||||||
|
- "*.direct"
|
||||||
|
- cable.auth.com
|
||||||
|
- network-test.debian.org
|
||||||
|
- detectportal.firefox.com
|
||||||
|
- resolver1.opendns.com
|
||||||
|
- global.turn.twilio.com
|
||||||
|
- global.stun.twilio.com
|
||||||
|
- app.yinxiang.com
|
||||||
|
- injections.adguard.org
|
||||||
|
- localhost.*.weixin.qq.com
|
||||||
|
- "*.blzstatic.cn"
|
||||||
|
- "*.cmpassport.com"
|
||||||
|
- id6.me
|
||||||
|
- open.e.189.cn
|
||||||
|
- opencloud.wostore.cn
|
||||||
|
- id.mail.wo.cn
|
||||||
|
- mdn.open.wo.cn
|
||||||
|
- hmrz.wo.cn
|
||||||
|
- nishub1.10010.com
|
||||||
|
- enrichgw.10010.com
|
||||||
|
- "*.wosms.cn"
|
||||||
|
- "*.jegotrip.com.cn"
|
||||||
|
- "*.icitymobile.mobi"
|
||||||
|
- "*.pingan.com.cn"
|
||||||
|
- "*.cmbchina.com"
|
||||||
|
- "*.10099.com.cn"
|
||||||
|
- "*.microdone.cn"
|
||||||
|
- PDC._msDCS.*.*
|
||||||
|
- DC._msDCS.*.*
|
||||||
|
- GC._msDCS.*.*
|
||||||
|
- time.*.gov
|
||||||
|
- time.*.edu.cn
|
||||||
|
- time.*.apple.com
|
||||||
|
- time-ios.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"
|
||||||
|
- localhost.ptlogin2.qq.com
|
||||||
|
- localhost.sec.qq.com
|
||||||
|
- "+.qq.com"
|
||||||
|
- "+.tencent.com"
|
||||||
|
- "+.srv.nintendo.net"
|
||||||
|
- "*.n.n.srv.nintendo.net"
|
||||||
|
- "+.cdn.nintendo.net"
|
||||||
|
- "+.stun.playstation.net"
|
||||||
|
- xbox.*.*.microsoft.com
|
||||||
|
- "*.*.xboxlive.com"
|
||||||
|
- xbox.*.microsoft.com
|
||||||
|
- xnotify.xboxlive.com
|
||||||
|
- "+.battle.net"
|
||||||
|
- "+.battlenet.com.cn"
|
||||||
|
- "+.wotgame.cn"
|
||||||
|
- "+.wggames.cn"
|
||||||
|
- "+.wowsgame.cn"
|
||||||
|
- "+.wargaming.net"
|
||||||
|
- proxy.golang.org
|
||||||
|
- 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
|
||||||
|
- na.b.g-tun.com
|
||||||
|
- "+.nflxvideo.net"
|
||||||
|
- "*.square-enix.com"
|
||||||
|
- "*.finalfantasyxiv.com"
|
||||||
|
- "*.ffxiv.com"
|
||||||
|
- "*.ff14.sdo.com"
|
||||||
|
- ff.dorado.sdo.com
|
||||||
|
- "*.mcdn.bilivideo.cn"
|
||||||
|
- "+.media.dssott.com"
|
||||||
|
- shark007.net
|
||||||
|
- Mijia Cloud
|
||||||
|
- "+.cmbchina.com"
|
||||||
|
- "+.cmbimg.com"
|
||||||
|
- local.adguard.org
|
||||||
|
- "+.sandai.net"
|
||||||
|
- "+.n0808.com"
|
||||||
|
- "+.uu.163.com"
|
||||||
|
- ps.res.netease.com
|
||||||
|
- "+.pub.3gppnetwork.org"
|
||||||
|
- "+.xn--ngstr-lra8j.com"
|
||||||
|
- "+.liangqinjiamu.com"
|
||||||
|
- "+.tcy365.org"
|
||||||
|
- "+.tcy365.com"
|
||||||
|
- "+.tcy365.net"
|
||||||
|
- "+.uc108.net"
|
||||||
|
- "+.108uc.com"
|
||||||
|
- "+.ct108.net"
|
||||||
|
- "+.108uc.net"
|
||||||
|
- "+.uc108.net"
|
||||||
|
- "+.youxi8848.com"
|
||||||
|
- "+.moltbook.com"
|
||||||
|
- "+.aliyuncs.com"
|
||||||
|
- "hnrss.org"
|
||||||
|
- "+.lumiflow.org"
|
||||||
|
- "+.yunmicloud.com"
|
||||||
|
- "+.coolplus.me"
|
||||||
|
# ========================
|
||||||
|
# TUN 模块
|
||||||
|
# ========================
|
||||||
|
tun:
|
||||||
|
enable: true
|
||||||
|
stack: gvisor
|
||||||
|
device: utun
|
||||||
|
endpoint-independent-nat: true
|
||||||
|
auto-route: false
|
||||||
|
auto-detect-interface: false
|
||||||
|
auto-redirect: false
|
||||||
|
strict-route: false
|
||||||
|
|
||||||
|
profile:
|
||||||
|
store-selected: true
|
||||||
|
store-fake-ip: true
|
||||||
|
|
||||||
|
# ========================
|
||||||
|
# 策略组定义
|
||||||
|
# ========================
|
||||||
|
default: &default
|
||||||
|
type: select
|
||||||
|
proxies:
|
||||||
|
- 直连
|
||||||
|
- 所有-手选
|
||||||
|
- 印度-手选
|
||||||
|
- 香港-手选
|
||||||
|
- 所有-智选
|
||||||
|
- 美国-智选
|
||||||
|
- 香港-智选
|
||||||
|
- 台湾-智选
|
||||||
|
- 日本-智选
|
||||||
|
- 其他-智选
|
||||||
|
- 新加坡-智选
|
||||||
|
- 印度-智选
|
||||||
|
- 印度-故转
|
||||||
|
- 日本-故转
|
||||||
|
- 新加坡-故转
|
||||||
|
- 台湾-故转
|
||||||
|
- 美国-故转
|
||||||
|
- 香港-故转
|
||||||
|
- 其他-故转
|
||||||
|
- CF-智选
|
||||||
|
|
||||||
|
- 拒绝
|
||||||
|
|
||||||
|
test: &test
|
||||||
|
type: select
|
||||||
|
proxies:
|
||||||
|
- 直连
|
||||||
|
- 所有-测试
|
||||||
|
|
||||||
|
custom: &custom
|
||||||
|
type: select
|
||||||
|
proxies:
|
||||||
|
- 直连
|
||||||
|
- 所有-Custom
|
||||||
|
|
||||||
|
paypal: &paypal
|
||||||
|
type: select
|
||||||
|
proxies:
|
||||||
|
- 直连
|
||||||
|
- Paypal-手选
|
||||||
|
|
||||||
|
meta: &meta
|
||||||
|
type: select
|
||||||
|
proxies:
|
||||||
|
- 直连
|
||||||
|
- Meta-手选
|
||||||
|
|
||||||
|
proxy-groups:
|
||||||
|
|
||||||
|
# 业务分流组
|
||||||
|
- {name: AI, <<: *default}
|
||||||
|
- {name: Meta AI, <<: *meta}
|
||||||
|
- {name: Perplexity, <<: *default}
|
||||||
|
- {name: Stream Media, <<: *default}
|
||||||
|
- {name: TikTok, <<: *default}
|
||||||
|
- {name: Netflix, <<: *default}
|
||||||
|
- {name: Disney, <<: *default}
|
||||||
|
- {name: Amazon, <<: *default}
|
||||||
|
- {name: HBO, <<: *default}
|
||||||
|
- {name: Spotify, <<: *default}
|
||||||
|
- {name: Youtube, <<: *default}
|
||||||
|
- {name: Twitter, <<: *default}
|
||||||
|
- {name: WhatsApp, <<: *default}
|
||||||
|
- {name: Facebook, <<: *default}
|
||||||
|
- {name: Telegram, <<: *default}
|
||||||
|
- {name: PayPal, <<: *paypal}
|
||||||
|
- {name: Fund, <<: *default}
|
||||||
|
- {name: Custom, <<: *custom}
|
||||||
|
- {name: GitHub, <<: *default}
|
||||||
|
- {name: Reddit, <<: *default}
|
||||||
|
- {name: Nvidia, <<: *default}
|
||||||
|
- {name: Apple, <<: *default}
|
||||||
|
- {name: Google, <<: *default}
|
||||||
|
- {name: Apple-CN, <<: *default}
|
||||||
|
- {name: Microsoft, <<: *default}
|
||||||
|
- {name: Games, <<: *default}
|
||||||
|
- {name: Crypto, <<: *default}
|
||||||
|
- {name: Bybit, <<: *default}
|
||||||
|
- {name: Test, <<: *test}
|
||||||
|
- {name: Block, <<: *default}
|
||||||
|
- {name: 国外, <<: *default}
|
||||||
|
- {name: 国内, <<: *default}
|
||||||
|
- {name: 其他, <<: *default}
|
||||||
|
|
||||||
|
# 所有组
|
||||||
|
|
||||||
|
- name: 所有-测试
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^((?!(直连|拒绝)).)*$"
|
||||||
|
|
||||||
|
- name: 所有-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^((?!(直连|拒绝)).)*$"
|
||||||
|
|
||||||
|
- name: Paypal-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^(?=.*(广美|美国|US|纽约|波特兰|达拉斯|俄勒|凤凰城|费利蒙|拉斯|洛杉|圣何塞|圣克拉|西雅|芝加|🇺🇸|United States))(?!.*(直连|拒绝)).*$"
|
||||||
|
|
||||||
|
- name: Meta-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^((?!(直连|拒绝)).)*$"
|
||||||
|
|
||||||
|
- name: 所有-Custom
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^((?!(直连|拒绝)).)*$"
|
||||||
|
|
||||||
|
- name: 所有-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*(香港|HK).*:1.2"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "^((?!(直连|拒绝)).)*$"
|
||||||
|
|
||||||
|
# 香港组
|
||||||
|
|
||||||
|
- name: 香港-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 香港-手选
|
||||||
|
- 香港-智选
|
||||||
|
|
||||||
|
- name: 香港-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(广港|香港|HK|Hong Kong|🇭🇰|HongKong)).*$"
|
||||||
|
|
||||||
|
- name: 香港-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*广港.*:0.2"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(广港|香港|HK|Hong Kong|🇭🇰|HongKong)).*$"
|
||||||
|
|
||||||
|
# 台湾组
|
||||||
|
|
||||||
|
- name: 台湾-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 台湾-手选
|
||||||
|
- 台湾-智选
|
||||||
|
- name: 台湾-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(广台|台湾|台灣|TW|Tai Wan|🇹🇼|🇨🇳|TaiWan|Taiwan)).*$"
|
||||||
|
- name: 台湾-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*比利时.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(广台|台湾|台灣|TW|Tai Wan|🇹🇼|🇨🇳|TaiWan|Taiwan)).*$"
|
||||||
|
|
||||||
|
# 日本组
|
||||||
|
|
||||||
|
- name: 日本-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 日本-手选
|
||||||
|
- 日本-智选
|
||||||
|
- name: 日本-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(广日|日本|JP|川日|东京|大阪|泉日|埼玉|沪日|深日|🇯🇵|Japan)).*$"
|
||||||
|
- name: 日本-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*比利时.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(广日|日本|JP|川日|东京|大阪|泉日|埼玉|沪日|深日|🇯🇵|Japan)).*$"
|
||||||
|
|
||||||
|
# 新加坡组
|
||||||
|
|
||||||
|
- name: 新加坡-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 新加坡-手选
|
||||||
|
- 新加坡-智选
|
||||||
|
- name: 新加坡-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(广新|新加坡|SG|坡|狮城|🇸🇬|Singapore)).*$"
|
||||||
|
- name: 新加坡-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*比利时.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(广新|新加坡|SG|坡|狮城|🇸🇬|Singapore)).*$"
|
||||||
|
|
||||||
|
- name: 印度-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 印度-手选
|
||||||
|
- 印度-智选
|
||||||
|
|
||||||
|
- name: 印度-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(印度|🇮🇳)).*$"
|
||||||
|
- name: 印度-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*比利时.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(印度|🇮🇳)).*$"
|
||||||
|
|
||||||
|
# 美国组
|
||||||
|
|
||||||
|
- name: 美国-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 美国-手选
|
||||||
|
- 美国-智选
|
||||||
|
- name: 美国-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "(?=.*(广美|美国|US|纽约|波特兰|达拉斯|俄勒|凤凰城|费利蒙|拉斯|洛杉|圣何塞|圣克拉|西雅|芝加|🇺🇸|United States)).*$"
|
||||||
|
- name: 美国-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*自建.*:0.5"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "^(?=.*(广美|美国|US|纽约|波特兰|达拉斯|俄勒|凤凰城|费利蒙|拉斯|洛杉|圣何塞|圣克拉|西雅|芝加|🇺🇸|United States))(?!.*(SELF)).*$"
|
||||||
|
|
||||||
|
|
||||||
|
# 其他组
|
||||||
|
|
||||||
|
- name: 其他-故转
|
||||||
|
type: fallback
|
||||||
|
interval: 180
|
||||||
|
lazy: false
|
||||||
|
proxies:
|
||||||
|
- 其他-手选
|
||||||
|
- 其他-智选
|
||||||
|
- name: 其他-手选
|
||||||
|
type: select
|
||||||
|
include-all: true
|
||||||
|
filter: "^((?!(直连|拒绝|广港|香港|HK|Hong Kong|🇭🇰|HongKong|广台|台湾|台灣|TW|Tai Wan|🇹🇼|🇨🇳|TaiWan|Taiwan|广日|日本|JP|川日|东京|大阪|泉日|埼玉|沪日|深日|🇯🇵|Japan|广新|新加坡|SG|坡|狮城|🇸🇬|Singapore|广美|美|US|纽约|波特兰|达拉斯|俄勒|凤凰城|费利蒙|拉斯|洛杉|圣何塞|圣克拉|西雅|芝加|🇺🇸|United States)).)*$"
|
||||||
|
|
||||||
|
- name: 其他-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*越南.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "^((?!(直连|拒绝|广港|香港|HK|Hong Kong|🇭🇰|HongKong|广台|台湾|台灣|TW|Tai Wan|🇹🇼|🇨🇳|TaiWan|Taiwan|广日|日本|JP|川日|东京|大阪|泉日|埼玉|沪日|深日|🇯🇵|Japan|广新|新加坡|SG|坡|狮城|🇸🇬|Singapore|广美|美|US|纽约|波特兰|达拉斯|俄勒|凤凰城|费利蒙|拉斯|洛杉|圣何塞|圣克拉|西雅|芝加|🇺🇸|United States)).)*$"
|
||||||
|
|
||||||
|
- name: CF-智选
|
||||||
|
type: smart
|
||||||
|
include-all: true
|
||||||
|
policy-priority: ".*越南.*:0.8"
|
||||||
|
uselightgbm: true
|
||||||
|
collectdata: true
|
||||||
|
health-check:
|
||||||
|
enable: true
|
||||||
|
url: https://www.gstatic.com/generate_204
|
||||||
|
interval: 60
|
||||||
|
tolerance: 2
|
||||||
|
strategy: sticky-sessions
|
||||||
|
interval: 180
|
||||||
|
filter: "(?=.*(CF官方优选)).*$"
|
||||||
|
|
||||||
|
# ========================
|
||||||
|
# 规则引擎(rules)
|
||||||
|
# ========================
|
||||||
|
rules:
|
||||||
|
- RULE-SET,TEST/Domain,Test
|
||||||
|
- RULE-SET,TEST-Custom/Domain,Test
|
||||||
|
- RULE-SET,Block/Domain,Block
|
||||||
|
- RULE-SET,GitHub/Domain,GitHub
|
||||||
|
- RULE-SET,ChatGPT/Domain,AI
|
||||||
|
- RULE-SET,Custom-ChatGPT/Domain,AI
|
||||||
|
- RULE-SET,Claude/Domain,AI
|
||||||
|
- RULE-SET,Custom-Claude/Domain,AI
|
||||||
|
- RULE-SET,Copilot/Domain,AI
|
||||||
|
- RULE-SET,Gemini/Domain,AI
|
||||||
|
- RULE-SET,Groq/Domain,AI
|
||||||
|
- RULE-SET,Grok/Domain,AI
|
||||||
|
- RULE-SET,Meta AI/Domain,Meta AI
|
||||||
|
- RULE-SET,Custom-Meta-AI/Domain,Meta AI
|
||||||
|
- RULE-SET,Perplexity/Domain,Perplexity
|
||||||
|
- RULE-SET,Microsoft/Domain,Microsoft
|
||||||
|
- RULE-SET,Apple-CN/Domain,Apple-CN
|
||||||
|
- RULE-SET,Apple/Domain,Apple
|
||||||
|
- RULE-SET,Youtube/Domain,Youtube
|
||||||
|
- RULE-SET,OKX/Domain,Crypto
|
||||||
|
- RULE-SET,Bybit/Domain,Bybit
|
||||||
|
- RULE-SET,Binance/Domain,Crypto
|
||||||
|
- RULE-SET,TradingView/Domain,Crypto
|
||||||
|
- RULE-SET,TikTok/Domain,TikTok
|
||||||
|
- RULE-SET,Netflix/Domain,Netflix
|
||||||
|
- RULE-SET,Netflix/IP,Netflix,no-resolve
|
||||||
|
- RULE-SET,Disney/Domain,Disney
|
||||||
|
- RULE-SET,Amazon/Domain,Amazon
|
||||||
|
- RULE-SET,HBO/Domain,HBO
|
||||||
|
- RULE-SET,Crunchyroll/Domain,Stream Media
|
||||||
|
- RULE-SET,Popcorn/Domain,Stream Media
|
||||||
|
- RULE-SET,Spotify/Domain,Spotify
|
||||||
|
- RULE-SET,Steam/Domain,Games
|
||||||
|
- RULE-SET,Epic/Domain,Games
|
||||||
|
- RULE-SET,EA/Domain,Games
|
||||||
|
- RULE-SET,Blizzard/Domain,Games
|
||||||
|
- RULE-SET,UBI/Domain,Games
|
||||||
|
- RULE-SET,PlayStation/Domain,Games
|
||||||
|
- RULE-SET,PayPal/Domain,PayPal
|
||||||
|
- RULE-SET,Nintend/Domain,Games
|
||||||
|
- RULE-SET,Nvidia/Domain,Nvidia
|
||||||
|
- RULE-SET,Google/Domain,Google
|
||||||
|
- RULE-SET,Reddit/Domain,Reddit
|
||||||
|
- RULE-SET,Twitter/Domain,Twitter
|
||||||
|
- RULE-SET,WhatsApp/Domain,WhatsApp
|
||||||
|
- RULE-SET,Facebook/Domain,Facebook
|
||||||
|
- RULE-SET,Telegram/Domain,Telegram
|
||||||
|
- RULE-SET,Fund/Domain,Fund
|
||||||
|
- RULE-SET,Custom/Domain,Custom
|
||||||
|
- RULE-SET,RoxyBrowser/Domain,Custom
|
||||||
|
- RULE-SET,Proxy/Domain,国外
|
||||||
|
- RULE-SET,Globe/Domain,国外
|
||||||
|
- RULE-SET,Direct/Domain,国内
|
||||||
|
- RULE-SET,China/Domain,国内
|
||||||
|
- RULE-SET,China/IP,国内,no-resolve
|
||||||
|
- RULE-SET,Private/Domain,国内
|
||||||
|
- RULE-SET,Private-Custom/Domain,国内
|
||||||
|
- MATCH,其他
|
||||||
|
|
||||||
|
|
||||||
|
# ========================
|
||||||
|
# 规则集提供者
|
||||||
|
# ========================
|
||||||
|
rule-anchor:
|
||||||
|
ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: mrs}
|
||||||
|
domain: &domain {type: http, interval: 86400, behavior: domain, format: mrs}
|
||||||
|
class: &class {type: http, interval: 86400, behavior: classical, format: text}
|
||||||
|
|
||||||
|
rule-providers:
|
||||||
|
TEST/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Check.list"}
|
||||||
|
TEST-Custom/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Network-Test.list"}
|
||||||
|
Custom/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Custom.list"}
|
||||||
|
RoxyBrowser/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/RoxyBrowser.list"}
|
||||||
|
ChatGPT/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/OpenAI/OpenAI.list"}
|
||||||
|
Custom-ChatGPT/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/ChatGPT.list"}
|
||||||
|
Claude/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/Claude/Claude.list"}
|
||||||
|
Custom-Claude/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Custom-Claude.list"}
|
||||||
|
Meta AI/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/MetaAi.list"}
|
||||||
|
Custom-Meta-AI/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Custom-Meta.list"}
|
||||||
|
Perplexity/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/perplexity.mrs"}
|
||||||
|
Copilot/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Copilot.list"}
|
||||||
|
Gemini/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Gemini.list"}
|
||||||
|
GitHub/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/github.mrs"}
|
||||||
|
Amazon/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/amazon.mrs"}
|
||||||
|
Apple-CN/Domain: {<<: *domain, url: "https://raw.githubusercontent.com/metacubex/meta-rules-dat/refs/heads/meta/geo/geosite/apple-cn.mrs"}
|
||||||
|
Apple/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/apple.mrs"}
|
||||||
|
Microsoft/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/microsoft.mrs"}
|
||||||
|
Youtube/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/youtube.mrs"}
|
||||||
|
OKX/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/okx.mrs"}
|
||||||
|
Bybit/Domain: {<<: *domain, url: "https://raw.githubusercontent.com/metacubex/meta-rules-dat/refs/heads/meta/geo/geosite/bybit.mrs"}
|
||||||
|
Binance/Domain: {<<: *domain, url: "https://raw.githubusercontent.com/metacubex/meta-rules-dat/refs/heads/meta/geo/geosite/binance.mrs"}
|
||||||
|
TikTok/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/tiktok.mrs"}
|
||||||
|
Netflix/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/netflix.mrs"}
|
||||||
|
Netflix/IP: {<<: *ip, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geoip/netflix.mrs"}
|
||||||
|
Disney/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/disney.mrs"}
|
||||||
|
HBO/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/hbo.mrs"}
|
||||||
|
Spotify/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/spotify.mrs"}
|
||||||
|
Steam/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/steam.mrs"}
|
||||||
|
Epic/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Epic/Epic.list"}
|
||||||
|
EA/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/EA/EA.list"}
|
||||||
|
Blizzard/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Blizzard/Blizzard.list"}
|
||||||
|
UBI/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/UBI/UBI.list"}
|
||||||
|
PlayStation/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/PlayStation/PlayStation.list"}
|
||||||
|
PayPal/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/PayPal/PayPal.list"}
|
||||||
|
Nintend/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Nintendo/Nintendo.list"}
|
||||||
|
Proxy/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Proxy.list"}
|
||||||
|
Globe/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/Global/Global.list"}
|
||||||
|
Block/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Block.list"}
|
||||||
|
Nvidia/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/Nvidia/Nvidia.list"}
|
||||||
|
Crunchyroll/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Crunchyroll.list"}
|
||||||
|
Reddit/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/reddit.mrs"}
|
||||||
|
Groq/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/groq.mrs"}
|
||||||
|
Grok/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Grok.list"}
|
||||||
|
Popcorn/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Popcorn.list"}
|
||||||
|
Direct/Domain: {<<: *class, url: "https://raw.githubusercontent.com/liandu2024/clash/refs/heads/main/list/Direct.list"}
|
||||||
|
Private/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/private.mrs"}
|
||||||
|
Private-Custom/Domain: {<<: *class, url: "https://git.almost.coolplus.me/coolplus/config/raw/branch/main/Private.list"}
|
||||||
|
China/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/cn.mrs"}
|
||||||
|
China/IP: {<<: *ip, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geoip/cn.mrs"}
|
||||||
|
Twitter/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/x.mrs"}
|
||||||
|
WhatsApp/Domain: {<<: *class, url: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/Whatsapp/Whatsapp.list"}
|
||||||
|
Facebook/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/facebook.mrs"}
|
||||||
|
Telegram/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/telegram.mrs"}
|
||||||
|
Telegram/IP: {<<: *ip, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geoip/telegram.mrs"}
|
||||||
|
Google/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/google.mrs"}
|
||||||
|
Google/IP: {<<: *ip, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geoip/google.mrs"}
|
||||||
|
GateFireWall/Domain: {<<: *domain, url: "https://github.com/metacubex/meta-rules-dat/raw/refs/heads/meta/geo/geosite/gfw.mrs"}
|
||||||
|
Fund/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Fund.list"}
|
||||||
|
TradingView/Domain: {<<: *class, url: "https://raw.githubusercontent.com/zynoplace/clash/refs/heads/main/Trading.list"}
|
||||||
Loading…
Add table
Reference in a new issue