Browse Source

Update Configuration to Optimize (#6027)

* Remove geolocation-cn

* Segment and update DNS lists
pull/6038/head
TTG 2 weeks ago committed by GitHub
parent
commit
bf4615f2f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 217
      v2rayN/ServiceLib/Sample/custom_routing_black
  2. 19
      v2rayN/ServiceLib/Sample/custom_routing_rules
  3. 77
      v2rayN/ServiceLib/Sample/custom_routing_white
  4. 3
      v2rayN/ServiceLib/Sample/dns_singbox_normal
  5. 3
      v2rayN/ServiceLib/Sample/dns_v2ray_normal

217
v2rayN/ServiceLib/Sample/custom_routing_black

@ -1,73 +1,148 @@
[ [
{ {
"remarks": "绕过bittorrent", "remarks": "绕过bittorrent",
"outboundTag": "direct", "outboundTag": "direct",
"protocol": [ "protocol": [
"bittorrent" "bittorrent"
] ]
}, },
{ {
"remarks": "Google cn", "remarks": "Google cn",
"outboundTag": "proxy", "outboundTag": "proxy",
"domain": [ "domain": [
"domain:googleapis.cn", "domain:googleapis.cn",
"domain:gstatic.com" "domain:gstatic.com"
] ]
}, },
{ {
"remarks": "阻断udp443", "remarks": "阻断udp443",
"outboundTag": "block", "outboundTag": "block",
"port": "443", "port": "443",
"network": "udp" "network": "udp"
}, },
{ {
"remarks": "阻断广告", "remarks": "阻断广告",
"outboundTag": "block", "outboundTag": "block",
"domain": [ "domain": [
"geosite:category-ads-all" "geosite:category-ads-all"
] ]
}, },
{ {
"remarks": "绕过局域网IP", "remarks": "绕过局域网IP",
"outboundTag": "direct", "outboundTag": "direct",
"ip": [ "ip": [
"geoip:private" "geoip:private"
] ]
}, },
{ {
"remarks": "绕过局域网域名", "remarks": "绕过局域网域名",
"outboundTag": "direct", "outboundTag": "direct",
"domain": [ "domain": [
"geosite:private" "geosite:private"
] ]
}, },
{ {
"remarks": "代理IP", "remarks": "代理海外公共DNSIP",
"outboundTag": "proxy", "outboundTag": "proxy",
"ip": [ "ip": [
"1.0.0.1", "1.1.1.1",
"1.1.1.1", "1.0.0.1",
"8.8.8.8", "2606:4700:4700::1111",
"8.8.4.4", "2606:4700:4700::1001",
"geoip:facebook", "1.1.1.2",
"geoip:fastly", "1.0.0.2",
"geoip:google", "2606:4700:4700::1112",
"geoip:netflix", "2606:4700:4700::1002",
"geoip:telegram", "1.1.1.3",
"geoip:twitter" "1.0.0.3",
] "2606:4700:4700::1113",
}, "2606:4700:4700::1003",
{ "8.8.8.8",
"remarks": "代理GFW", "8.8.4.4",
"outboundTag": "proxy", "2001:4860:4860::8888",
"domain": [ "2001:4860:4860::8844",
"geosite:gfw", "94.140.14.14",
"geosite:greatfire" "94.140.15.15",
] "2a10:50c0::ad1:ff",
}, "2a10:50c0::ad2:ff",
{ "94.140.14.15",
"remarks": "最终直连", "94.140.15.16",
"port": "0-65535", "2a10:50c0::bad1:ff",
"outboundTag": "direct" "2a10:50c0::bad2:ff",
} "94.140.14.140",
"94.140.14.141",
"2a10:50c0::1:ff",
"2a10:50c0::2:ff",
"208.67.222.222",
"208.67.220.220",
"2620:119:35::35",
"2620:119:53::53",
"208.67.222.123",
"208.67.220.123",
"2620:119:35::123",
"2620:119:53::123",
"9.9.9.9",
"149.112.112.112",
"2620:fe::9",
"2620:fe::fe",
"9.9.9.11",
"149.112.112.11",
"2620:fe::11",
"2620:fe::fe:11",
"9.9.9.10",
"149.112.112.10",
"2620:fe::10",
"2620:fe::fe:10",
"77.88.8.8",
"77.88.8.1",
"2a02:6b8::feed:0ff",
"2a02:6b8:0:1::feed:0ff",
"77.88.8.88",
"77.88.8.2",
"2a02:6b8::feed:bad",
"2a02:6b8:0:1::feed:bad",
"77.88.8.7",
"77.88.8.3",
"2a02:6b8::feed:a11",
"2a02:6b8:0:1::feed:a11"
]
},
{
"remarks": "代理海外公共DNS域名",
"outboundTag": "proxy",
"domain": [
"domain:cloudflare-dns.com",
"domain:one.one.one.one",
"domain:dns.google",
"domain:adguard-dns.com",
"domain:opendns.com",
"domain:quad9.net",
"domain:dns.yandex.ru"
]
},
{
"remarks": "代理IP",
"outboundTag": "proxy",
"ip": [
"geoip:facebook",
"geoip:fastly",
"geoip:google",
"geoip:netflix",
"geoip:telegram",
"geoip:twitter"
]
},
{
"remarks": "代理GFW",
"outboundTag": "proxy",
"domain": [
"geosite:gfw",
"geosite:greatfire"
]
},
{
"remarks": "最终直连",
"port": "0-65535",
"outboundTag": "direct"
}
] ]

19
v2rayN/ServiceLib/Sample/custom_routing_rules

@ -1,4 +1,5 @@
[{ [
{
"remarks": "block", "remarks": "block",
"outboundTag": "block", "outboundTag": "block",
"domain": [ "domain": [
@ -12,14 +13,14 @@
"geosite:cn" "geosite:cn"
] ]
}, },
{ {
"remarks": "direct", "remarks": "direct",
"outboundTag": "direct", "outboundTag": "direct",
"ip": [ "ip": [
"geoip:private", "geoip:private",
"geoip:cn" "geoip:cn"
] ]
}, },
{ {
"remarks": "proxy", "remarks": "proxy",
"port": "0-65535", "port": "0-65535",

77
v2rayN/ServiceLib/Sample/custom_routing_white

@ -34,29 +34,60 @@
"geosite:private" "geosite:private"
] ]
}, },
{
"remarks": "绕过中国公共DNSIP",
"outboundTag": "direct",
"ip": [
"223.5.5.5",
"223.6.6.6",
"2400:3200::1",
"2400:3200:baba::1",
"119.29.29.29",
"1.12.12.12",
"120.53.53.53",
"2402:4e00::",
"2402:4e00:1::",
"180.76.76.76",
"2400:da00::6666",
"114.114.114.114",
"114.114.115.115",
"114.114.114.119",
"114.114.115.119",
"114.114.114.110",
"114.114.115.110",
"180.184.1.1",
"180.184.2.2",
"101.226.4.6",
"218.30.118.6",
"123.125.81.6",
"140.207.198.6",
"1.2.4.8",
"210.2.4.8",
"117.50.11.11",
"52.80.66.66",
"2400:7fc0:849e:200::4",
"2404:c2c0:85d8:901::4",
"117.50.10.10",
"52.80.52.52",
"2400:7fc0:849e:200::8",
"2404:c2c0:85d8:901::8"
]
},
{
"remarks": "绕过中国公共DNS域名",
"outboundTag": "direct",
"domain": [
"domain:alidns.com",
"domain:doh.pub",
"domain:dot.pub",
"domain:360.cn",
"domain:onedns.net"
]
},
{ {
"remarks": "绕过中国IP", "remarks": "绕过中国IP",
"outboundTag": "direct", "outboundTag": "direct",
"ip": [ "ip": [
"223.5.5.5/32",
"223.6.6.6/32",
"2400:3200::1/128",
"2400:3200:baba::1/128",
"119.29.29.29/32",
"1.12.12.12/32",
"120.53.53.53/32",
"2402:4e00::/128",
"2402:4e00:1::/128",
"180.76.76.76/32",
"2400:da00::6666/128",
"114.114.114.114/32",
"114.114.115.115/32",
"180.184.1.1/32",
"180.184.2.2/32",
"101.226.4.6/32",
"218.30.118.6/32",
"123.125.81.6/32",
"140.207.198.6/32",
"geoip:cn" "geoip:cn"
] ]
}, },
@ -64,13 +95,7 @@
"remarks": "绕过中国域名", "remarks": "绕过中国域名",
"outboundTag": "direct", "outboundTag": "direct",
"domain": [ "domain": [
"domain:dns.alidns.com", "geosite:cn"
"domain:doh.pub",
"domain:dot.pub",
"domain:doh.360.cn",
"domain:dot.360.cn",
"geosite:cn",
"geosite:geolocation-cn"
] ]
}, },
{ {

3
v2rayN/ServiceLib/Sample/dns_singbox_normal

@ -20,8 +20,7 @@
"rules": [ "rules": [
{ {
"rule_set": [ "rule_set": [
"geosite-cn", "geosite-cn"
"geosite-geolocation-cn"
], ],
"server": "local" "server": "local"
}, },

3
v2rayN/ServiceLib/Sample/dns_v2ray_normal

@ -7,8 +7,7 @@
{ {
"address": "223.5.5.5", "address": "223.5.5.5",
"domains": [ "domains": [
"geosite:cn", "geosite:cn"
"geosite:geolocation-cn"
], ],
"expectIPs": [ "expectIPs": [
"geoip:cn" "geoip:cn"

Loading…
Cancel
Save