Files
clash_subscriptions/com/clash-config-convert.yaml
2025-09-03 17:51:44 +08:00

306 lines
7.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# port of HTTP
port: 7890 # 此项将被接管
# port of SOCKS5
socks-port: 7891 # 此项将被接管
# redir port for Linux and macOS
redir-port: 7892 # 此项将被接管
allow-lan: true # 此项将被接管为true
# Only applicable when setting allow-lan to true
# "*": bind all IP addresses
# 192.168.122.11: bind a single IPv4 address
# "[aaaa::a8aa:ff:fe09:57d8]": bind a single IPv6 address
bind-address: "*" # HTTP(S)\SOCKS5 监听地址此项将被接管为all
# Rule / Global/ Direct (default is Rule)
mode: Rule
# set log level to stdout (default is info)
# info / warning / error / debug / silent
log-level: info
# experimental feature
experimental:
ignore-resolve-fail: true # ignore dns resolve fail, default value is true
# # experimental hosts, support wildcard (e.g. *.clash.dev Even *.foo.*.example.com)
# # static domain has a higher priority than wildcard domain (foo.example.com > *.example.com)
#hosts:
#'*.clash.dev': 127.0.0.1
#'alpha.clash.dev': '::1'
dns: # 如订阅配置无包括此项的所有DNS设置OpenClash将自动添加
enable: true # set true to enable dns (default is false) # 此项将被接管为true
ipv6: true # default is false # 此项将被接管
listen: 0.0.0.0:53 # 端口为53时将被接管为7874
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
default-nameserver:
- 8.8.8.8
# - 114.114.114.114
nameserver:
- 8.8.8.8
# - 114.114.114.114
fallback:
- https://dns.cloudflare.com/dns-query
fallback-filter:
geoip: true
ipcidr:
- 240.0.0.0/4
- 0.0.0.0/32
proxies:
# cloudflare worker vless
- name: "vless-US-🇺🇸"
type: vless
server: 172.67.51.250
port: 443
uuid: o5crtfdd-1de5-499a-916e-ae095yuioac9
udp: true
tls: true
network: ws
servername: sub.test.com # priority over wss host
# skip-cert-verify: true
ws-opts:
path: "/?ed=2048"
headers:
Host: sub.test.com
proxy-groups:
- name: ♻️ 自动选择
type: url-test
url: http://www.gstatic.com/generate_204
interval: 300
tolerance: 50
proxies:
- vless-US-🇺🇸
- name: 🚀 节点选择
type: select
proxies:
- ♻️ 自动选择
- DIRECT
- vless-US-🇺🇸
- name: Ⓜ️ OpenAI
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Claude
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Gemini
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 📢 GoogleVoice
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 📢 Google
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🌍 Copilot
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🌍 Bing
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🌍 OneDrive
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Microsoft
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🍎 苹果代理
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🍎 AppleTV
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🍎 iCloud
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🍎 苹果服务
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🎥 Netflix
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 🎥 YouTube
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Facebook
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Amazon
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Paypal
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Github
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: Ⓜ️ Twitter
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 📲 电报消息
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 📲 SocialMedia
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
- name: 📺 proxy_selected
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- vless-US-🇺🇸
- name: 📺 Proxy
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- vless-US-🇺🇸
- name: 🎯 全球直连
type: select
proxies:
- DIRECT
- 🚀 节点选择
- ♻️ 自动选择
- name: 🛑 广告拦截
type: select
proxies:
- REJECT
- DIRECT
- name: 🐟 漏网之鱼
type: select
proxies:
- ♻️ 自动选择
- 🚀 节点选择
- 🎯 全球直连
- vless-US-🇺🇸
- DIRECT
rule-providers:
openai:
type: http
behavior: classical
path: ./rules_set/openai.yaml
interval: 86400
url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/openai.yaml
rules:
- RULE-SET,openai,Ⓜ️ OpenAI
- GEOIP,LAN,🎯 全球直连
- GEOIP,CN,🎯 全球直连
- MATCH,🐟 漏网之鱼