douyinWEB/backend/app/clash_assets/clash.yaml
eric d409e416da Ship physical dual-edge stack, Studio CDP live metrics, and ops tooling.
Capture Neko/WG/network hubs, Studio viewer charts, physical deploy docs, and one-shot scripts so VPS vs physical can be toggled later without losing WIP.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:42:40 -05:00

406 lines
10 KiB
YAML

port: 7890
socks-port: 7891
allow-lan: false
mode: rule
log-level: info
geodata-mode: true
geo-auto-update: true
geodata-loader: standard
geo-update-interval: 24
geox-url:
geoip: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat
geosite: >-
https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat
mmdb: >-
https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb
asn: >-
https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb
rule-providers:
geolocation-cn:
type: http
format: mrs
behavior: domain
url: >-
https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-cn.mrs
path: ./ruleset/geolocation-cn.mrs
interval: 86400
geolocation-!cn:
type: http
format: mrs
behavior: domain
url: >-
https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geosite/geolocation-!cn.mrs
path: ./ruleset/geolocation-!cn.mrs
interval: 86400
private:
type: http
format: mrs
behavior: ipcidr
url: >-
https://gh.sageer.me/https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/private.mrs
path: ./ruleset/private.mrs
interval: 86400
cn:
type: http
format: mrs
behavior: domain
url: >-
https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.yaml
path: ./ruleset/cn.mrs
interval: 86400
dns:
enable: true
ipv6: false
respect-rules: true
enhanced-mode: fake-ip
nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
proxy-server-nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
nameserver-policy:
geosite:cn,private:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
geosite:geolocation-!cn:
- https://dns.cloudflare.com/dns-query
- https://dns.google/dns-query
proxies:
# 落地代理
- name: proxycheap
# 前置代理
dialer-proxy: dialer
type: socks5
server: 45.134.95.113
port: 46415
username: n1YshpjaUaFG4Us
password: ugEbEVuC3pFwuUI
- name: socks5
type: socks5
server: 45.134.95.113
port: 46415
username: n1YshpjaUaFG4Us
password: ugEbEVuC3pFwuUI
- name: "242af835-singbox_hysteria"
type: hysteria2
server: 107.173.7.226
port: 34814
ports: 30000-31000
password: 1f28cd23-d223-4eaa-a786-4a010d674cbc
sni: hy2.nomadro.com
skip-cert-verify: true
alpn:
- h3
up: "1000 Mbps"
down: "1000 Mbps"
- name: hackrobot-singbox_tuic
type: tuic
server: 107.173.7.226
port: 33935
ports: 32000-40000
uuid: 1f28cd23-d223-4eaa-a786-4a010d674cbc
password: 1f28cd23-d223-4eaa-a786-4a010d674cbc
alpn:
- h3
udp-relay-mode: native
congestion-controller: bbr
disable-sni: false
reduce-rtt: true
request-timeout: 8000
heartbeat-interval: 10000
tls: true
sni: hy2.nomadro.com
skip-cert-verify: true
fast-open: true
max-open-streams: 20
max-udp-relay-packet-size: 1500
udp: true
- name: "VLESS_Reality_Vision"
type: vless
server: 107.173.7.226
port: 21730
uuid: 1f28cd23-d223-4eaa-a786-4a010d674cbc
flow: xtls-rprx-vision
encryption: none
network: tcp
tls: true
servername: hy2.nomadro.com
alpn:
- h2
- http/1.1
client-fingerprint: chrome
skip-cert-verify: true
reality-opts:
public-key: ppipIkuEvHMBaMMg42C1lsRX_igSZPlDDZDBVY1UdzM
short-id: 6ba85179e30d4fc2
server-names:
- hy2.nomadro.com
flow: xtls-rprx-vision
smux:
enabled: false
- name: "242af835-singbox_hysteria2"
type: hysteria2
server: 23.94.99.206
port: 32941
ports: 30000-31000
password: fda6eb84-7b47-473f-abcb-82a5addece55
sni: web3.nomadro.com
skip-cert-verify: true
alpn:
- h3
up: "1000 Mbps"
down: "1000 Mbps"
- name: hackrobot-singbox_tuic2
type: tuic
server: 23.94.99.206
port: 10831
ports: 32000-33000
uuid: fda6eb84-7b47-473f-abcb-82a5addece55
password: fda6eb84-7b47-473f-abcb-82a5addece55
alpn:
- h3
udp-relay-mode: native
congestion-controller: bbr
disable-sni: false
reduce-rtt: true
request-timeout: 8000
heartbeat-interval: 10000
tls: true
sni: web3.nomadro.com
skip-cert-verify: true
fast-open: true
max-open-streams: 20
max-udp-relay-packet-size: 1500
udp: true
- name: "VLESS_Reality_Vision2"
type: vless
server: 23.94.99.206
port: 35925
uuid: fda6eb84-7b47-473f-abcb-82a5addece55
flow: xtls-rprx-vision
encryption: none
network: tcp
tls: true
servername: web3.nomadro.com
alpn:
- h2
- http/1.1
client-fingerprint: chrome
skip-cert-verify: true
reality-opts:
public-key: JhJEy3-xC5sux3iBJ1Ryc8jO5F6CKsZsQjzG0BSN_g0
short-id: 6ba85179e30d4fc2
server-names:
- web3.nomadro.com
flow: xtls-rprx-vision
smux:
enabled: false
- name: 1d2da142-singbox_hysteria5
type: hysteria2
server: specials.nomadro.live
port: 21825
ports: 30000-31000
password: ebf95e6f-4d90-459b-a353-8e5075bd8bd3
sni: specials.nomadro.live
skip-cert-verify: false
alpn:
- h3
up: "100 Mbps"
down: "1000 Mbps"
- name: 1d2da142-VLESS_Reality_Vision5
type: vless
server: 107.173.30.245
port: 22785
uuid: ebf95e6f-4d90-459b-a353-8e5075bd8bd3
encryption: none
network: tcp
tls: true
flow: xtls-rprx-vision
servername: d1.awsstatic.com
client-fingerprint: chrome
skip-cert-verify: false
reality-opts:
public-key: AU9uNmxIqypg_K8TxesJPDxWUSSJLhN6xySIGTuhL0I
short-id: 6ba85179e30d4fc2
server-name: d1.awsstatic.com
alpn:
- h2
- http/1.1
smux:
enabled: false
- name: 1d2da142-singbox_tuic5
type: tuic
server: specials.nomadro.live
port: 16113
ports: 32000-33000
uuid: ebf95e6f-4d90-459b-a353-8e5075bd8bd3
password: ebf95e6f-4d90-459b-a353-8e5075bd8bd3
alpn:
- h3
udp-relay-mode: native
congestion-controller: bbr
disable-sni: false
reduce-rtt: true
request-timeout: 8000
heartbeat-interval: 10000
skip-cert-verify: false
udp: true
- name: e3ea3b30-singbox_hysteria_vultr
type: hysteria2
server: vultr.nomadro.live
port: 35297
ports: 30000-31000
password: e3ea3b30-6cc6-447a-a820-ea06d48a9735
sni: vultr.nomadro.live
skip-cert-verify: false
alpn:
- h3
up: "100 Mbps"
down: "1000 Mbps"
- name: e3ea3b30-VLESS_Reality_Vision_vultr
type: vless
server: 45.32.89.58
port: 37664
uuid: e3ea3b30-6cc6-447a-a820-ea06d48a9735
encryption: none
network: tcp
tls: true
flow: xtls-rprx-vision
servername: academy.nvidia.com
client-fingerprint: chrome
skip-cert-verify: false
reality-opts:
public-key: meUnIscdA43p_JzUwzgBXVSFvACCjYzzd0LT9AZbaDk
short-id: 6ba85179e30d4fc2
server-name: academy.nvidia.com
alpn:
- h2
- http/1.1
smux:
enabled: false
- name: e3ea3b30-singbox_tuic_vultr
type: tuic
server: vultr.nomadro.live
port: 26032
uuid: e3ea3b30-6cc6-447a-a820-ea06d48a9735
password: e3ea3b30-6cc6-447a-a820-ea06d48a9735
alpn:
- h3
udp-relay-mode: native
congestion-controller: bbr
disable-sni: false
reduce-rtt: true
request-timeout: 8000
heartbeat-interval: 10000
skip-cert-verify: false
udp: true
proxy-groups:
- type: select
name: 🚀 节点选择
proxies:
- 1d2da142-singbox_hysteria5
- 1d2da142-singbox_tuic5
- 1d2da142-VLESS_Reality_Vision5
- ⚡ 自动选择
- DIRECT
- REJECT
- e3ea3b30-singbox_hysteria_vultr
- e3ea3b30-singbox_tuic_vultr
- e3ea3b30-VLESS_Reality_Vision_vultr
- 242af835-singbox_hysteria
- hackrobot-singbox_tuic
- VLESS_Reality_Vision
- 242af835-singbox_hysteria2
- hackrobot-singbox_tuic2
- VLESS_Reality_Vision2
- proxycheap
- socks5
- name: dialer
type: select
proxies:
- 1d2da142-singbox_hysteria5
- 1d2da142-singbox_tuic5
- 1d2da142-VLESS_Reality_Vision5
- e3ea3b30-singbox_hysteria_vultr
- e3ea3b30-singbox_tuic_vultr
- e3ea3b30-VLESS_Reality_Vision_vultr
- 242af835-singbox_hysteria
- hackrobot-singbox_tuic
- VLESS_Reality_Vision
- 242af835-singbox_hysteria2
- hackrobot-singbox_tuic2
- VLESS_Reality_Vision2
- name: ⚡ 自动选择
type: url-test
proxies:
- 1d2da142-singbox_hysteria5
- 1d2da142-singbox_tuic5
- 1d2da142-VLESS_Reality_Vision5
- e3ea3b30-singbox_hysteria_vultr
- e3ea3b30-VLESS_Reality_Vision_vultr
- e3ea3b30-singbox_tuic_vultr
url: https://www.gstatic.com/generate_204
interval: 300
lazy: false
- type: select
name: 🏠 私有网络
proxies:
- 🚀 节点选择
- DIRECT
- REJECT
- ⚡ 自动选择
- 242af835-singbox_hysteria2
- type: select
name: 🔒 国内服务
proxies:
- 🚀 节点选择
- DIRECT
- REJECT
- ⚡ 自动选择
- 242af835-singbox_hysteria2
- type: select
name: 🌐 非中国
proxies:
- 🚀 节点选择
- DIRECT
- REJECT
- ⚡ 自动选择
- 242af835-singbox_hysteria2
- type: select
name: 🐟 漏网之鱼
proxies:
- 🚀 节点选择
- DIRECT
- REJECT
- ⚡ 自动选择
- 242af835-singbox_hysteria2
rules:
# 抖音必须直连(物理机家宽);经 ShellCrash/proxychains 时也由规则打回 DIRECT
- DOMAIN-SUFFIX,douyin.com,DIRECT
- DOMAIN-SUFFIX,douyincdn.com,DIRECT
- DOMAIN-SUFFIX,douyinpic.com,DIRECT
- DOMAIN-SUFFIX,douyinvod.com,DIRECT
- DOMAIN-SUFFIX,douyinstatic.com,DIRECT
- DOMAIN-SUFFIX,iesdouyin.com,DIRECT
- DOMAIN-KEYWORD,douyin,DIRECT
- RULE-SET,geolocation-cn,🔒 国内服务
- RULE-SET,geolocation-!cn,🌐 非中国
- RULE-SET,private,🏠 私有网络,no-resolve
- RULE-SET,cn,🔒 国内服务,no-resolve
- MATCH,🐟 漏网之鱼