我在使用 OpenVPN 服务时遇到了问题。
我已经更改了 server.conf、sysctl.conf 和 before.rules 设置,
具体来说,这些变化
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
dh dh2048.pem
net.ipv4.ip_forward = 1
但是,我无法激活 OpenVPN。
我正在按照此链接的步骤一步一步操作,
错误如下:
● [email protected] - OpenVPN service for server
Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor >
Active: activating (auto-restart) (Result: exit-code) since Thu 2022-09-15 20>
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 90662 ExecStart=/usr/sbin/openvpn --status /run/openvpn-server/status>
Main PID: 90662 (code=exited, status=1/FAILURE)
Status: "Pre-connection initialization successful"
CPU: 21ms
Sep 15 20:36:11 hydra systemd[1]: [email protected]: Main process exit>
Sep 15 20:36:11 hydra systemd[1]: [email protected]: Failed with result>
感谢所有回复的人。