Good afternoon, I have a Mikrotik router configured as a VPN server using OpenVPN. Windows computers access it normally, but MacBooks do not. If I copy the .ovpn file that is working on the Windows PC and put it on the MacBook, it doesn't connect. Any suggestions as to what might be happening?
If something works for me on Windows but not on MacOS,
I would ask Apple, which is the one that develops MacOS, not a third party...
The problem often comes from the cipher / auth-digest / TLS parameters used on the server side. For example, AES-256-GCM + SHA-512 (or certain “modern” settings) seem supported by Windows clients, but cause decryption failures on macOS clients connecting to the same OpenVPN server.
OpenVPN always has a log. I suggest to check the logs on both sides
Thank you for the information so far. One detail I forgot to mention is that sometimes the Macbook connected, for example, twice in one week. Could this be related to the information you gave me? Thank you so far.
OpenVPN works perfectly here! ... MacOS Tahoe, latest OpenVPN client for MacOS, ROS 7.19.6 on the router, AES-256-GCM
br, Richard
Yes, that fits. In my case, the Mac logs showed 'Session invalidated: DECRYPT_ERROR' when the server was using AES-256-GCM + SHA512/auth none, but switching the authentication digest to SHA256 solved the issue instantly
GCM is an AEAD mode (Authenticated Encryption with Associated Data). Encryption and authentication are integrated. AES-256-GCM does not require an extra authentication digest.