v2fly/domain-list-community 生成">

免责声明

免责声明

本项目仅供学习、研究与网络优化用途,严禁用于任何违反中国大陆及使用者所在地法律法规的行为。请勿将本项目内容用于任何非法用途,违者后果自负。

快速入门

Surge 建议配置

[General]
skip-proxy = 127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,100.64.0.0/10,17.0.0.0/8,localhost
exclude-simple-hostnames = true
internet-test-url = http://www.apple.com/library/test/success.html
proxy-test-url = http://www.gstatic.com/generate_204
doh-server = https://doh.pub/dns-query
dns-server = system, 223.5.5.5, 119.29.29.29
hijack-dns = 8.8.8.8:53, 8.8.4.4:53
ipv6 = true
loglevel = notify
allow-wifi-access = false

[Proxy]

[Proxy Group]
Proxy = select, Auto, Manual, HK, SG, US, TW, KR, JP, include-all-proxies=0
Auto = smart, include-other-group=Manual, hidden=1, include-all-proxies=0
# 注意: 将 https://your-subscription-link 替换为你的订阅链接
Manual = select, policy-path=https://your-subscription-link, update-interval=43200, include-all-proxies=0
Media = select, Auto, Manual, HK, SG, US, TW, KR, JP, include-all-proxies=0
AI = select, Auto, Manual, HK, SG, US, TW, KR, JP, include-all-proxies=0

HK = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=香港
SG = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=新加坡
US = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=美国
TW = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=台湾
KR = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=韩国
JP = smart, include-all-proxies=0, hidden=1, include-other-group=Manual, policy-regex-filter=日本

[Rule]
# 自定义规则
# 外部规则
RULE-SET,https://domain-list.bufs.io/surge/google-gemini.txt,AI
RULE-SET,https://domain-list.bufs.io/surge/openai.txt,AI
RULE-SET,https://domain-list.bufs.io/surge/anthropic.txt,AI
RULE-SET,https://domain-list.bufs.io/surge/youtube.txt,Media
RULE-SET,https://domain-list.bufs.io/surge/spotify.txt,Media
RULE-SET,https://domain-list.bufs.io/surge/disney.txt,Media
RULE-SET,https://domain-list.bufs.io/surge/netflix.txt,Media
RULE-SET,https://domain-list.bufs.io/surge/hulu.txt,Media
RULE-SET,https://domain-list.bufs.io/surge/microsoft.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/telegram.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/cloudflare.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/homebrew.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/github.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/docker.txt,Proxy
RULE-SET,https://domain-list.bufs.io/surge/google.txt,Proxy
# 内部规则
RULE-SET,SYSTEM,Proxy
RULE-SET,LAN,DIRECT
GEOIP,CN,DIRECT
FINAL,Proxy,dns-failed

Clash 建议配置

bind-address: 127.0.0.1
mixed-port: 7890
unified-delay: true
allow-lan: false
mode: rule
ipv6: true
log-level: info

dns:
  enable: true
  ipv6: true
  enhanced-mode: fake-ip
  default-nameserver:
    - 8.8.8.8
    - 1.1.1.1
  nameserver:
    - 223.5.5.5
    - 119.29.29.29
    - https://doh.pub/dns-query

proxy-providers:
  provider:
    type: http
    # 注意: 将 https://your-subscription-link 替换为你的订阅链接
    url: http://your-subscription-link
    interval: 43200

proxies: []

proxy-groups:
  - name: Proxy
    type: select
    proxies: [Auto, Manual, HK, SG, US, TW, KR, JP]
  - name: Auto
    type: url-test
    include-all-providers: true
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: Manual
    type: select
    include-all-providers: true
  - name: Media
    type: select
    proxies: [Auto, Manual, HK, SG, US, TW, KR, JP]
  - name: AI
    type: select
    proxies: [Auto, Manual, HK, SG, US, TW, KR, JP]
  - name: HK
    type: url-test
    include-all-providers: true
    filter: "香港"
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: SG
    type: url-test
    include-all-providers: true
    filter: "新加坡"
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: US
    type: url-test
    include-all-providers: true
    filter: "美国"
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: TW
    type: url-test
    include-all-providers: true
    filter: "台湾"
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: KR
    type: url-test
    include-all-providers: true
    filter: "韩国"
    url: https://www.gstatic.com/generate_204
    hidden: true
  - name: JP
    type: url-test
    include-all-providers: true
    filter: "日本"
    url: https://www.gstatic.com/generate_204
    hidden: true

