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

Slow Internet Speed if Wireguard VPN is enabled #344

Open
aherped opened this issue Feb 12, 2023 · 4 comments
Open

Slow Internet Speed if Wireguard VPN is enabled #344

aherped opened this issue Feb 12, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@aherped
Copy link

aherped commented Feb 12, 2023

Router Model Affected
Models: RT-AX92U

Firmware Version Affected
388.1_0-gnuton1

Is this bug present in upstream Merlin releases too?
Don't really know, I think yes.

Describe the bug
When I activate Wireguard VPN, even if no client is connected, my internet speed inside my network drops from 940mbps to 450mbps with speedtest. If I disable Wireguard VPN I get 940mbps again with no problem.

I read about an optimization of Wireguard in newer versions of firmware but on other models.

https://www.snbforums.com/threads/why-does-wireguard-slow-down-the-entire-wan-lan-speed.81636/page-2#post-811997

It seems not to be a HW problem or limitation as they said that: "Thanks for all replies! With the new official 3.0.0.4.388.22068 firmware the problem seems gone! I get full 1 Gbps from clients outside the VPN and 400-500 Mbps from clients inside. So in the end it didn't seem hardware related."

Thank you

@aherped aherped added the bug Something isn't working label Feb 12, 2023
@lhayati
Copy link

lhayati commented Feb 14, 2023

I was about to post a throttle bug on my XT8 (RT-AX95Q). My speed upgrading to 388.1_0-gnuton1 dropped from 940mbps to about 300mbps. I read your post, turned off the wireguard server and immediately it bumped back up to 940mbps! Temporary solution I'll setup a wireguard server on a raspberry pi behind the router.

@starstar8
Copy link

after upgrade to 388.1_0-gnuton1, I got same issue on my Ausus Router TUF-AX3000, speed dropped to about 300mbps if wireguard server is running, when wireguard server turned off, the speed resume back to normal 900mbps.

@gesa
Copy link

gesa commented Mar 22, 2023

This is because NAT acceleration gets disabled when Wireguard is in use. Something about a proprietary broadcom implementation of flow cache not being compatible with wireguard. You can confirm by checking out Tools > Network > HW acceleration. Speeds are limited to approx 350mbps without hw acceleration.

The good news is that 388.2 will use a new feature implemented by Broadcom/Asus which will allow non-WG traffic to still benefit from NAT acceleration, the bad news is it’s unclear when that’s released.

@mdburkey
Copy link

Looks like 388.2 Merlin mainline is out...hoping for a gnuton fork update for the XT8!

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

5 participants