wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.28k stars 456 forks source link

Strange ping latency with the time of start-up program #107

Open ShireCiel opened 1 year ago

ShireCiel commented 1 year ago

Weird ping. The ping latency is related to the timing of starting the program. Start-up ARGS: /tinyvpn_amd64 -s -l0.0.0.0:4096 -f3:3 -k "passwd" --sub-net 10.26.26.0 --timeout=0 Ping latency oscillating at 25ms-33ms. Exit program and restart it will get a different latency. Why? How did it happended? How to solve it? Is It have a problem on sync of time bettween two vps??(At the millisecond level)(I have already synchronized the time of two machines with ntp)

wangyu- commented 1 year ago

Exit program and restart it will get a different latency.

It's usually caused by IPS's route policy, specificly load balancing.

How to solve it?

you don't have much controll over that. But you can restart many times to get a good latency.

Is It have a problem on sync of time bettween two vps??

no, tinyfecVPN and UDPspeeder doesn't rely on any form of time sync.