rule-providers:
  google-gemini:
    type: http
    url: https://domain-list.bufs.io/clash/google-gemini.txt
    interval: 43200
    behavior: classical
  openai:
    type: http
    url: https://domain-list.bufs.io/clash/openai.txt
    interval: 43200
    behavior: classical
  anthropic:
    type: http
    url: https://domain-list.bufs.io/clash/anthropic.txt
    interval: 43200
    behavior: classical
  youtube:
    type: http
    url: https://domain-list.bufs.io/clash/youtube.txt
    interval: 43200
    behavior: classical
  spotify:
    type: http
    url: https://domain-list.bufs.io/clash/spotify.txt
    interval: 43200
    behavior: classical
  disney:
    type: http
    url: https://domain-list.bufs.io/clash/disney.txt
    interval: 43200
    behavior: classical
  netflix:
    type: http
    url: https://domain-list.bufs.io/clash/netflix.txt
    interval: 43200
    behavior: classical
  hulu:
    type: http
    url: https://domain-list.bufs.io/clash/hulu.txt
    interval: 43200
    behavior: classical
  microsoft:
    type: http
    url: https://domain-list.bufs.io/clash/microsoft.txt
    interval: 43200
    behavior: classical
  telegram:
    type: http
    url: https://domain-list.bufs.io/clash/telegram.txt
    interval: 43200
    behavior: classical
  cloudflare:
    type: http
    url: https://domain-list.bufs.io/clash/cloudflare.txt
    interval: 43200
    behavior: classical
  github:
    type: http
    url: https://domain-list.bufs.io/clash/github.txt
    interval: 43200
    behavior: classical
  docker:
    type: http
    url: https://domain-list.bufs.io/clash/docker.txt
    interval: 43200
    behavior: classical
  google:
    type: http
    url: https://domain-list.bufs.io/clash/google.txt
    interval: 43200
    behavior: classical

rules:
  # 自定义规则
  # 外部规则
  - RULE-SET,google-gemini,AI
  - RULE-SET,openai,AI
  - RULE-SET,anthropic,AI
  - RULE-SET,youtube,Media
  - RULE-SET,spotify,Media
  - RULE-SET,disney,Media
  - RULE-SET,netflix,Media
  - RULE-SET,hulu,Media
  - RULE-SET,microsoft,Proxy
  - RULE-SET,telegram,Proxy
  - RULE-SET,cloudflare,Proxy
  - RULE-SET,github,Proxy
  - RULE-SET,docker,Proxy
  - RULE-SET,google,Proxy
  # 内部规则
  - GEOIP,CN,DIRECT
  - MATCH,Proxy

概述

适用范围与合规说明:

  • 本项目仅面向全球合规网络环境下的技术研究、网络优化、教育用途。
  • 禁止将本项目内容用于任何违反当地法律法规的行为,尤其不得用于突破中国大陆等地区的网络封锁、访问受限内容等高风险用途。
  • 使用者需自行判断和承担使用本项目带来的全部风险和法律责任。

如有建议或贡献,欢迎通过 Issue 或 Pull Request 参与项目维护。

在 Surge 中使用

  1. 复制上方“Surge 建议配置”中的 [Rule] 相关内容,粘贴到你的 Surge 配置文件对应位置。
  2. 按需调整订阅链接、策略组等参数。

在 Clash 中使用

  1. 复制上方“Clash 建议配置”中的 rule-providersrules 部分,粘贴到你的 Clash 配置文件对应位置。
  2. 按需调整订阅链接、策略组等参数。

域名列表资源

clash