0

I live in Florida now and have a VPS setup in Hong Kong with wireguard VPN setup. The vps has a 100mbit connection as I did a speed test via ssh and I get about 80-99mbps. What is going wrong here?

enter image description here

But when I'm on wireguard accessing it from florida, I get at most 15mbps that I have ever seen. Sometimes I get only 1mbps which comes pretty often.

enter image description here

I'm not sure how can I go about diagnosing this problem as it happens randomly. Is there some type of tool to make this connection more stable? I think due to the long distance I'll never hit close to 90mbps.

Below is my wireguard server conf file:

enter image description here

And this is my wireguard client conf file:

enter image description here


iperf test results

I tested the server / client using iperf and the results are below. It shows only a 2.3mbit from my server to client connection. But the speedtest-cli shows a result of 99mbit. I'm not sure what to do...

enter image description here

2
  • Can you run IPerf across the FL-HK WireGuard link to measure what that link is capable of by itself? It would help to know the speed in both directions, along with the RTT and the packet error/loss rate.
    – Spiff
    Commented Oct 9, 2019 at 23:28
  • I just did a iperf test. It shows only a 2.3mbit connection, but my speedtest-cli shows 99mbit. So I'm not sure how to fix this? Sometimes I get 15mbit, so I'm not sure what's happening. Commented Oct 11, 2019 at 22:40

1 Answer 1

0

Increasing the network buffers significantly reduced the lag. It's still there, but its alot better.

http://www.cyberciti.biz/faq/linux-tcp-tuning

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .