无法预加载密钥文件(ta.key)

无法预加载密钥文件(ta.key)

我试过这个教程在我的 VB 上,当我运行时, 我得到了以下错误sudo systemctl status [email protected]

 [email protected] - OpenVPN service for server
     Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2023-04-27 17:52:13 UTC; 2s ago
       Docs: man:openvpn(8)
             https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
             https://community.openvpn.net/openvpn/wiki/HOWTO
    Process: 14624 ExecStart=/usr/sbin/openvpn --status /run/openvpn-server/status-server.log --status-version 2 --suppress-timestamps --c>
   Main PID: 14624 (code=exited, status=1/FAILURE)
     Status: "Pre-connection initialization successful"
        CPU: 54ms

我也尝试/usr/sbin/openvpn --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/server/server.conf --writepid /run/openvpn/server.pid查看错误并得到

2023-04-27 17:52:25 WARNING: --topology net30 support for server configs with IPv4 pools will be removed in a future release. Please migrate to --topology subnet as soon as possible.
2023-04-27 17:52:25 Cannot pre-load keyfile (ta.key)
2023-04-27 17:52:25 Exiting due to fatal error

这个错误是什么意思以及如何解决?

相关内容