2022-11-03 01:17:10 +00:00
|
|
|
{
|
|
|
|
"log": {
|
|
|
|
"loglevel": "warning"
|
|
|
|
},
|
|
|
|
"routing": {
|
|
|
|
"domainStrategy": "IPIfNonMatch",
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"domain": [
|
|
|
|
"geosite:cn",
|
|
|
|
"geosite:private"
|
|
|
|
],
|
|
|
|
"outboundTag": "direct"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"ip": [
|
|
|
|
"geoip:cn",
|
|
|
|
"geoip:private"
|
|
|
|
],
|
|
|
|
"outboundTag": "direct"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"inbounds": [
|
|
|
|
{
|
|
|
|
"listen": "127.0.0.1",
|
|
|
|
"port": 10808,
|
|
|
|
"protocol": "socks",
|
|
|
|
"settings": {
|
|
|
|
"udp": true
|
|
|
|
},
|
|
|
|
"sniffing": {
|
|
|
|
"enabled": true,
|
|
|
|
"destOverride": [
|
|
|
|
"http",
|
|
|
|
"tls"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"listen": "127.0.0.1",
|
|
|
|
"port": 10809,
|
|
|
|
"protocol": "http",
|
|
|
|
"sniffing": {
|
|
|
|
"enabled": true,
|
|
|
|
"destOverride": [
|
|
|
|
"http",
|
|
|
|
"tls"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"protocol": "vless",
|
|
|
|
"settings": {
|
|
|
|
"vnext": [
|
|
|
|
{
|
|
|
|
"address": "", // VPS的IP
|
|
|
|
"port": 16387, // 端口
|
|
|
|
"users": [
|
|
|
|
{
|
|
|
|
"id": "", // 用户ID
|
|
|
|
"encryption": "none",
|
|
|
|
"flow": "xtls-rprx-vision"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "tcp",
|
|
|
|
"security": "tls",
|
|
|
|
"tlsSettings": {
|
|
|
|
"serverName": "", // 证书中包含的域名
|
2022-11-08 03:37:15 +00:00
|
|
|
"allowInsecure": false,
|
|
|
|
"fingerprint": "chrome" // 通过 uTLS 库 模拟 Chrome / Firefox / Safari 或随机生成的指纹
|
2022-11-03 01:17:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tag": "proxy"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protocol": "freedom",
|
|
|
|
"tag": "direct"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|