# 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 # A RESTful API for clash external-controller: 0.0.0.0:9090 # 此项将被接管 # you can put the static web resource (such as clash-dashboard) to a directory, and clash would serve in `${API}/ui` # input is a relative path to the configuration directory or an absolute path # external-ui: "/usr/share/openclash/dashboard" # 此项将被接管 # Secret for RESTful API (Optional) secret: "123456" # 此项将被接管 # experimental feature experimental: ignore-resolve-fail: true # ignore dns resolve fail, default value is true # authentication of local SOCKS5/HTTP(S) server authentication: # 此项将被接管 - "user1:pass1" - "user2:pass2" # # 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 # or redir-host # 此项将被接管 fake-ip-range: 198.18.0.1/16 # if you don't know what it is, don't change it # 此项将被接管 default-nameserver: # Telecom (ShenZhen) - 202.96.134.133 - 202.96.128.86 - 202.96.128.166 # Google DNS - 8.8.8.8 - 8.8.4.4 - 2001:4860:4860::8888 - 2001:4860:4860::8844 nameserver: # Google DNS - tls://dns.google:853 - https://dns.google/dns-query - 8.8.8.8 - 8.8.4.4 - 2001:4860:4860::8888 - 2001:4860:4860::8844 nameserver-policy: # "+.gstatic.com": "123.123.123.123" "geosite:cn, private": - 123.123.123.123 - 123.123.123.124 - https://223.5.5.5/dns-query - https://223.6.6.6/dns-query - https://dns.alidns.com/dns-query proxies: # 下面放入你的节点信息(可以多个,认证仔细点!) # 节点名字支持 🇭🇰 🇺🇸 🇸🇬 🇲🇴 🇬🇧 🇩🇪 🇯🇵 🇰🇷 🇮🇳 🇪🇸 🇹🇷 🇳🇱等图标。 # ColoCrossing vps vless vision - name: "🇺🇸 ColoCrossing-vision" type: vless server: usa.visa.com port: 443 uuid: 35cd0a05-0de1-4183-9c10-ac005efd0aab network: ws ws-opts: path: "/p05efab?ed=2560" headers: Host: origin01.080087.xyz servername: origin01.080087.xyz # AKA SNI tls: true # skip-cert-verify: true # ColoCrossing vps vless reality - name: "🇺🇸 ColoCrossing-vless-reality" type: vless server: ccs.080087.xyz port: 9181 uuid: 35cd0a05-0de1-4183-9c10-ac005efd0aab network: tcp flow: xtls-rprx-vision # xtls-rprx-direct # xtls-rprx-origin # enable XTLS tls: true udp: true servername: speed.cloudflare.com # AKA SNI reality-opts: public-key: aQCzfzCrRx6QejN5x_NsTCSroTCauJPuKJO7BWuC4yE client-fingerprint: chrome # cloudflare worker vless - name: "🇺🇸 vless-US" type: vless server: www.visa.com.sg port: 443 uuid: 8acd6a05-0dec-4190-9a0b-81060dee0cca udp: true tls: true network: ws servername: canode.080087.xyz # priority over wss host # skip-cert-verify: true ws-opts: path: "/?ed=2048" headers: Host: canode.080087.xyz proxy-groups: - name: 🇺🇸 COLOCROSSING-US节点 type: select proxies: - 🇺🇸 ColoCrossing-vision - 🇺🇸 ColoCrossing-vless-reality - name: 🇺🇸 vless-US节点 type: select proxies: - 🇺🇸 vless-US - name: 🚀 节点选择 type: select proxies: - DIRECT - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - name: Ⓜ️ OpenAI type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Claude type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Gemini type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 📢 GoogleVoice type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 📢 Google type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🌍 Copilot type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🌍 Bing type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🌍 OneDrive type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Microsoft type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 苹果代理 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 AppleTV type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 苹果服务 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 苹果媒体 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 iCloud type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🍎 iCloudPrivateRelay type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🎥 Netflix type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🎥 Disney type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🎥 YouTube type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Facebook type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Amazon type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Paypal type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Github type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Twitter type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 📲 电报消息 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: Ⓜ️ Discord type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 📲 SocialMedia type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 📺 proxy_selected type: select proxies: - 🚀 节点选择 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - name: 📺 Proxy type: select proxies: - 🚀 节点选择 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - name: 🎯 全球直连 type: select proxies: - DIRECT - ♻️ 自动选择 - 🚀 手动选择 - 🚀 节点选择 - name: 🛑 广告拦截 type: select proxies: - REJECT - DIRECT - ♻️ 自动选择 - 🚀 手动选择 - 🚀 节点选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - name: 🐟 漏网之鱼 type: select proxies: - 🚀 节点选择 - 🎯 全球直连 - ♻️ 自动选择 - 🚀 手动选择 - 🇺🇸 COLOCROSSING-US节点 - 🇺🇸 vless-US节点 - DIRECT - name: 🚀 手动选择 type: select proxies: - DIRECT - ♻️ 自动选择 - 🇺🇸 ColoCrossing-vision - 🇺🇸 ColoCrossing-vless-reality - 🇺🇸 vless-US - name: ♻️ 自动选择 type: url-test url: http://www.gstatic.com/generate_204 interval: 300 tolerance: 50 proxies: - 🇺🇸 ColoCrossing-vision - 🇺🇸 ColoCrossing-vless-reality - 🇺🇸 vless-US rule-providers: google_voice: type: http behavior: classical path: ./rules_set/no_resolve/google_voice.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/google_voice.yaml microsoft: type: http behavior: classical path: ./rules_set/no_resolve/microsoft.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/microsoft.yaml onedrive: type: http behavior: classical path: ./rules_set/no_resolve/onedrive.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/onedrive.yaml advertising: type: http behavior: classical path: ./rules_set/no_resolve/advertising.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/advertising.yaml paypal: type: http behavior: classical path: ./rules_set/no_resolve/paypal.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/paypal.yaml facebook: type: http behavior: classical path: ./rules_set/no_resolve/facebook.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/facebook.yaml claude: type: http behavior: classical path: ./rules_set/no_resolve/claude.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/claude.yaml social_media: type: http behavior: classical path: ./rules_set/no_resolve/social_media.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/social_media.yaml google: type: http behavior: classical path: ./rules_set/no_resolve/google.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/google.yaml icloud: type: http behavior: classical path: ./rules_set/no_resolve/icloud.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/icloud.yaml apple: type: http behavior: classical path: ./rules_set/no_resolve/apple.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/apple.yaml amazon: type: http behavior: classical path: ./rules_set/no_resolve/amazon.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/amazon.yaml youtube: type: http behavior: classical path: ./rules_set/no_resolve/youtube.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/youtube.yaml telegram: type: http behavior: classical path: ./rules_set/no_resolve/telegram.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/telegram.yaml github: type: http behavior: classical path: ./rules_set/no_resolve/github.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/github.yaml appletv: type: http behavior: classical path: ./rules_set/no_resolve/appletv.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/appletv.yaml bing: type: http behavior: classical path: ./rules_set/no_resolve/bing.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/bing.yaml proxy: type: http behavior: classical path: ./rules_set/no_resolve/proxy.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/proxy.yaml twitter: type: http behavior: classical path: ./rules_set/no_resolve/twitter.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/twitter.yaml openai: type: http behavior: classical path: ./rules_set/no_resolve/openai.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/openai.yaml copilot: type: http behavior: classical path: ./rules_set/no_resolve/copilot.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/copilot.yaml apple_proxy: type: http behavior: classical path: ./rules_set/no_resolve/apple_proxy.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/apple_proxy.yaml google_gemini: type: http behavior: classical path: ./rules_set/no_resolve/google_gemini.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/google_gemini.yaml netflix: type: http behavior: classical path: ./rules_set/no_resolve/netflix.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/netflix.yaml discord: type: http behavior: classical path: ./rules_set/no_resolve/discord.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/discord.yaml disney: type: http behavior: classical path: ./rules_set/no_resolve/disney.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/disney.yaml apple_media: type: http behavior: classical path: ./rules_set/no_resolve/apple_media.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/apple_media.yaml china_direct: type: http behavior: classical path: ./rules_set/no_resolve/china_direct.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/china_direct.yaml iCloudPrivateRelay: type: http behavior: classical path: ./rules_set/no_resolve/iCloudPrivateRelay.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/no_resolve/iCloudPrivateRelay.yaml ### custom rule by hand proxy_selected: type: http behavior: classical path: ./rules_set/proxy_selected.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/proxy_selected.yaml proxy_random: type: http behavior: classical path: ./rules_set/proxy_random.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/proxy_random.yaml private_direct: type: http behavior: classical path: ./rules_set/private_direct.yaml interval: 86400 url: https://raw.githubusercontent.com/darkli/research/main/rules/rules_set/private_direct.yaml rules: # - RULE-SET,advertising,🛑 广告拦截 - RULE-SET,google_gemini,Ⓜ️ Gemini - RULE-SET,openai,Ⓜ️ OpenAI - RULE-SET,claude,Ⓜ️ Claude - RULE-SET,copilot,🌍 Copilot - RULE-SET,paypal,Ⓜ️ Paypal - RULE-SET,netflix,🎥 Netflix - RULE-SET,disney,🎥 Disney - RULE-SET,google_voice,📢 GoogleVoice - RULE-SET,amazon,Ⓜ️ Amazon - RULE-SET,facebook,Ⓜ️ Facebook - RULE-SET,github,Ⓜ️ Github - RULE-SET,twitter,Ⓜ️ Twitter - RULE-SET,telegram,📲 电报消息 - RULE-SET,discord,Ⓜ️ Discord - RULE-SET,youtube,🎥 YouTube - RULE-SET,google,📢 Google - RULE-SET,icloud,🍎 iCloud - RULE-SET,iCloudPrivateRelay,🍎 iCloudPrivateRelay - RULE-SET,apple_proxy,🍎 苹果代理 - RULE-SET,appletv,🍎 AppleTV - RULE-SET,apple,🍎 苹果服务 - RULE-SET,apple_media,🍎 苹果媒体 - RULE-SET,bing,🌍 Bing - RULE-SET,onedrive,🌍 OneDrive - RULE-SET,microsoft,Ⓜ️ Microsoft - RULE-SET,social_media,📲 SocialMedia - RULE-SET,proxy_selected,📺 proxy_selected - RULE-SET,proxy,📺 Proxy - RULE-SET,proxy_random,📺 Proxy - RULE-SET,private_direct,🎯 全球直连 - RULE-SET,china_direct,🎯 全球直连 - GEOIP,CN,🎯 全球直连 - GEOIP,LAN,🎯 全球直连 - MATCH,🐟 漏网之鱼