客户端配置
老姨子的配置,可以在官网找到
{
"policy": null,
"log": {
"access": "/var/log/v2ray/Vaccess.log",
"error": "/var/log/v2ray/Verror.log",
"loglevel": "error"
},
"inbounds": [
{
"tag": "SocksProxy",
"port": 1080,
"listen": "0.0.0.0",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
},
"settings": {
"auth": "noauth",
"udp": true,
"ip": null,
"address": null,
"clients": null
},
"streamSettings": null
},
{
"tag": "dokodemo_door_netflix",
"protocol": "dokodemo-door",
"port": 8082,
"listen": "127.0.0.1",
"settings": {
"address": "free-sg-01.unblocknetflix.cf", //老姨子address
"port": 443,
"network": "tcp,udp"
}
}
],
"outbounds": [
{
"tag": "NetflixProxy", // 这段是老姨子的配置,注意其中address和port指向dokodemo_door_netflix的地址和端口
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "127.0.0.1",
"port": 8082,
"users": [
{
"id": "402d7490-6d4b-42d4-80ed-e681b0e6f1f9",
"alterId": 0,
"security": "auto"
}
]
}
],
"servers": null,
"response": null
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"allowInsecure": false,
"serverName": "free-sg-01.unblocknetflix.cf"
},
"tcpSettings": null,
"kcpSettings": null,
"wsSettings": {
"connectionReuse": true,
"path": "/ws",
"headers": {
"Host": "free-sg-01.unblocknetflix.cf"
}
},
"httpSettings": null,
"quicSettings": null
},
"mux": {
"enabled": true,
"concurrency": 8
}
},
{
"tag": "PersonalProxy"
// 这是粘贴你的个人代理或机场配置,可以是任意协议比如vmess、socks or http
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"dokodemo_door_netflix"
],
"outboundTag": "PersonalProxy" // NetflixProxy -> dokodemo_door_netflix -> PersonalProxy
},
{
"type": "field",
"domain": [
"geosite:netflix",
"geosite:disney"
],
"outboundTag": "NetflixProxy" // 流媒体走Netflix代理
},
{
"type": "field",
"inboundTag": [
"SocksProxy"
],
"outboundTag": "PersonalProxy" // 其他流量走PersonalProxy
}
]
}
}