# Generated business-policy projection; preserve mobile-only network settings.
# Mobile intentionally omits the router UDP/443 reject because it breaks phone UDP.
mixed-port: 7890
allow-lan: false
mode: Rule
log-level: info
external-controller: 127.0.0.1:9090
dns:
  enable: true
  ipv6: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  fake-ip-filter-mode: blacklist
  fake-ip-filter:
  - '*.lan'
  - '*.test'
  - '*.home.arpa'
  nameserver:
  - https://223.5.5.5/dns-query
  - https://1.12.12.12/dns-query
  proxy-server-nameserver:
  - https://1.12.12.12/dns-query
  fallback:
  - tls://8.8.4.4
  - tls://1.1.1.1
proxy-providers:
  AirportShandianProAll:
    type: http
    path: ./providers/proxy/AirportShandianProAll.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProForegin:
    type: http
    path: ./providers/proxy/AirportShandianProForegin.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProAmerica:
    type: http
    path: ./providers/proxy/AirportShandianProAmerica.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    filter: 美国
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProJapan:
    type: http
    path: ./providers/proxy/AirportShandianProJapan.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    filter: 日本
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProTaiwan:
    type: http
    path: ./providers/proxy/AirportShandianProJapan.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://b88c32b7-e6db-4dc8-b44f-a13e5160f674.shandiannginx.com/api/v1/client/subscribe?token=a629ecf09cd5408c12610a8171085d7c
    interval: 1800
    filter: 台湾
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProSingapore:
    type: http
    path: ./providers/proxy/AirportShandianProSingapore.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    filter: 新加坡
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportShandianProHongkong:
    type: http
    path: ./providers/proxy/AirportShandianProHongkong.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://45.78.78.177:15251/v2b/shandian/api/v1/client/subscribe?token=fdee6024ef338b23b9012eb748030d1c
    interval: 1800
    filter: 香港
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaAll:
    type: http
    path: ./providers/proxy/AirportHaitaAll.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaAmerica:
    type: http
    path: ./providers/proxy/AirportHaitaAmerica.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 美国
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaJapan:
    type: http
    path: ./providers/proxy/AirportHaitaJapan.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 日本
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaTaiwan:
    type: http
    path: ./providers/proxy/AirportHaitaTaiwan.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 台湾
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaSingapore:
    type: http
    path: ./providers/proxy/AirportHaitaSingapore.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 新加坡
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaHongkong:
    type: http
    path: ./providers/proxy/AirportHaitaHongkong.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 香港
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaKorea:
    type: http
    path: ./providers/proxy/AirportHaitaKorea.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 韩国
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
  AirportHaitaEurope:
    type: http
    path: ./providers/proxy/AirportHaitaEurope.yaml
    url: https://hproxy.likezgq.top/api/convert?url=https://su.anywayfosec.xyz/api/v1/client/subscribe?token=0d0df10e797c69b59ff577cb3e90d549
    interval: 1800
    filter: 英国|荷兰|德国
    health-check:
      enable: true
      url: http://www.gstatic.com/generate_204
      interval: 300
proxies:
- name: vless_dmitcf_likezgq
  type: vless
  server: dmitcf.likezgq.top
  port: 2053
  uuid: 3e7dab20-a75f-4da0-a338-6bc5d5b6d0c1
  network: ws
  skip-cert-verify: true
  tls: true
  tls-hostname: dmitcf.likezgq.top
  ws-opts:
    headers:
      Host: dmitcf.likezgq.top
    path: /ws
- name: vless_dmit02_reality_likezgq
  type: vless
  server: dmit02.likezgq.top
  port: 33666
  uuid: 56cc48b8-0603-43b0-b5f4-0b4f9f62bd7d
  network: tcp
  tls: true
  servername: www.amazon.com
  client-fingerprint: chrome
  reality-opts:
    public-key: M771aZAjU3l8XeOq9U3mY0JrbcOZPE00fLMYQH2L3xI
    short-id: c8e608f37b8f2a21
    spider-x: /
- name: vless_cc03_reality_vision
  type: vless
  server: cc03.likezgq.top
  port: 40686
  uuid: 5c796c0b-fbc9-4f68-8998-857280b31549
  network: tcp
  tls: true
  flow: xtls-rprx-vision
  servername: www.amazon.com
  client-fingerprint: chrome
  reality-opts:
    public-key: hvSiIywHKfF7SwbIgtp4lF1k2SLb2y5Q5C-bDQiS1AQ
    short-id: eb87dd0654a11c21
proxy-groups:
- name: POLICY_OPENAI
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_XAI
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_ANTHROPIC
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_GOOGLE
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_WISE
  type: select
  proxies:
  - DIRECT
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_PAYMAYA
  type: select
  proxies:
  - DIRECT
  - EXIT_SINGAPORE
- name: POLICY_POLYMARKET
  type: select
  proxies:
  - EXIT_HONGKONG
  - DIRECT
- name: POLICY_STRIPE
  type: select
  proxies:
  - EXIT_SELF_HOSTED
  - DIRECT
  - EXIT_AMERICA
  - EXIT_HONGKONG
