Skip to content

Instantly share code, notes, and snippets.

@RunZH
Last active November 22, 2026 00:59
Show Gist options
  • Select an option

  • Save RunZH/96004e95cb32641ec2945f8482b85ea0 to your computer and use it in GitHub Desktop.

Select an option

Save RunZH/96004e95cb32641ec2945f8482b85ea0 to your computer and use it in GitHub Desktop.
clash update
mixed-port: 7890
allow-lan: false
mode: rule
log-level: info
external-controller: 127.0.0.1:9090
dns:
enable: true
nameserver:
- 223.5.5.5
- 119.29.29.29
fallback:
- 8.8.8.8
- 1.1.1.1
proxies:
- name: 伊朗-001
type: vless
network: tcp
uuid: 667016ca-f02e-4b5f-bfc3-3d8ed81e9bec
server: 194.60.228.97
servername: base.hosamobenl.co.uk
port: 443
tls: true
ws-opts:
path: /
client-fingerprint: chrome
- name: 德国-001 |1.6MB/s
type: hysteria
server: 5.83.129.90
port: 54177
skip-cert-verify: true
udp: true
sni: apple.com
alpn:
- h3
auth-str: dongtaiwang.com
auth_str: dongtaiwang.com
down: 1000
protocol: udp
up: 500
- name: 德国-002
type: vless
network: ws
uuid: 313b84fa-b922-500f-9b65-acb67c040cc0
server: 185.197.193.137
servername: us2.v2less.site
port: 443
skip-cert-verify: false
tls: true
udp: true
tfo: false
ws-opts:
headers:
Host: us2.v2less.site
path: /vless
client-fingerprint: chrome
- name: 美国-001
type: vmess
network: ws
uuid: 418048af-a293-4b99-9b0c-98ca3580dd24
server: 192.74.236.148
port: 30004
skip-cert-verify: true
tls: true
udp: true
alterId: 64
cipher: auto
ws-opts:
headers:
Host: www.91334565.xyz
path: /path/1733477783705
- name: 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
type: http
server: 38.28.193.188
port: 443
skip-cert-verify: true
tls: true
- name: 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
type: http
server: 209.148.53.153
port: 8090
skip-cert-verify: true
tls: true
- name: 荷兰-001 |2.1MB/s|TK-NL|GPT-NL|GM-NL
type: http
server: 84.17.47.150
port: 9002
skip-cert-verify: true
tls: true
- name: 荷兰-002 |1.8MB/s|TK-NL|GPT-NL
type: http
server: 51.159.225.196
port: 23856
skip-cert-verify: true
tls: true
- name: 荷兰-003 |1.8MB/s|TK-NL|GPT-NL|GM-NL
type: http
server: 5.255.118.82
port: 443
skip-cert-verify: true
tls: true
- name: 荷兰-004 |1.6MB/s|TK-NL|GPT-NL|GM-NL
type: http
server: 84.17.47.147
port: 9002
skip-cert-verify: true
tls: true
proxy-groups:
- name: 油管优选
type: url-test
url: https://youtubei.googleapis.com/generate_204
interval: 300
tolerance: 300
timeout: 3000
lazy: false
proxies: &id001
- 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
- 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
- 荷兰-001 |2.1MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-003 |1.8MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-004 |1.6MB/s|TK-NL|GPT-NL|GM-NL
- name: AI-美国
type: url-test
url: https://www.gstatic.com/generate_204
interval: 180
tolerance: 50
timeout: 5000
lazy: true
proxies:
- 美国-001
- 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
- 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
- name: 谷歌服务
type: url-test
url: https://clients3.google.com/generate_204
interval: 180
tolerance: 50
timeout: 5000
lazy: true
proxies: *id001
- name: 自动选择
type: url-test
url: https://www.gstatic.com/generate_204
interval: 180
tolerance: 30
timeout: 3000
lazy: true
proxies: &id002
- 伊朗-001
- 德国-001 |1.6MB/s
- 德国-002
- 美国-001
- 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
- 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
- 荷兰-001 |2.1MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-002 |1.8MB/s|TK-NL|GPT-NL
- 荷兰-003 |1.8MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-004 |1.6MB/s|TK-NL|GPT-NL|GM-NL
- name: 故障转移
type: fallback
url: https://www.gstatic.com/generate_204
interval: 180
timeout: 3000
lazy: true
proxies: *id002
- name: Twitter/X
type: select
proxies:
- 油管优选
- 自动选择
- 故障转移
- 伊朗-001
- 德国-001 |1.6MB/s
- 德国-002
- 美国-001
- 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
- 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
- 荷兰-001 |2.1MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-002 |1.8MB/s|TK-NL|GPT-NL
- 荷兰-003 |1.8MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-004 |1.6MB/s|TK-NL|GPT-NL|GM-NL
- name: 手动选择
type: select
proxies:
- 油管优选
- 谷歌服务
- AI-美国
- Twitter/X
- 自动选择
- 故障转移
- 伊朗-001
- 德国-001 |1.6MB/s
- 德国-002
- 美国-001
- 美国-002 |3.2MB/s|TK-US|YT-US|GPT-US|GM-US
- 美国-003 |1.5MB/s|TK-US|YT-US|GPT-US|GM-US
- 荷兰-001 |2.1MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-002 |1.8MB/s|TK-NL|GPT-NL
- 荷兰-003 |1.8MB/s|TK-NL|GPT-NL|GM-NL
- 荷兰-004 |1.6MB/s|TK-NL|GPT-NL|GM-NL
- name: 最终出口
type: select
proxies:
- 自动选择
- 油管优选
- 故障转移
- 手动选择
- DIRECT
rules:
- DOMAIN-SUFFIX,gemini.google.com,AI-美国
- DOMAIN-SUFFIX,bard.google.com,AI-美国
- DOMAIN-SUFFIX,generativelanguage.googleapis.com,AI-美国
- DOMAIN-SUFFIX,ai.google.dev,AI-美国
- DOMAIN-SUFFIX,aistudio.google.com,AI-美国
- DOMAIN-SUFFIX,chatgpt.com,AI-美国
- DOMAIN-SUFFIX,openai.com,AI-美国
- DOMAIN-SUFFIX,oaistatic.com,AI-美国
- DOMAIN-SUFFIX,oaiusercontent.com,AI-美国
- DOMAIN-SUFFIX,openaiapi-site.azureedge.net,AI-美国
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,x.com)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,twitter.com)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,twimg.com)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,t.co)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,twitter-video.com)),REJECT
- DOMAIN-SUFFIX,x.com,Twitter/X
- DOMAIN-SUFFIX,twitter.com,Twitter/X
- DOMAIN-SUFFIX,twimg.com,Twitter/X
- DOMAIN-SUFFIX,t.co,Twitter/X
- DOMAIN-SUFFIX,twitter-video.com,Twitter/X
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,youtube.com)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,googlevideo.com)),REJECT
- AND,((NETWORK,UDP),(DST-PORT,443),(DOMAIN-SUFFIX,youtubei.googleapis.com)),REJECT
- DOMAIN-SUFFIX,youtube.com,油管优选
- DOMAIN-SUFFIX,googlevideo.com,油管优选
- DOMAIN-SUFFIX,ytimg.com,油管优选
- DOMAIN-SUFFIX,ggpht.com,油管优选
- DOMAIN-KEYWORD,youtube,油管优选
- DOMAIN,youtubei.googleapis.com,油管优选
- DOMAIN-SUFFIX,music.youtube.com,油管优选
- DOMAIN-SUFFIX,music.youtubei.googleapis.com,油管优选
- DOMAIN-SUFFIX,play.google.com,谷歌服务
- DOMAIN-SUFFIX,play.googleapis.com,谷歌服务
- DOMAIN-SUFFIX,android.clients.google.com,谷歌服务
- DOMAIN-SUFFIX,clients.google.com,AI-美国
- DOMAIN-SUFFIX,gvt1.com,谷歌服务
- DOMAIN-SUFFIX,gvt2.com,谷歌服务
- DOMAIN-SUFFIX,gvt3.com,谷歌服务
- DOMAIN-SUFFIX,googleapis.com,AI-美国
- DOMAIN-SUFFIX,gstatic.com,AI-美国
- DOMAIN-SUFFIX,googleusercontent.com,AI-美国
- DOMAIN-SUFFIX,google.com,AI-美国
- DOMAIN-SUFFIX,google.cn,DIRECT
- GEOIP,CN,DIRECT
- MATCH,最终出口
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment