jedisct1 / dsvpn

A Dead Simple VPN.
MIT License
5.16k stars 393 forks source link

Accepting a new client failed (Clock difference is too large) #92

Closed fqqf closed 2 years ago

fqqf commented 2 years ago

image

fqqf commented 2 years ago

Nvm, builded it without this check

jedisct1 commented 2 years ago

The error message means that the clock of the client or the clock of the server are not properly set.

Removing the check is not a good idea. You should properly set your system clock instead.

fqqf commented 2 years ago

Thank you for reply! Sadly i can not change that since server and client must be bind to two separate NTP servers

jedisct1 commented 2 years ago

But the tolerance is 2 hours!

If both are using NTP servers, even different ones, one of these NTP servers must be completely off.