Не стартует openvpn сервер после открытия конфига с помощью nano
server.conf:
local 147.78.65.245
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
client-to-client
server 10.8.0.0 255.255.255.0
server-ipv6 fddd:1194:1194:1194::/64
push "redirect-gateway def1 ipv6 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
log:
* openvpn@server.service - OpenVPN connection to server
Loaded: loaded (/lib/systemd/system/openvpn@.service; indirect; vendor preset
Active: activating (auto-restart) (Result: exit-code) since Fri 2022-08-05 12
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 17204 ExecStart=/usr/sbin/openvpn --daemon ovpn-server --status /run/ --cd /etc/openvpn --script-security 2 --config /etc/openvpn/server.conf --writepid /run/openvpn/server.pid (code=exited, status=1/FAILURE)
Main PID: 17204 (code=exited, status=1/FAILURE)
Aug 05 12:58:42 vm1881445 systemd[1]: openvpn@server.service: Main process exited, code=exited, status=1/FAILURE
Aug 05 12:58:42 vm1881445 systemd[1]: openvpn@server.service: Failed with result 'exit-code'.
Aug 05 12:58:42 vm1881445 systemd[1]: Failed to start OpenVPN connection to server.