- name: POLICY_EASY_IPBLOCK
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_YOUTUBE
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_IP_CHECK
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
  - DIRECT
- name: POLICY_COLOR
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: POLICY_DEFAULT
  type: select
  proxies:
  - DEFAULT_EXIT
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: DEFAULT_EXIT
  type: select
  proxies:
  - EXIT_SELF_HOSTED
  - EXIT_AMERICA
  - EXIT_SINGAPORE
  - EXIT_TAIWAN
  - EXIT_JAPAN
  - EXIT_HONGKONG
- name: EXIT_SELF_HOSTED
  type: select
  proxies:
  - AUTO_SELF_HOSTED
  - vless_dmitcf_likezgq
  - vless_dmit02_reality_likezgq
  - vless_cc03_reality_vision
- name: EXIT_AMERICA
  type: select
  proxies:
  - AUTO_AMERICA
  use:
  - AirportShandianProAmerica
  - AirportHaitaAmerica
- name: EXIT_SINGAPORE
  type: select
  proxies:
  - AUTO_SINGAPORE
  use:
  - AirportShandianProSingapore
  - AirportHaitaSingapore
- name: EXIT_TAIWAN
  type: select
  proxies:
  - AUTO_TAIWAN
  use:
  - AirportShandianProTaiwan
  - AirportHaitaTaiwan
- name: EXIT_JAPAN
  type: select
  proxies:
  - AUTO_JAPAN
  use:
  - AirportShandianProJapan
  - AirportHaitaJapan
- name: EXIT_HONGKONG
  type: select
  proxies:
  - AUTO_HONGKONG
  use:
  - AirportShandianProHongkong
  - AirportHaitaHongkong
- name: AUTO_SELF_HOSTED
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 150
  tolerance: 30
  proxies:
  - vless_dmitcf_likezgq
  - vless_dmit02_reality_likezgq
  - vless_cc03_reality_vision
- name: AUTO_AMERICA
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 300
  tolerance: 50
  use:
  - AirportShandianProAmerica
  - AirportHaitaAmerica
- name: AUTO_SINGAPORE
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 150
  tolerance: 50
  use:
  - AirportShandianProSingapore
  - AirportHaitaSingapore
- name: AUTO_TAIWAN
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 150
  tolerance: 50
  use:
  - AirportShandianProTaiwan
  - AirportHaitaTaiwan
- name: AUTO_JAPAN
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 150
  tolerance: 50
  use:
  - AirportShandianProJapan
  - AirportHaitaJapan
- name: AUTO_HONGKONG
  type: url-test
  url: http://www.gstatic.com/generate_204
  interval: 250
  tolerance: 30
  use:
  - AirportShandianProHongkong
  - AirportHaitaHongkong
rule-providers:
  reject:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt
    path: ./ruleset/reject.yaml
    interval: 86400
  icloud:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt
    path: ./ruleset/icloud.yaml
    interval: 86400
  apple:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt
    path: ./ruleset/apple.yaml
    interval: 86400
  google:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt
    path: ./ruleset/google.yaml
    interval: 86400
  proxy:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt
    path: ./ruleset/proxy.yaml
    interval: 86400
  direct:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt
    path: ./ruleset/direct.yaml
    interval: 86400
  private:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt
    path: ./ruleset/private.yaml
    interval: 86400
  tld-not-cn:
    type: http
    behavior: domain
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt
    path: ./ruleset/tld-not-cn.yaml
    interval: 86400
  telegramcidr:
    type: http
    behavior: ipcidr
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt
    path: ./ruleset/telegramcidr.yaml
    interval: 86400
  cncidr:
    type: http
    behavior: ipcidr
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt
    path: ./ruleset/cncidr.yaml
    interval: 86400
  lancidr:
    type: http
    behavior: ipcidr
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt
    path: ./ruleset/lancidr.yaml
    interval: 86400
  applications:
    type: http
    behavior: classical
    url: https://fastly.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt
    path: ./ruleset/applications.yaml
    interval: 86400
  github:
    type: http
    behavior: domain
    url: https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/Github.yaml
    path: ./ruleset/github.yaml
    interval: 86400
  tiktok:
    type: http
    behavior: domain
    url: https://raw.gitmirror.com/ACL4SSR/ACL4SSR/master/Clash/Providers/Ruleset/TikTok.yaml
    path: ./ruleset/tiktok.yaml
    interval: 86400
