Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
V2rayn | 54,171 | 6 days ago | 263 | gpl-3.0 | C# | |||||
A GUI client for Windows, support Xray core and v2fly core and others | ||||||||||
V2ray Core | 44,026 | 7 | 41 | a day ago | 4 | June 03, 2019 | 25 | mit | Go | |
A platform for building proxies to bypass network restrictions. | ||||||||||
Fanqiang | 33,107 | 17 days ago | 298 | Kotlin | ||||||
翻墙-科学上网 | ||||||||||
V2rayng | 26,664 | 2 days ago | 4 | April 26, 2021 | 337 | gpl-3.0 | Kotlin | |||
A V2Ray client for Android, support Xray core and v2fly core | ||||||||||
V2ray Core | 26,070 | 31 | a day ago | 201 | June 12, 2022 | 48 | mit | Go | ||
A platform for building proxies to bypass network restrictions. | ||||||||||
Xray Core | 19,547 | 57 | 2 days ago | 96 | November 18, 2023 | 415 | mpl-2.0 | Go | ||
Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration. | ||||||||||
Clash Rules | 13,252 | a day ago | gpl-3.0 | |||||||
🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 客户端。 | ||||||||||
V2ray Rules Dat | 12,533 | a day ago | 3 | gpl-3.0 | ||||||
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go、leaf 和 hysteria。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go, leaf and hysteria. | ||||||||||
Shadowrocket Adblock Rules Forever | 8,555 | a day ago | 14 | other | ||||||
提供多款 Shadowrocket 规则,拥有强劲的广告过滤功能。每日8时重新构建规则。 | ||||||||||
Nekoray | 7,423 | 4 days ago | 181 | gpl-3.0 | C++ | |||||
Qt based cross-platform GUI proxy configuration manager (backend: v2ray / sing-box) |
V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat
和 geosite.dat
,兼容 Shadowsocks-windows、Xray-core、Trojan-Go、leaf 和 hysteria。使用 GitHub Actions 北京时间每天早上 6 点自动构建,保证规则最新。
CN
(中国大陆)类别下的 IPv4 地址融合了 ipip.net 和 @gaoyifan/china-operator-ip,CN
(中国大陆)类别下的 IPv6 地址融合了 MaxMind GeoLite2 和 @gaoyifan/china-operator-ip
geoip:cloudflare
geoip:cloudfront
geoip:facebook
geoip:fastly
geoip:google
geoip:netflix
geoip:telegram
geoip:twitter
希望定制
geoip.dat
文件?查看仓库 @Loyalsoldier/geoip。
geosite:china-list
和 geosite:cn
类别中geosite:geolocation-!cn
类别中(如希望本文件中的 Apple 域名直连,请参考下面 geosite 的 Routing 配置方式)geosite:geolocation-!cn
类别中(如希望本文件中的 Google 域名直连,请参考下面 geosite 的 Routing 配置方式)geosite:gfw
类别中,供习惯于 PAC 模式并希望使用 GFWList 的用户使用geosite:geolocation-!cn
类别中geosite:category-ads-all
类别中geosite:category-ads-all
类别中geosite:category-ads-all
类别中geosite:category-ads-all
类别中geosite:win-spy
类别中geosite:win-update
类别中geosite:win-extra
类别中hidden 分支
里的三个文件 direct.txt
、proxy.txt
和 reject.txt
,分别存放自定义的需要添加的直连、代理、广告域名,最终分别加入到 geosite:cn
、geosite:geolocation-!cn
和 geosite:category-ads-all
类别中hidden 分支
里的三个文件 direct-need-to-remove.txt
、proxy-need-to-remove.txt
和 reject-need-to-remove.txt
,分别存放自定义的需要从 direct-list
(直连域名列表)、proxy-list
(代理域名列表)和 reject-list
(广告域名列表) 移除的域名下载地址:
如果无法访问域名
raw.githubusercontent.com
,可以使用第二个地址(cdn.jsdelivr.net
),但是内容更新会有 12 小时的延迟。
使用方式:
geoip.dat
和 geosite.dat
geoip.dat
和 geosite.dat
放入到客户端的规则文件目录,替换掉原来的 geoip.dat
和 geosite.dat
跟 V2Ray 官方 geoip.dat
配置方式相同。
Routing 配置方式:
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "Direct",
"ip": [
"223.5.5.5/32",
"119.29.29.29/32",
"180.76.76.76/32",
"114.114.114.114/32",
"geoip:cn",
"geoip:private"
]
},
{
"type": "field",
"outboundTag": "Proxy",
"ip": [
"1.1.1.1/32",
"1.0.0.1/32",
"8.8.8.8/32",
"8.8.4.4/32",
"geoip:us",
"geoip:ca",
"geoip:telegram"
]
}
]
}
跟 V2Ray 官方 geosite.dat
配置方式相同。相比官方 geosite.dat
文件,本项目特有的类别:
geosite:china-list
:包含 @felixonmars/dnsmasq-china-list/accelerated-domains.china.conf 文件里的域名,供有特殊 DNS 分流需求的用户使用。geosite:apple-cn
:包含 @felixonmars/dnsmasq-china-list/apple.china.conf 文件里的域名,供希望 Apple 域名直连(不走代理)的用户使用。geosite:google-cn
:包含 @felixonmars/dnsmasq-china-list/google.china.conf 文件里的域名,供希望 Google 域名直连(不走代理)的用户使用。geosite:win-spy
:包含 @crazy-max/WindowsSpyBlocker/hosts/spy.txt 文件里的域名,供希望屏蔽 Windows 操作系统隐私跟踪域名的用户使用。geosite:win-update
:包含 @crazy-max/WindowsSpyBlocker/hosts/update.txt 文件里的域名,供希望屏蔽 Windows 操作系统自动升级的用户使用。geosite:win-extra
:包含 @crazy-max/WindowsSpyBlocker/hosts/extra.txt 文件里的域名,供希望屏蔽 Windows 操作系统附加隐私跟踪域名的用户使用。⚠️ 注意:在 Routing 配置中,类别越靠前(上),优先级越高,所以
geosite:apple-cn
和geosite:google-cn
要放置在geosite:geolocation-!cn
前(上)面才能生效。
v2fly/domain-list-community 项目 data 目录中某些列表里的规则会被标记诸如 @cn
的 attribute(如下所示),意为该域名在中国大陆有接入点,可直连。
steampowered.com.8686c.com @cn
steamstatic.com.8686c.com @cn
对于玩 Steam 国区游戏,想要直连的用户,可以设置类别 geosite:steam@cn
为直连,意为将 steam 列表内所有被标记了 @cn
attribute 的规则(域名)设置为直连。同理,由于 category-games 列表包含了 steam
、ea
、blizzard
、epicgames
和 nintendo
等常见的游戏厂商。设置类别 geosite:category-games@cn
为直连,即可节省大量服务器流量。
⚠️ 注意:在 Routing 配置中,类别越靠前(上),优先级越高,所以
geosite:category-games@cn
等所有带有@cn
attribute 的规则都要放置在geosite:geolocation-!cn
前(上)面才能生效。
category-games
列表内的规则(域名)可能会有疏漏,请留意规则命中情况。如发现遗漏,欢迎到项目 v2fly/domain-list-community 提 issue 反馈。
白名单模式 Routing 配置方式:
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "Reject",
"domain": ["geosite:category-ads-all"]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": [
"geosite:private",
"geosite:apple-cn",
"geosite:google-cn",
"geosite:tld-cn",
"geosite:category-games@cn"
]
},
{
"type": "field",
"outboundTag": "Proxy",
"domain": ["geosite:geolocation-!cn"]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": ["geosite:cn"]
},
{
"type": "field",
"outboundTag": "Proxy",
"network": "tcp,udp"
}
]
}
黑名单模式 Routing 配置方式:
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "Reject",
"domain": ["geosite:category-ads-all"]
},
{
"type": "field",
"outboundTag": "Proxy",
"domain": ["geosite:gfw"]
},
{
"type": "field",
"outboundTag": "Proxy",
"ip": ["geoip:telegram"]
},
{
"type": "field",
"outboundTag": "Direct",
"network": "tcp,udp"
}
]
}
DNS 配置方式:
"dns": {
"hosts": {
"dns.google": "8.8.8.8",
"dns.pub": "119.29.29.29",
"dns.alidns.com": "223.5.5.5",
"geosite:category-ads-all": "127.0.0.1"
},
"servers": [
{
"address": "https://1.1.1.1/dns-query",
"domains": ["geosite:geolocation-!cn"],
"expectIPs": ["geoip:!cn"]
},
"8.8.8.8",
{
"address": "114.114.114.114",
"port": 53,
"domains": ["geosite:cn", "geosite:category-games@cn"],
"expectIPs": ["geoip:cn"],
"skipFallback": true
},
{
"address": "localhost",
"skipFallback": true
}
]
}
注意事项:
skipFallback
选项,所以必须使用 v4.37.2 或更新版本的 V2Ray
outbounds
里的第一个大括号内的配置,即为 V2Ray 代理服务的配置。请根据自身需求进行修改,并参照 V2Ray 官网配置文档中的 配置 > Outbounds > OutboundObject 部分进行补全{
"log": {
"loglevel": "warning"
},
"dns": {
"hosts": {
"dns.google": "8.8.8.8",
"dns.pub": "119.29.29.29",
"dns.alidns.com": "223.5.5.5",
"geosite:category-ads-all": "127.0.0.1"
},
"servers": [
{
"address": "https://1.1.1.1/dns-query",
"domains": ["geosite:geolocation-!cn", "geosite:google@cn"],
"expectIPs": ["geoip:!cn"]
},
"8.8.8.8",
{
"address": "114.114.114.114",
"port": 53,
"domains": [
"geosite:cn",
"geosite:icloud",
"geosite:category-games@cn"
],
"expectIPs": ["geoip:cn"],
"skipFallback": true
},
{
"address": "localhost",
"skipFallback": true
}
]
},
"inbounds": [
{
"protocol": "socks",
"listen": "0.0.0.0",
"port": 1080,
"tag": "Socks-In",
"settings": {
"ip": "127.0.0.1",
"udp": true,
"auth": "noauth"
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
},
{
"protocol": "http",
"listen": "0.0.0.0",
"port": 2080,
"tag": "Http-In",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
}
],
"outbounds": [
{
//下面这行,协议类别要改为socks、shadowsocks、vmess或vless等(记得删除本行文字说明)
"protocol": "协议类别",
"settings": {},
//下面这行,tag的值对应Routing里的outboundTag,这里为Proxy(记得删除本行文字说明)
"tag": "Proxy",
"streamSettings": {},
"mux": {}
},
{
"protocol": "dns",
"tag": "Dns-Out"
},
{
"protocol": "freedom",
"tag": "Direct",
"settings": {
"domainStrategy": "UseIPv4"
}
},
{
"protocol": "blackhole",
"tag": "Reject",
"settings": {
"response": {
"type": "http"
}
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "mph",
"rules": [
{
"type": "field",
"outboundTag": "Direct",
"protocol": ["bittorrent"]
},
{
"type": "field",
"outboundTag": "Dns-Out",
"inboundTag": ["Socks-In", "Http-In"],
"network": "udp",
"port": 53
},
{
"type": "field",
"outboundTag": "Reject",
"domain": ["geosite:category-ads-all"]
},
{
"type": "field",
"outboundTag": "Proxy",
"domain": [
"full:www.icloud.com",
"domain:icloud-content.com",
"geosite:google"
]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": [
"geosite:tld-cn",
"geosite:icloud",
"geosite:category-games@cn"
]
},
{
"type": "field",
"outboundTag": "Proxy",
"domain": ["geosite:geolocation-!cn"]
},
{
"type": "field",
"outboundTag": "Direct",
"domain": ["geosite:cn", "geosite:private"]
},
{
"type": "field",
"outboundTag": "Direct",
"ip": ["geoip:cn", "geoip:private"]
},
{
"type": "field",
"outboundTag": "Proxy",
"network": "tcp,udp"
}
]
}
}