From d5ea832b4ff4a2a30eb0e4da5470378652e12dc3 Mon Sep 17 00:00:00 2001 From: fancy Date: Sun, 3 May 2020 15:05:56 +0800 Subject: [PATCH] change timeout, and dns no need to proxy --- v2ray_config/03_routing.json | 7 +++++++ v2ray_config/05_inbounds_tproxy_ipv4lo.json | 2 +- v2ray_config/05_inbounds_tproxy_ipv6lo.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/v2ray_config/03_routing.json b/v2ray_config/03_routing.json index 1d5fe2c..268af0a 100644 --- a/v2ray_config/03_routing.json +++ b/v2ray_config/03_routing.json @@ -21,6 +21,13 @@ "port": "53", "type": "field" }, + { + "inboundTag": [ + "dns_inbound" + ], + "outboundTag": "outBound_DIRECT", + "type": "field" + }, { "domain": [ "geosite:google", diff --git a/v2ray_config/05_inbounds_tproxy_ipv4lo.json b/v2ray_config/05_inbounds_tproxy_ipv4lo.json index 318d38a..6e07385 100644 --- a/v2ray_config/05_inbounds_tproxy_ipv4lo.json +++ b/v2ray_config/05_inbounds_tproxy_ipv4lo.json @@ -9,7 +9,7 @@ "followRedirect": true, "network": "tcp,udp", "port": 0, - "timeout": 0, + "timeout": 300, "userLevel": 0 }, "sniffing": { diff --git a/v2ray_config/05_inbounds_tproxy_ipv6lo.json b/v2ray_config/05_inbounds_tproxy_ipv6lo.json index 5edcdf6..ba52574 100644 --- a/v2ray_config/05_inbounds_tproxy_ipv6lo.json +++ b/v2ray_config/05_inbounds_tproxy_ipv6lo.json @@ -9,7 +9,7 @@ "followRedirect": true, "network": "tcp,udp", "port": 0, - "timeout": 0, + "timeout": 300, "userLevel": 0 }, "sniffing": {