rules:
- DST-PORT,22,EXIT_SELF_HOSTED
- DOMAIN-SUFFIX,ipinfo.io,POLICY_IP_CHECK
- DOMAIN-SUFFIX,scamalytics.com,POLICY_IP_CHECK
- DOMAIN-SUFFIX,ping0.cc,POLICY_IP_CHECK
- DOMAIN,huggingface.co,EXIT_SELF_HOSTED
- DOMAIN-SUFFIX,openai.com,POLICY_OPENAI
- DOMAIN-SUFFIX,chatgpt.com,POLICY_OPENAI
- DOMAIN-KEYWORD,openai,POLICY_OPENAI
- DOMAIN-KEYWORD,chatgpt,POLICY_OPENAI
- DOMAIN-KEYWORD,claude,POLICY_ANTHROPIC
- DOMAIN-KEYWORD,anthropic,POLICY_ANTHROPIC
- DOMAIN-SUFFIX,cursor.sh,POLICY_XAI
- DOMAIN-KEYWORD,grok,POLICY_XAI
- DOMAIN-SUFFIX,intercomcdn.com,POLICY_DEFAULT
- DOMAIN-SUFFIX,cdn.usefathom.com,POLICY_DEFAULT
- DOMAIN-SUFFIX,stripe.com,POLICY_STRIPE
- DOMAIN-KEYWORD,sora,POLICY_OPENAI
- DOMAIN-KEYWORD,aistudio,POLICY_GOOGLE
- DOMAIN-KEYWORD,youtube,POLICY_YOUTUBE
- DOMAIN-KEYWORD,google,POLICY_GOOGLE
- DOMAIN-KEYWORD,gemini,POLICY_GOOGLE
- DOMAIN-KEYWORD,discord,EXIT_AMERICA
- DOMAIN-KEYWORD,us-api,EXIT_AMERICA
- DOMAIN-KEYWORD,paypal,EXIT_AMERICA
- DOMAIN-KEYWORD,paypa1,EXIT_AMERICA
- DOMAIN-SUFFIX,wise.com,POLICY_WISE
- DOMAIN-SUFFIX,maya.ph,POLICY_PAYMAYA
- DOMAIN-SUFFIX,paymaya.com,POLICY_PAYMAYA
- DOMAIN-SUFFIX,mayabank.ph,POLICY_PAYMAYA
- DOMAIN-SUFFIX,polymarket.com,POLICY_POLYMARKET
- DOMAIN-KEYWORD,reddit.com,POLICY_EASY_IPBLOCK
- DOMAIN-KEYWORD,avgle,POLICY_COLOR
- DOMAIN-KEYWORD,porn,POLICY_COLOR
- DOMAIN-KEYWORD,xvideo,POLICY_COLOR
- DOMAIN-KEYWORD,xhamster,POLICY_COLOR
- DOMAIN-SUFFIX,ycombinator.com,POLICY_DEFAULT
- DOMAIN-SUFFIX,distrowatch.com,POLICY_DEFAULT
- DOMAIN-SUFFIX,pypi.org,POLICY_DEFAULT
- DOMAIN-SUFFIX,pythonhosted.org,POLICY_DEFAULT
- DOMAIN-SUFFIX,nvidia.com,POLICY_DEFAULT
- DOMAIN-SUFFIX,tailscale.com,POLICY_DEFAULT
- DOMAIN-KEYWORD,time.windows.com,DIRECT
- DOMAIN-SUFFIX,likezgq.top,DIRECT
- DOMAIN-KEYWORD,ra2web.com,DIRECT
- DOMAIN-KEYWORD,bun.sh.cn,DIRECT
- DOMAIN-SUFFIX,kgithub.com,DIRECT
- DOMAIN-KEYWORD,chronodivide.com,DIRECT
- DOMAIN,clash.razord.top,DIRECT
- DOMAIN,yacd.haishan.me,DIRECT
- DOMAIN-SUFFIX,likezgq.pub,DIRECT
- DOMAIN-SUFFIX,home.pub,DIRECT
- DOMAIN-SUFFIX,lan,DIRECT
- PROCESS-NAME,Tailscale.exe,DIRECT
- PROCESS-NAME,Tailscale Service.exe,DIRECT
- PROCESS-NAME,tailscaled.exe,DIRECT
- PROCESS-NAME,tailscale-ipn.exe,DIRECT
- PROCESS-NAME,tailscaled,DIRECT
- PROCESS-NAME,Tailscale,DIRECT
- RULE-SET,github,EXIT_SELF_HOSTED
- RULE-SET,tiktok,EXIT_AMERICA
- RULE-SET,applications,DIRECT
- RULE-SET,private,DIRECT
- RULE-SET,reject,REJECT
- RULE-SET,icloud,DIRECT
- RULE-SET,apple,DIRECT
- RULE-SET,direct,DIRECT
- RULE-SET,proxy,POLICY_DEFAULT
- RULE-SET,telegramcidr,POLICY_DEFAULT,no-resolve
- IP-CIDR,104.27.80.65/32,DIRECT,no-resolve
- IP-CIDR,104.16.29.191/32,DIRECT,no-resolve
- IP-CIDR,141.101.115.236/32,DIRECT,no-resolve
- IP-CIDR,172.64.93.84/32,DIRECT,no-resolve
- IP-CIDR,142.171.94.73/32,DIRECT,no-resolve
- IP-CIDR,100.64.0.0/10,DIRECT,no-resolve
- RULE-SET,lancidr,DIRECT,no-resolve
- RULE-SET,cncidr,DIRECT,no-resolve
- GEOIP,LAN,DIRECT,no-resolve
- GEOIP,CN,DIRECT
- MATCH,POLICY_DEFAULT
