openvpn问题避免同时访问

我如何避免openvpn用户在两台不同的计算机上同时使用他们的密钥。

例如:我有我的openvpn键。 现在说我将安装在10台电脑上,并能连接所有电脑。

这是一种安全问题,以及我有非常有限的免费IP地址,所以我想vpn用户的用户他们的密钥同时。

希望我听起来像alrite ….

OpenVPN的默认行为是不能从多台计算机同时使用相同的证书。 如果您使用已在使用的证书启动新连接,则现有连接将被丢弃。

如果要使用相同的证书支持同时连接,则需要在configuration中启用duplicate-cn选项。 从手册页:

  --duplicate-cn Allow multiple clients with the same common name to concurrently connect. In the absence of this option, OpenVPN will disconnect a client instance upon connection of a new client having the same common name.