65 lines
1.1 KiB
Markdown
65 lines
1.1 KiB
Markdown
## v2ray ws
|
|
```
|
|
{
|
|
"inbounds": [
|
|
{
|
|
"port": 9000,
|
|
"listen": "0.0.0.0",
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "2ee57806-f6e4-482a-ef08-7360c04cd3e5",
|
|
"alterId": 64
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "ws",
|
|
"security": "none",
|
|
"wsSettings": {
|
|
"path": "/",
|
|
"headers": {}
|
|
}
|
|
},
|
|
"tag": "",
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"protocol": "blackhole",
|
|
"settings": {},
|
|
"tag": "blocked"
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "blocked",
|
|
"type": "field"
|
|
},
|
|
{
|
|
"outboundTag": "blocked",
|
|
"protocol": [
|
|
"bittorrent"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
``` |