Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ BUG ] Wireguard Chain speed problem #2850

Open
X-Oracle opened this issue Dec 24, 2023 · 8 comments
Open

[ BUG ] Wireguard Chain speed problem #2850

X-Oracle opened this issue Dec 24, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@X-Oracle
Copy link
Contributor

unlike sing-box, speed is very slow when chaing wireguard-outbound (using dialerProxy) to another outboundin xray-core, unlike sing-box (using detour).

@AlexeySa
Copy link

AlexeySa commented Jan 4, 2024

I have the same problem. Wireguard over Vmes works very slowly (dialerProxy or proxySettings tag).
Xray Wireguard client - 16 Mbit/s
Xray Vmes client - 30 Mbit/s
Xray Wireguard via Vmes - 50 Kbit/s and lag.
Sing-box Wireguard via Vmes (detour) - 25 Mbit/s

OS Windows 10 x64
Xray-core v1.8.6

@yuhan6665 yuhan6665 added the bug Something isn't working label Jan 17, 2024
@XRaySup
Copy link

XRaySup commented Apr 6, 2024

unlike sing-box, speed is very slow when chaing wireguard-outbound (using dialerProxy) to another outboundin xray-core, unlike sing-box (using detour).

how did you chain wireguard to other outbound ? how do you specify the dialerProxy?

@chise0713
Copy link
Contributor

unlike sing-box, speed is very slow when chaing wireguard-outbound (using dialerProxy) to another outboundin xray-core, unlike sing-box (using detour).

how did you chain wireguard to other outbound ? how do you specify the dialerProxy?

https://xtls.github.io/config/transport.html#sockoptobject

@uuonda
Copy link

uuonda commented May 16, 2024

@chise0713 That would be streamSettings -> sockopt ->dialerProxy. When I open official docs it says

Currently, the Wireguard protocol outbound does not support setting streamSettings

Is this simply outdated?

@X-Oracle
Copy link
Contributor Author

X-Oracle commented May 16, 2024

@chise0713 That would be streamSettings -> sockopt ->dialerProxy. When I open official docs it says

Currently, the Wireguard protocol outbound does not support setting streamSettings

Is this simply outdated?

I don't know.
I stopped using it When I saw poor performance.

I just opened this issue to tell devs that sing-box is doing chains with better performance.

The doc statement is probably for when we use kernel wireguard.

@uuonda
Copy link

uuonda commented May 16, 2024

@X-Oracle did you move completely to sing-box or switch just the client?

@X-Oracle
Copy link
Contributor Author

@X-Oracle did you move completely to sing-box or switch just the client?

I use sing-box for Wireguard but only when chaining it.

I use both of them wherever suited, but I prefer Xray as I'm more experienced in it.
I don't like the idea of using Xray server and sing-box client but in this case, I don't have much choice.

@CyrusTheV
Copy link

dialerProxy

Dear X-oracle
could you please share you sing-box config, I want to know how to use DETOUR to chain proxies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants