Repository navigation
Restore "legacy reverse" - #6082
patterniha wants to merge 1 commit into
Conversation
One of the advantages of legacy-reverse-code was that you could connect to an portal-inbound from two different bridge-servers, then users could choose which one to connect (after vless-route) or use them for load-balance. this is because you could define different domain-name for each bridge, and corresponding portal-domain-name at portal-side. but now we have only one outbound-reverse-tag at portal-side, and you can't do these. /// i also remember that i used N bridge in one config (because it is list you can define as many as you want, and each one operates independently) and then used non-mux-transport for bridge-to-portal outbound, and then I connected each of my N users to one of the N bridges in portal side (or two-to-one if the number of users is greater), so each user used distinct TCP-connection and they did not affect each other. /// but vless-reverse is very limited (one-bridge, one-tag) and you can't use vless-route, load-balance, distinc-users-connections, ...
公网端的 VLESS 入站写两个 UUID 不就能写两个 outbound-tag 了? 其它 UUID 的 vless-route、load-balance 就能用了 distinct-users-connections 也是同理,内网端多写几个 VLESS 出站不就有 operates independently 的 connections 了吗 内网端 VLESS 出站的 reverse as inbound 的 tag 是可以重复的,
不过说起 distinct-users-connections 这个需求,倒也可以直接实现一下,而无需内网端多写几个 VLESS 出站 Legacy reverse 配置太复杂且已经比 VLESS Reverse Proxy 差太多了,后者有传递公网端 source IP、port 到内网端,以及内网端 sniffing,后者还有默认安全策略,比如公网端会阻止同一个 UUID 被同时用于正向代理,以及内网端需手动放行 IP 范围 |
yes, "reverse" is inside clients-config, I didn't pay attention to this and I saw the vless-outbound-config :) |
|
@patterniha 你有空针对 #6055 (comment) 开个 PR 吗,先 alias 就行,但比如 VLESS 配置解析的报错用词那些也要改一下 |
|
这种小地方也加alias啊。。。 |
|
@Fangliding |
|
在客户端配置server 对称过去不就是在服务端配置client 我觉得没啥问题的 主要是这么改没收益 像是 reality target 改了这么久了 除了造成交流和文档问题也没啥进展 这里改成users最多就是代码里多了几坨alias(几个入站) 然后文档改名 有人照新版写然后旧版爆炸 写脚本的写面板的为了兼容老版本也不会去用users |
|
那是你知道
|
|
文档也改好了 |
|
|
敲错了而已 在服务端配置client |
|
事实就是很迷,你看 #6083 的改动的话会发现代码里基本上本来就叫 |
|
|
|
这种事情还不多吗 像是kcp里window和buferr分不清 这种已经是错误了 user和client只是命名成这样了而已 说白了我只是希望这种问题不算大的东西少点爆炸 毕竟reality password和target的事摆在那 |
|
socks http 那边怎么说啊,pb 我试着改了一下,影响的东西太多了 |
One of the advantages of legacy-reverse-code was that you could connect to an portal-inbound from two different bridge-servers, then users could choose which one to connect (after vless-route) or use them for load-balance.
this is because you could define different domain-name for each bridge, and corresponding portal-domain-name at portal-side.
but now we have only one outbound-reverse-tag at portal-side, and you can't do these.
///
i also remember that i used N bridge in one config (because it is list you can define as many as you want, and each one operates independently) and then used non-mux-transport for bridge-to-portal outbound, and then I connected each of my N users to one of the N bridges in portal side (or two-to-one if the number of users is greater), so each user used distinct TCP-connection and they did not affect each other.
///
but vless-reverse is very limited (one-bridge, one-tag) and you can't use vless-route, load-balance, distinc-users-connections, ...