From b61e9102e27fd3a1f69faa13ab8311c4b7df2b9a Mon Sep 17 00:00:00 2001 From: AliBelali <121201502+AliBelali@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:28:59 +0330 Subject: [PATCH 1/2] Update default.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In scenarios where using domainStrategy: "AsIs", the geoip database is sometimes ignored, and only the geosite database is checked. To ensure that both geosite and geoip databases are considered, it’s recommended to use domainStrategy: "IPIfNonMatch". --- sub/default.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sub/default.json b/sub/default.json index d98a03ef..840bf93e 100644 --- a/sub/default.json +++ b/sub/default.json @@ -74,7 +74,7 @@ } }, "routing": { - "domainStrategy": "AsIs", + "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", @@ -84,4 +84,4 @@ ] }, "stats": {} -} \ No newline at end of file +} From f499b5d88926bc42eb2a1aa84e73532238f1e2d0 Mon Sep 17 00:00:00 2001 From: AliBelali <121201502+AliBelali@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:41:16 +0330 Subject: [PATCH 2/2] Update default.json surprisingly I discoverd when sniffing is enabled at client side, multi routing does not work properly (just sometimes) but after disabling sniffing at client side, multirouting works perfectly fine. --- sub/default.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/default.json b/sub/default.json index 840bf93e..7278803a 100644 --- a/sub/default.json +++ b/sub/default.json @@ -25,7 +25,7 @@ "tls", "fakedns" ], - "enabled": true + "enabled": false }, "tag": "socks" },