I'm trying to get OpenVPN working with a Chromebook running Chrome OS as a client. When connecting, OpenVPN logs the following:
tls-crypt unwrap error: packet too short
TLS Error: tls-crypt unwrapping failed from [AF_INET]192.168.1.37:37142
The Chromebook on the other end reports no errors, and continues attempting to connect until the timeout occurs.
Attached is my server.conf:
port 1194
proto udp
dev tun
user nobody
group nobody
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 192.168.1.1"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_mFgn4iARB7B4d4Mz.crt
key server_mFgn4iARB7B4d4Mz.key
auth SHA256
cipher AES-128-GCM
verify-client-cert none
plugin /usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so login
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
verb 3
push "redirect-gateway def1 bypass-dhcp bypass-dns"
comp-lzo
And this is a rough approximation of the Chromebook's VPN configuration screen:
Service name: hello
Provider type: OpenVPN
Server hostname: <host>
Username: chonk
Password: <omitted>
OTP: <blank>
Server CA certificate: Do not check
User certificate: No user certificate
Below is the output from openvpn --version:
OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021
library versions: OpenSSL 1.1.1m 14 Dec 2021, LZO 2.10
Originally developed by James Yonan
Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
Compile time defines:
If anyone could give me some pointers that could help me, that would be much appreciated. Thank you.
EDIT: used oconf tags instead of code tags