I run OpenVPN server on an Ubuntu VPS. Yesterday I had to rebuild the server and after this I discovered that my Windows client no longer connects, yet my macOS and Android clients still work perfectly.
I went from Ubuntu 20.4 LTS to 22.4 LTS, then after reinstalling the OpenVPN server I pulled down one .ovpn config file from it. I deleted the old profiles on each client and added the same new config file to each. Both Windows and Mac are using OpenVPN Connect v3.3.6 and the Android phone uses 3.3.0
Here is the client config (same for each device):
Code: Select all
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
verb 3
Code: Select all
local xxx.xxx.xxx.xxx
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
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.1.1.1"
push "dhcp-option DNS 1.0.0.1"
push "block-outside-dns"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
These are the logs on the server when I attempt to connect from Windows:
Code: Select all
Oct 22 15:33:56 localhost openvpn[12517]: tls-crypt unwrap error: packet authentication failed
Oct 22 15:33:56 localhost openvpn[12517]: TLS Error: tls-crypt unwrapping failed from [AF_INET]xxx.xxx.xxx.xxx:42263
Oct 22 15:33:57 localhost openvpn[12517]: tls-crypt unwrap error: packet authentication failed
Oct 22 15:33:57 localhost openvpn[12517]: TLS Error: tls-crypt unwrapping failed from [AF_INET]xxx.xxx.xxx.xxx:42263
Oct 22 15:33:58 localhost openvpn[12517]: tls-crypt unwrap error: packet authentication failed
Oct 22 15:33:58 localhost openvpn[12517]: TLS Error: tls-crypt unwrapping failed from [AF_INET]xxx.xxx.xxx.xxx:42263
Oct 22 15:33:59 localhost openvpn[12517]: tls-crypt unwrap error: packet authentication failed
Oct 22 15:33:59 localhost openvpn[12517]: TLS Error: tls-crypt unwrapping failed from [AF_INET]xxx.xxx.xxx.xxx:42263
Oct 22 15:34:00 localhost openvpn[12517]: tls-crypt unwrap error: packet authentication failed
Oct 22 15:34:00 localhost openvpn[12517]: TLS Error: tls-crypt unwrapping failed from [AF_INET]xxx.xxx.xxx.xxx:42263