Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9a096d3

Browse files
committedMar 30, 2025·
Remove ads rules from default routing rules and DNS
1 parent bf83dbd commit 9a096d3

File tree

5 files changed

+3
-36
lines changed

5 files changed

+3
-36
lines changed
 

‎v2rayN/ServiceLib/Sample/custom_routing_black

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727
"port": "443",
2828
"network": "udp"
2929
},
30-
{
31-
"remarks": "阻断广告",
32-
"outboundTag": "block",
33-
"domain": [
34-
"geosite:category-ads-all"
35-
]
36-
},
3730
{
3831
"remarks": "绕过局域网IP",
3932
"outboundTag": "direct",
@@ -153,4 +146,4 @@
153146
"port": "0-65535",
154147
"outboundTag": "direct"
155148
}
156-
]
149+
]

‎v2rayN/ServiceLib/Sample/custom_routing_global

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
"port": "443",
66
"network": "udp"
77
},
8-
{
9-
"remarks": "阻断广告",
10-
"outboundTag": "block",
11-
"domain": [
12-
"geosite:category-ads-all"
13-
]
14-
},
158
{
169
"remarks": "绕过局域网IP",
1710
"outboundTag": "direct",
@@ -31,4 +24,4 @@
3124
"port": "0-65535",
3225
"outboundTag": "proxy"
3326
}
34-
]
27+
]

‎v2rayN/ServiceLib/Sample/custom_routing_white

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
"port": "443",
1414
"network": "udp"
1515
},
16-
{
17-
"remarks": "阻断广告",
18-
"outboundTag": "block",
19-
"domain": [
20-
"geosite:category-ads-all"
21-
]
22-
},
2316
{
2417
"remarks": "绕过局域网IP",
2518
"outboundTag": "direct",
@@ -100,4 +93,4 @@
10093
"geosite:cn"
10194
]
10295
}
103-
]
96+
]

‎v2rayN/ServiceLib/Sample/dns_singbox_normal

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
"geosite-cn"
2424
],
2525
"server": "local"
26-
},
27-
{
28-
"rule_set": [
29-
"geosite-category-ads-all"
30-
],
31-
"server": "block"
3226
}
3327
],
3428
"final": "remote"

‎v2rayN/ServiceLib/Sample/tun_singbox_dns

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
"geosite-geolocation-cn"
2525
],
2626
"server": "local"
27-
},
28-
{
29-
"rule_set": [
30-
"geosite-category-ads-all"
31-
],
32-
"server": "block"
3327
}
3428
],
3529
"final": "remote"

0 commit comments

Comments
 (0)
Please sign in to comment.