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 diff --git a/VMess-TCP/config_client.json b/VMess-TCP/config_client.json index 9eb1c41..ddfc9be 100644 --- a/VMess-TCP/config_client.json +++ b/VMess-TCP/config_client.json @@ -60,4 +60,4 @@ "tag": "direct" } ] -} +} \ No newline at end of file