2017-11-25 19:43:00 +08:00
|
|
|
{
|
2020-08-01 21:36:53 +08:00
|
|
|
"log": {
|
|
|
|
"loglevel": "warning"
|
2017-11-28 23:11:54 +08:00
|
|
|
},
|
2020-08-01 21:36:53 +08:00
|
|
|
"routing": {
|
|
|
|
"domainStratedy": "AsIs",
|
|
|
|
"rules": [
|
2018-04-16 17:07:21 +08:00
|
|
|
{
|
2020-08-01 21:36:53 +08:00
|
|
|
"type": "field",
|
|
|
|
"ip": [
|
|
|
|
"geoip:private"
|
|
|
|
],
|
|
|
|
"tag": "direct"
|
2018-04-16 17:07:21 +08:00
|
|
|
}
|
2020-08-01 21:36:53 +08:00
|
|
|
]
|
2017-11-28 23:11:54 +08:00
|
|
|
},
|
2020-08-01 21:36:53 +08:00
|
|
|
"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"
|
2017-11-28 23:11:54 +08:00
|
|
|
}
|
2020-08-01 21:36:53 +08:00
|
|
|
],
|
|
|
|
"outbounds": [
|
2018-04-16 17:07:21 +08:00
|
|
|
{
|
2020-08-01 21:36:53 +08:00
|
|
|
"protocol": "vmess",
|
|
|
|
"settings": {
|
|
|
|
"vnext": [
|
|
|
|
{
|
|
|
|
"address": "",
|
|
|
|
"port": 1234,
|
|
|
|
"user": [
|
|
|
|
{
|
|
|
|
"id": "",
|
|
|
|
"alterId": 4,
|
|
|
|
"security": "auto",
|
|
|
|
"testEnabled": "VMessAEAD"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "ws",
|
|
|
|
"wsSettings": {
|
|
|
|
"path": "",
|
|
|
|
"headers": {
|
|
|
|
"Host": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tag": "proxy"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protocol": "freedom",
|
|
|
|
"tag": "direct"
|
2018-04-16 17:07:21 +08:00
|
|
|
}
|
2017-11-28 23:11:54 +08:00
|
|
|
]
|
2020-08-01 21:36:53 +08:00
|
|
|
}
|