You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
proxysettings已经好久没法使用了,好像是vision出来后,后面的协议都无法使用了。
我是在"outbounds",设置了http的代理:
{
"protocol": "http",
"settings": {
"servers": [
{
"address": "proxy.test.com",
"port": 80,
"users": [
{
"user": "abcd",
"pass": "1234"
}
]
}
]
},
"tag": "HTTP"
}
然后通过在另外一个协议(如xhttp+h2+tls)出口中设置:
“proxysettings”:{
"tag":"HTTP"
}
加上"transportLayer": true也不行。
这种设置,发现是链接不通的。
后来搜了一下,改为使用"streamSettings": {"sockopt": {"dialerProxy": "HTTP"}}的方式。也是不通的。
还是不得不采用套娃的方式。
就是将协议(如xhttp+h2+tls)的地址改为127.0.0.1,端口1234,将流量发回到"inbounds"的"protocol": "dokodemo-door"的1234端口,并修改目的ip为正确的服务器IP地址和端口。然后在"routing"中将该流量指向"outboundTag": "HTTP"。
为何直接“proxysettings”出去不行。是缺少什么东西吗?能否在“proxysettings”添加这些信息什么的?有没有高手指导一下,为何不通?
Beta Was this translation helpful? Give feedback.
All reactions