Ich habe gerade einen alten Server wieder hochgefahren und ein Update von Proxmox 5 auf 6 durchgeführt.
Nun stehen Fehlermedlungen im Syslog der VPN Zugriff funktioniert aber:
/etc/openvpn/inline_client.conf
Nun stehen Fehlermedlungen im Syslog der VPN Zugriff funktioniert aber:
Code:
Apr 10 10:00:14 vpnserver systemd[1]: Starting OpenVPN connection to inline_client...
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Options error: --ca fails with '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Options error: --cert fails with '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: WARNING: cannot stat file '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Options error: --key fails with '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: WARNING: cannot stat file '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Options error: --tls-auth fails with '[inline]': No such file or directory (errno=2)
Apr 10 10:00:14 vpnserver systemd[1]: openvpn@inline_client.service: Main process exited, code=exited, status=1/FAILURE
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Options error: Please correct these errors.
Apr 10 10:00:14 vpnserver systemd[1]: openvpn@inline_client.service: Failed with result 'exit-code'.
Apr 10 10:00:14 vpnserver ovpn-inline_client[10943]: Use --help for more information.
/etc/openvpn/inline_client.conf
Code:
client
proto udp
remote www.xxx.yyy.zzz 1234
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_xxxxxxxxxxxxJ name
auth SHA256
auth-nocache
cipher AES-128-CBC
tls-client
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
verb 6
ca [inline]
cert [inline]
key [inline]
tls-auth [inline] 1