2022-08-29 15:17:11 +00:00
|
|
|
{
|
|
|
|
"log": {
|
|
|
|
"loglevel": "warning"
|
|
|
|
},
|
|
|
|
"inbounds": [
|
|
|
|
{
|
2023-01-23 11:56:29 +00:00
|
|
|
"listen": "127.0.0.1",
|
|
|
|
"port": 1234 ,
|
2022-08-29 15:17:11 +00:00
|
|
|
"protocol": "vless",
|
|
|
|
"settings": {
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"id": "" // 填写你的 UUID
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decryption": "none"
|
|
|
|
},
|
|
|
|
"streamSettings": {
|
2024-10-25 18:54:54 +00:00
|
|
|
"network": "ws"
|
2022-11-21 00:04:36 +00:00
|
|
|
},
|
|
|
|
"sniffing": {
|
|
|
|
"enabled": true,
|
|
|
|
"destOverride": [
|
|
|
|
"http",
|
|
|
|
"tls"
|
|
|
|
]
|
|
|
|
}
|
2022-08-29 15:17:11 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"outbounds": [
|
|
|
|
{
|
|
|
|
"tag": "direct",
|
|
|
|
"protocol": "freedom",
|
|
|
|
"settings": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"tag": "blocked",
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"settings": {}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"routing": {
|
2022-11-21 00:04:36 +00:00
|
|
|
"domainStrategy": "IPIfNonMatch",
|
2022-08-29 15:17:11 +00:00
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"ip": [
|
2022-11-21 00:04:36 +00:00
|
|
|
"geoip:cn",
|
2022-08-29 15:17:11 +00:00
|
|
|
"geoip:private"
|
|
|
|
],
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|