From 9a096d31fcf9443a2207ab2b047ddb7379c09c3a Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 30 Mar 2025 11:07:59 +0800 Subject: [PATCH] Remove ads rules from default routing rules and DNS --- v2rayN/ServiceLib/Sample/custom_routing_black | 9 +-------- v2rayN/ServiceLib/Sample/custom_routing_global | 9 +-------- v2rayN/ServiceLib/Sample/custom_routing_white | 9 +-------- v2rayN/ServiceLib/Sample/dns_singbox_normal | 6 ------ v2rayN/ServiceLib/Sample/tun_singbox_dns | 6 ------ 5 files changed, 3 insertions(+), 36 deletions(-) diff --git a/v2rayN/ServiceLib/Sample/custom_routing_black b/v2rayN/ServiceLib/Sample/custom_routing_black index 971058a8..ff2aa075 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_black +++ b/v2rayN/ServiceLib/Sample/custom_routing_black @@ -27,13 +27,6 @@ "port": "443", "network": "udp" }, - { - "remarks": "阻断广告", - "outboundTag": "block", - "domain": [ - "geosite:category-ads-all" - ] - }, { "remarks": "绕过局域网IP", "outboundTag": "direct", @@ -153,4 +146,4 @@ "port": "0-65535", "outboundTag": "direct" } -] \ No newline at end of file +] diff --git a/v2rayN/ServiceLib/Sample/custom_routing_global b/v2rayN/ServiceLib/Sample/custom_routing_global index 896ff5b9..ef19e144 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_global +++ b/v2rayN/ServiceLib/Sample/custom_routing_global @@ -5,13 +5,6 @@ "port": "443", "network": "udp" }, - { - "remarks": "阻断广告", - "outboundTag": "block", - "domain": [ - "geosite:category-ads-all" - ] - }, { "remarks": "绕过局域网IP", "outboundTag": "direct", @@ -31,4 +24,4 @@ "port": "0-65535", "outboundTag": "proxy" } -] \ No newline at end of file +] diff --git a/v2rayN/ServiceLib/Sample/custom_routing_white b/v2rayN/ServiceLib/Sample/custom_routing_white index 21453848..10dae092 100644 --- a/v2rayN/ServiceLib/Sample/custom_routing_white +++ b/v2rayN/ServiceLib/Sample/custom_routing_white @@ -13,13 +13,6 @@ "port": "443", "network": "udp" }, - { - "remarks": "阻断广告", - "outboundTag": "block", - "domain": [ - "geosite:category-ads-all" - ] - }, { "remarks": "绕过局域网IP", "outboundTag": "direct", @@ -100,4 +93,4 @@ "geosite:cn" ] } -] \ No newline at end of file +] diff --git a/v2rayN/ServiceLib/Sample/dns_singbox_normal b/v2rayN/ServiceLib/Sample/dns_singbox_normal index 605b7d59..0921fe64 100644 --- a/v2rayN/ServiceLib/Sample/dns_singbox_normal +++ b/v2rayN/ServiceLib/Sample/dns_singbox_normal @@ -23,12 +23,6 @@ "geosite-cn" ], "server": "local" - }, - { - "rule_set": [ - "geosite-category-ads-all" - ], - "server": "block" } ], "final": "remote" diff --git a/v2rayN/ServiceLib/Sample/tun_singbox_dns b/v2rayN/ServiceLib/Sample/tun_singbox_dns index bc5b8c8e..d8ca9808 100644 --- a/v2rayN/ServiceLib/Sample/tun_singbox_dns +++ b/v2rayN/ServiceLib/Sample/tun_singbox_dns @@ -24,12 +24,6 @@ "geosite-geolocation-cn" ], "server": "local" - }, - { - "rule_set": [ - "geosite-category-ads-all" - ], - "server": "block" } ], "final": "remote"