Posted: Sun Oct 17, 2021 9:07 Post subject: WireGuard speed
I have linksys wrt32x and have newest firmware then making it as wireguard server . Speed when client connect only 90mb and no more than that. Compare with openvpn server on the same router . On openvpn client it can go up to 120 mb so it is very strange why my router wireguard is slower than openvpn?
What is max speed when you connect your router wireguard as client and what is speed upload when wireguard act as server ?
Joined: 18 Mar 2014 Posts: 9035 Location: Netherlands
Posted: Sun Oct 17, 2021 14:09 Post subject:
You use the latest build, unfortunately latest can mean a lot, for me it is 47528
WireGuard is typically 3 times as fast as OpenVPN (2-4)
My R6400v2 35 Mb/s OpenVPN, WG: 100 Mb/s, my R7800 OpenVPN: 85 Mb/s, WG: 280 Mb/s
Your router should be able to do a little more, so I would expect above 300 Mb/s
But how did you measure the speed?
Maybe your VPN provider is capping the WG speed?
Maybe you connected to a server which was very busy?
A good way to measure performance is internally using a powerful machine (like your desktop) on the WAN side and another client connected on the LAN side and run iperf between those.
One setting, I can think of, which can influence WG is MTU (see the troubleshooting section).
Very early builds had a somewhat high MTU, max MTU is 1440 if you have IPv4 only (substract 8 for PPPoE) and 1420 if you also have IPv6.
Some providers which offer IPv4 and IPv6 simultaneously have an MTU of 1420 also for IPv4