sudo systemctl start [email protected] 不想工作

sudo systemctl start [email protected] 不想工作

我在使用 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。

我正在按照此链接的步骤一步一步操作,

https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-20-04-en

错误如下:

[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>

感谢所有回复的人。

相关内容