OpenVPN的embedded式设备

我是OpenVPN的新手和相关的问题,我正在search几天没有正面的答案。

我有几个基于Linux的设备位于我的城镇收集数据并发送给我。 我也需要能够执行一些命令。 我决定通过互联网将他们全部连接到一个虚拟专用networking。 我select了使用OpenVPN来做到这一点。 我build立OpenVPN没有问题。

经过一番努力,我已经成功将所有设备连接到networking。 所有设备都使用PKI来validation/validation自己。 问题:设备没有实时时钟,所以在closures电源后,我们的设备时间不正确,无法连接到我的VPN服务器。

我发现PKIauthentication需要时间同步。

在这个邮件列表中,用户build议使用静态密钥。 好吧,我find了一篇关于如何做到这一点的文章 ,但正如我所看到的,有一个缺点: 有限的可伸缩性 – 一个客户端,一个服务器 。 据我所知,我不能使用一个VPN服务器的多个设备。

谁能告诉我如何解决这个问题? 也许还有一些独立于时间同步的OpenVPNauthentication解决scheme?

PS我无法更改该设备上的时间设置。

PPS先谢谢了,并为我可怕的英语感到难过。

使用ntpdate同步时间,然后启动OpenVPN。

替代scheme:

尝试使用tinc: https ://www.tinc-vpn.org/

有一个解决scheme:

(...), it basically removes an important security feature. In this case, I would probably rather recommend to issue a CA and/or server certificate with "Valid From" with a date which is the initial boot time of the embedded device. This should solve this issue, and contain the issue within your environment. 

https://community.openvpn.net/openvpn/ticket/199