From 97fbd3a31e4e5fe703ee0a52d818e77ad42c5927 Mon Sep 17 00:00:00 2001 From: xuebaxi <51272471+xuebaxi@users.noreply.github.com> Date: Sat, 1 Aug 2020 19:26:39 +0800 Subject: [PATCH 1/2] Update VMess-TCP/config_client.json --- VMess-TCP/config_client.json | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/VMess-TCP/config_client.json b/VMess-TCP/config_client.json index 31195e2..3d0bd70 100644 --- a/VMess-TCP/config_client.json +++ b/VMess-TCP/config_client.json @@ -15,7 +15,7 @@ } ] }, - "inbounds": [ + "outbounds": [ { "port": 1234, "protocol": "vmess", @@ -28,18 +28,29 @@ } ] }, - "tag": "tcp", + "tag": "proxy", "streamSettings": { "network": "tcp" } - } - ], - "outbounds": [ + }, { + "tag": "direct", "protocol": "freedom", "settings": { - }, - "tag": "direct" + "domainStrategy": "UseIP" + } + } + ], + "inbounds": [ + { + "port": 6789, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": { + "auth": "noauth", + "udp": false, + "ip": "127.0.0.1" + } } ] -} +} \ No newline at end of file From fd7e82dbb802a26dc8e6ed412f2d263d254d443d Mon Sep 17 00:00:00 2001 From: xuebaxi <51272471+xuebaxi@users.noreply.github.com> Date: Sat, 1 Aug 2020 19:53:31 +0800 Subject: [PATCH 2/2] Create ShadowSocks-Relay/config_client.json --- ShadowSocks-Relay/config_client.json | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 ShadowSocks-Relay/config_client.json diff --git a/ShadowSocks-Relay/config_client.json b/ShadowSocks-Relay/config_client.json new file mode 100644 index 0000000..87d9ffc --- /dev/null +++ b/ShadowSocks-Relay/config_client.json @@ -0,0 +1,88 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 1080, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": {} + } + ], + "outbounds": [ + { + "tag": "proxy", + "protocol": "shadowsocks", + "settings": { + "servers": [ + { + "address": "", + "port": 0, + "method": "", + "password": "" + } + ] + }, + "streamSettings": {}, + "mux": { + "enabled": false + }, + "proxySettings": { + "tag": "out" + } + }, + { + "tag": "out", + "protocol": "shadowsocks", + "settings": { + "servers": [ + { + "address": "", + "port": 0, + "method": "", + "password": "" + } + ] + }, + "mux": { + "enabled": false + } + }, + { + "tag": "direct", + "protocol": "freedom", + "settings": { + "domainStrategy": "UseIP" + } + }, + { + "tag": "block", + "protocol": "blackhole", + "settings": { + "response": { + "type": "http" + } + } + } + ], + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "domain": [ + "geosite:category-ads-all" + ], + "outboundTag": "block" + }, + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "direct" + } + ] + } +} \ No newline at end of file