2024-12-13 18:29:48 +08:00
|
|
|
|
{
|
|
|
|
|
"log": {
|
|
|
|
|
"loglevel": "warning"
|
|
|
|
|
},
|
|
|
|
|
"inbounds": [
|
|
|
|
|
{
|
|
|
|
|
"listen": "/dev/shm/xrxh.socket,0666",
|
|
|
|
|
"protocol": "vless",
|
|
|
|
|
"settings": {
|
|
|
|
|
"clients": [
|
|
|
|
|
{
|
|
|
|
|
"id": "" // 填写你的 UUID
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"decryption": "none"
|
|
|
|
|
},
|
|
|
|
|
"streamSettings": {
|
|
|
|
|
"network": "xhttp",
|
|
|
|
|
"xhttpSettings": {
|
2024-12-27 23:11:06 +08:00
|
|
|
|
"mode": "stream-one", //如在 config.jsonc 使用 downloadSettings(下行),不可用 stream-one;可用 stream-up。
|
2024-12-13 18:29:48 +08:00
|
|
|
|
"path": "" // 填写你的 path
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"outbounds": [
|
|
|
|
|
{
|
|
|
|
|
"tag": "direct",
|
|
|
|
|
"protocol": "freedom",
|
|
|
|
|
"settings": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"tag": "blocked",
|
|
|
|
|
"protocol": "blackhole",
|
|
|
|
|
"settings": {}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"routing": {
|
|
|
|
|
"domainStrategy": "AsIs",
|
|
|
|
|
"rules": [
|
|
|
|
|
{
|
|
|
|
|
"type": "field",
|
|
|
|
|
"ip": [
|
|
|
|
|
"geoip:private"
|
|
|
|
|
],
|
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|