I bought VPS and configured wg-easy, but speed for download is too slow, while speed for uploading is not so bad. Why this might be happening?
My WG traffic looked like a DOS attack to OVH and I got blackholed for 5min, then 15, then 30.
My guess is your provider is rate limiting your UDP traffic.
it looks like provider is not rate limiting:
Is your test TCP or UDP? My guess is that’s TCP traffic.
Your VPS provider can rate limit as specific as a single UDP port. Try a different WG UDP port or wrap your WG traffic in TCP with other software and try again.
I’ll ask provider
Have you tried running librespeed on the vps? Librespeed is good if you have a provider nearby. If not it is very inaccurate
Having never used this software before, my guess would be your VPS provider is limiting the upload speed of the VPS. The data would be uploaded slowly to you, which means your download speed is limited as the client.
Meanwhile the upload speed is reported as being high enough, since the VPS can download your data at 50mbit/s, as this cap is higher.
But when I tested speed on VPS, using speedtest-cli I got this:
That is likely a speed test server within the same data center as your vps, or they have special traffic shaping rules for it.
Try using iperf from your local box to the VPS and see what speeds you get
Where is your VPS located, and which Wire Guard server are you connecting to?
You could try headscale instead, which doesn’t actually pass much traffic between the VPS and clients (client to client is where the actual data transfer happens).
Or just test out regular hosted Tailscale to see if it will fit your needs.