From 916c11d280472a2feef65600009e6a8ef75f55a6 Mon Sep 17 00:00:00 2001 From: fancy Date: Fri, 1 May 2020 17:51:53 +0800 Subject: [PATCH] update config example --- v2ray_config/03_routing.json | 42 +++++++++++--------------- v2ray_config/06_outbounds_myproxy.json | 2 +- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/v2ray_config/03_routing.json b/v2ray_config/03_routing.json index 474b796..1d5fe2c 100644 --- a/v2ray_config/03_routing.json +++ b/v2ray_config/03_routing.json @@ -2,6 +2,20 @@ "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ + { + "domain": [ + "geosite:category-ads-all" + ], + "outboundTag": "outBound_BLACKHOLE", + "type": "field" + }, + { + "inboundTag": [ + "inbound_API" + ], + "outboundTag": "API", + "type": "field" + }, { "outboundTag": "dns-out", "port": "53", @@ -20,27 +34,6 @@ "outboundTag": "outBound_PROXY", "type": "field" }, - { - "ip": [ - "geoip:private" - ], - "outboundTag": "outBound_DIRECT", - "type": "field" - }, - { - "domain": [ - "geosite:category-ads-all" - ], - "outboundTag": "outBound_BLACKHOLE", - "type": "field" - }, - { - "ip": [ - "geoip:cn" - ], - "outboundTag": "outBound_DIRECT", - "type": "field" - }, { "domain": [ "geosite:cn" @@ -49,10 +42,11 @@ "type": "field" }, { - "inboundTag": [ - "inbound_API" + "ip": [ + "geoip:cn", + "geoip:private" ], - "outboundTag": "API", + "outboundTag": "outBound_DIRECT", "type": "field" } ] diff --git a/v2ray_config/06_outbounds_myproxy.json b/v2ray_config/06_outbounds_myproxy.json index 451cbbb..0967ef4 100644 --- a/v2ray_config/06_outbounds_myproxy.json +++ b/v2ray_config/06_outbounds_myproxy.json @@ -1 +1 @@ -{} +{}