Xray-core
Xray-core copied to clipboard
有用户名密码的HTTP代理在代理转发中不能连通
最后一个可以用的版本是 1.1.4 后面的更新就有这个问题了。v2ray也有同样的问题。 配置如下
{ "inbounds": [
{
"tag": "in1080",
"port": 1080,
"listen": "192.168.2.66",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "blackhole"
},
{
"tag": "bypass",
"protocol": "shadowsocks",
"settings": {
"servers": [{
"address": "xxx.bypass.com",
"port": 8888,
"password": "27735320-3ff1-49dc-b10c-8619e7c268b0",
"method": "aes-256-gcm"
}]
}
},
{
"tag": "out1080",
"protocol": "http",
"settings": {
"servers": [{
"address": "108.108.108.108",
"port": 9999,
"users": [{
"user": "user",
"pass": "1234"
}]
}]
},
"proxySettings": {
"tag": "bypass"
}
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": ["in1080"],
"outboundTag": "out1080"
}
]
}
}
试试
{
"inbounds": [
{
"port": 1080,
"listen": "192.168.2.66",
"protocol": "http",
"tag": "in1080"
}
],
"outbounds": [
{
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "xxx.bypass.com",
"port": 8888,
"password": "27735320-3ff1-49dc-b10c-8619e7c268b0",
"method": "aes-256-gcm"
}
]
},
"tag": "bypass"
},
{
"protocol": "http",
"settings": {
"servers": [
{
"address": "108.108.108.108",
"port": 9999,
"users": [
{
"user": "user",
"pass": "1234"
}
]
}
]
},
"proxySettings": {
"tag": "bypass",
"transportLayer": true
},
"tag": "out1080"
},
{
"protocol": "blackhole"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"in1080"
],
"outboundTag": "out1080"
}
]
}
}
咋样 有同学解决了吗?