You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.4 KiB
61 lines
1.4 KiB
{ |
|
"log": { |
|
"loglevel": "warning" |
|
}, |
|
"routing": { |
|
"domainStrategy": "AsIs", |
|
"rules": [ |
|
{ |
|
"type": "field", |
|
"ip": [ |
|
"geoip:private" |
|
], |
|
"outboundTag": "direct" |
|
} |
|
] |
|
}, |
|
"inbounds": [ |
|
{ |
|
"listen": "127.0.0.1", |
|
"port": "1080", |
|
"protocol": "socks", |
|
"settings": { |
|
"auth": "noauth", |
|
"udp": true, |
|
"ip": "127.0.0.1" |
|
} |
|
}, |
|
{ |
|
"listen": "127.0.0.1", |
|
"port": "1081", |
|
"protocol": "http" |
|
} |
|
], |
|
"outbounds": [ |
|
{ |
|
"protocol": "shadowsocks", |
|
"settings": { |
|
"servers": [ |
|
{ |
|
"address": "{{ host }}", |
|
"port": 443, |
|
"method": "chacha20-ietf-poly1305", |
|
"password": "{{ password }}" |
|
} |
|
] |
|
}, |
|
"streamSettings": { |
|
"network": "grpc", |
|
"security": "tls", |
|
"grpcSettings": { |
|
"serviceName": "michi" |
|
} |
|
}, |
|
"tag": "proxy" |
|
}, |
|
{ |
|
"protocol": "freedom", |
|
"tag": "direct" |
|
} |
|
] |
|
} |