alireza0 / x-ui

xray panel supporting multi-protocol multi-user expire day & traffic (Vmess & Vless & Trojan & Shadowsocks)
https://t.me/XrayUI
GNU General Public License v3.0
3.02k stars 475 forks source link

Is Mux supported? #1193

Closed To-Azamat closed 2 months ago

To-Azamat commented 5 months ago

Judging by the Wiki: “ Mux only needs to be enabled on the client side, and the server side automatically adapts “

Having a running server I enabled Mux on Streisand and Shadowrocket. Both do not transmit traffic after that.

pulsarice commented 5 months ago

I'm using Mux with these types of connections without a problem: vless+tcp+reality vless+ws+tls vless+httpupgrade+tls

To-Azamat commented 5 months ago

I use vless+tcp+reality and can't make it work. Do I need anything specific in Inbounds setup? Also, what flow you use for clients? Mine is xtls-rprx-vision

pulsarice commented 5 months ago

I use xtls-rprx-vision too. Try v2rayNG on android and see if it can connect with Mux enabled. No specific configurations is needed on server side.

pulsarice commented 4 months ago

Hello again. I have to apologize as I have given wrong information. xtls-rprx-vision does not support MUX. I don't know how enabling it on v2rayN and v2rayNG does not affect the connection. But when I enable it on server-to-server connections, It breaks! I actually opened an issue on Xray's github and found out that Vision does not supprt MUX.

@alireza0 Is it possible to disable MUX option on the outbounds created in UI when the flow is vision?

alireza0 commented 4 months ago

@pulsarice ,

Thank you for your report. I will check and implement it soon.

alireza0 commented 2 months ago

It is now implemeted with force to disable if vision is selected for flow