openvpn cant connect on a new M1 mac, but can connect on old intel mac

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
nutmix
OpenVpn Newbie
Posts: 3
Joined: Mon Feb 03, 2020 12:40 pm

openvpn cant connect on a new M1 mac, but can connect on old intel mac

Post by nutmix » Mon Mar 14, 2022 11:43 am

I recently bought a new M1 14", and migrated the whole OS from my old mac.
Both macs are running Monterey 12, and connected with the same wifi.

open VPN connection works prefectly on old mac, but on new mac, it says "connection failed"

The new mac is effectively a clone of the old one, so all the installation and settings are already in place (and I havent changed anything).

Any ideas how to debug?

They are both connecting to the same endpoint - openvpn hosted on linode.

Interestingly, when I try to connect with the new mac,in the open vpn server status, it shows "1 user connected" for about 30s, then it goes back to 0 users connected.

openvpn version is 3.1.0.(890)

here are some log exerps:

⏎14/03/2022, 12:40:05 Session token: [redacted]
⏎14/03/2022, 12:40:05 Server has pushed compressor COMP_STUBv2, but client has disabled compression, switching to asymmetric
⏎14/03/2022, 12:40:05 PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: SHA1
compress: COMP_STUBv2
peer ID: 0
⏎14/03/2022, 12:40:05 TunPersist: short-term connection scope
⏎14/03/2022, 12:40:05 TunPersist: new tun context
⏎14/03/2022, 12:40:05 EVENT: ASSIGN_IP ⏎14/03/2022, 12:40:05 EVENT: TUN_SETUP_FAILED ovpnagent: communication error⏎14/03/2022, 12:40:05 EVENT: DISCONNECTED ⏎14/03/2022, 12:40:05 CAPTURED OPTIONS:

POST unix://[/var/run/ovpnagent.sock]/tun-setup : E_CONNECT HTTPCore Asio handle_unix_connect: No such file or directory
⏎14/03/2022, 12:40:05 TUN Error: ovpnagent: communication error

nutmix
OpenVpn Newbie
Posts: 3
Joined: Mon Feb 03, 2020 12:40 pm

Re: openvpn cant connect on a new M1 mac, but can connect on old intel mac

Post by nutmix » Mon Mar 14, 2022 11:50 am

I just found the solution. there is no update option in the client, but I downloaded the latest installer, which overwrites the old client with the new one, but keeps the profile. Its now working!

Version 3.3.3 (4163)

Post Reply