在威联通NAS中安装V2RayA和V2Ray
有效配置文件
{
"inbounds": [
{
"port": 10809,
"listen": "0.0.0.0",
"protocol": "http",
"settings": {
"auth": "noauth",
"udp": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "trojan",
"settings": {
"servers": [
{
"address": "vpts.top",
"port": 443,
"password": "A4UWWlPpc"
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "vpimplants.top",
"alpn": ["http/1.1"]
},
"wsSettings": {
"path": "/",
"headers": {
"Host": "vpsmplants.top"
}
}
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn",
"192.168.2.0/24",
"127.0.0.1"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:private",
"geosite:cn",
"localhost"
],
"outboundTag": "direct"
}
]
}
}