Merge pull request #6 from xuebaxi/ss-relay

Create ShadowSocks-Relay/config_client.json
This commit is contained in:
EpLiar 2020-08-01 22:20:04 +08:00 committed by GitHub
commit 6e8d6d992c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}
]
}
}