diff --git a/v2rayN/ServiceLib/Sample/custom_routing_black b/v2rayN/ServiceLib/Sample/custom_routing_black
index a2c972f6..45f0e34f 100644
--- a/v2rayN/ServiceLib/Sample/custom_routing_black
+++ b/v2rayN/ServiceLib/Sample/custom_routing_black
@@ -1,73 +1,148 @@
[
- {
- "remarks": "绕过bittorrent",
- "outboundTag": "direct",
- "protocol": [
- "bittorrent"
- ]
- },
- {
- "remarks": "Google cn",
- "outboundTag": "proxy",
- "domain": [
- "domain:googleapis.cn",
- "domain:gstatic.com"
- ]
- },
- {
- "remarks": "阻断udp443",
- "outboundTag": "block",
- "port": "443",
- "network": "udp"
- },
- {
- "remarks": "阻断广告",
- "outboundTag": "block",
- "domain": [
- "geosite:category-ads-all"
- ]
- },
- {
- "remarks": "绕过局域网IP",
- "outboundTag": "direct",
- "ip": [
- "geoip:private"
- ]
- },
- {
- "remarks": "绕过局域网域名",
- "outboundTag": "direct",
- "domain": [
- "geosite:private"
- ]
- },
- {
- "remarks": "代理IP",
- "outboundTag": "proxy",
- "ip": [
- "1.0.0.1",
- "1.1.1.1",
- "8.8.8.8",
- "8.8.4.4",
- "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"
- }
+ {
+ "remarks": "绕过bittorrent",
+ "outboundTag": "direct",
+ "protocol": [
+ "bittorrent"
+ ]
+ },
+ {
+ "remarks": "Google cn",
+ "outboundTag": "proxy",
+ "domain": [
+ "domain:googleapis.cn",
+ "domain:gstatic.com"
+ ]
+ },
+ {
+ "remarks": "阻断udp443",
+ "outboundTag": "block",
+ "port": "443",
+ "network": "udp"
+ },
+ {
+ "remarks": "阻断广告",
+ "outboundTag": "block",
+ "domain": [
+ "geosite:category-ads-all"
+ ]
+ },
+ {
+ "remarks": "绕过局域网IP",
+ "outboundTag": "direct",
+ "ip": [
+ "geoip:private"
+ ]
+ },
+ {
+ "remarks": "绕过局域网域名",
+ "outboundTag": "direct",
+ "domain": [
+ "geosite:private"
+ ]
+ },
+ {
+ "remarks": "代理海外公共DNSIP",
+ "outboundTag": "proxy",
+ "ip": [
+ "1.1.1.1",
+ "1.0.0.1",
+ "2606:4700:4700::1111",
+ "2606:4700:4700::1001",
+ "1.1.1.2",
+ "1.0.0.2",
+ "2606:4700:4700::1112",
+ "2606:4700:4700::1002",
+ "1.1.1.3",
+ "1.0.0.3",
+ "2606:4700:4700::1113",
+ "2606:4700:4700::1003",
+ "8.8.8.8",
+ "8.8.4.4",
+ "2001:4860:4860::8888",
+ "2001:4860:4860::8844",
+ "94.140.14.14",
+ "94.140.15.15",
+ "2a10:50c0::ad1:ff",
+ "2a10:50c0::ad2:ff",
+ "94.140.14.15",
+ "94.140.15.16",
+ "2a10:50c0::bad1:ff",
+ "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"
+ }
]
\ No newline at end of file
diff --git a/v2rayN/ServiceLib/Sample/custom_routing_rules b/v2rayN/ServiceLib/Sample/custom_routing_rules
index 94b28108..4643ded2 100644
--- a/v2rayN/ServiceLib/Sample/custom_routing_rules
+++ b/v2rayN/ServiceLib/Sample/custom_routing_rules
@@ -1,4 +1,5 @@
-[{
+[
+ {
"remarks": "block",
"outboundTag": "block",
"domain": [
@@ -12,14 +13,14 @@
"geosite:cn"
]
},
- {
- "remarks": "direct",
- "outboundTag": "direct",
- "ip": [
- "geoip:private",
- "geoip:cn"
- ]
- },
+ {
+ "remarks": "direct",
+ "outboundTag": "direct",
+ "ip": [
+ "geoip:private",
+ "geoip:cn"
+ ]
+ },
{
"remarks": "proxy",
"port": "0-65535",
diff --git a/v2rayN/ServiceLib/Sample/custom_routing_white b/v2rayN/ServiceLib/Sample/custom_routing_white
index a19f8304..f27d3868 100644
--- a/v2rayN/ServiceLib/Sample/custom_routing_white
+++ b/v2rayN/ServiceLib/Sample/custom_routing_white
@@ -34,29 +34,60 @@
"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",
"outboundTag": "direct",
"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"
]
},
@@ -64,13 +95,7 @@
"remarks": "绕过中国域名",
"outboundTag": "direct",
"domain": [
- "domain:dns.alidns.com",
- "domain:doh.pub",
- "domain:dot.pub",
- "domain:doh.360.cn",
- "domain:dot.360.cn",
- "geosite:cn",
- "geosite:geolocation-cn"
+ "geosite:cn"
]
},
{
diff --git a/v2rayN/ServiceLib/Sample/dns_singbox_normal b/v2rayN/ServiceLib/Sample/dns_singbox_normal
index 7003f91f..2ec0b4ba 100644
--- a/v2rayN/ServiceLib/Sample/dns_singbox_normal
+++ b/v2rayN/ServiceLib/Sample/dns_singbox_normal
@@ -20,8 +20,7 @@
"rules": [
{
"rule_set": [
- "geosite-cn",
- "geosite-geolocation-cn"
+ "geosite-cn"
],
"server": "local"
},
diff --git a/v2rayN/ServiceLib/Sample/dns_v2ray_normal b/v2rayN/ServiceLib/Sample/dns_v2ray_normal
index c4b9ba02..add15f19 100644
--- a/v2rayN/ServiceLib/Sample/dns_v2ray_normal
+++ b/v2rayN/ServiceLib/Sample/dns_v2ray_normal
@@ -7,8 +7,7 @@
{
"address": "223.5.5.5",
"domains": [
- "geosite:cn",
- "geosite:geolocation-cn"
+ "geosite:cn"
],
"expectIPs": [
"geoip:cn"
diff --git a/v2rayN/ServiceLib/ServiceLib.csproj b/v2rayN/ServiceLib/ServiceLib.csproj
index d2cd37ef..0511465a 100644
--- a/v2rayN/ServiceLib/ServiceLib.csproj
+++ b/v2rayN/ServiceLib/ServiceLib.csproj
@@ -4,7 +4,7 @@
net8.0
enable
enable
- 7.0.8
+ 7.0.9
diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml b/v2rayN/v2rayN/Views/MainWindow.xaml
index 14ae889a..32a22926 100644
--- a/v2rayN/v2rayN/Views/MainWindow.xaml
+++ b/v2rayN/v2rayN/Views/MainWindow.xaml
@@ -14,6 +14,7 @@
Height="700"
MinWidth="900"
x:TypeArguments="vms:MainWindowViewModel"
+ ResizeMode="CanResizeWithGrip"
ShowInTaskbar="True"
Style="{StaticResource WindowGlobal}"
WindowStartupLocation="CenterScreen"