"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port":XXXX,
"listen": "127.0.0.1",
"tag": "VLESS-in",
"protocol": "VLESS",
"settings": {
"clients": [
{
"id":"XXXXXXX",
"alterId": 0
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path":"/XXXX"
}
}
}
],
"outbounds": [
{
"protocol": "blackhole",
"settings": { },
"tag": "blocked"
},
{
"tag": "chatgpt_proxy",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "XXXX",
"port": XXXX,
"user": "XXX",
"pass": "XXX",
"level": 0
}
]
}
},
{
"protocol": "blackhole",
"settings": { },
"tag": "blocked"
}
],
"dns": {
"servers": [
"https+local://1.1.1.1/dns-query",
"1.1.1.1",
"1.0.0.1",
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"inboundTag": [
"VLESS-in"
],
"outboundTag": "chatgpt_proxy",
"domain": [
"openai.com",
"ip138.com"
],
"enabled": true
}
]
}
}[/ol]复制代码
VPS1: HK 速度快,不能解锁GPT
VPS2:甲骨文SG 已能解锁GPT
现在打算VPS1(HK)中转 VPS2(SG),但是v2ray配置文件 好像有点问题,如上。用上面配置,直接VPS1的V2都失效