openvpn3-session does not start new VPN session on Debian 12; works with Debian 11 #225
Replies: 5 comments
-
What happens when you try to start the session manually?
Also try to enable debug logging and catch the log outputs:
And in a different terminal, before running
Then you can do the |
Beta Was this translation helpful? Give feedback.
-
Run
Result: see: NixOS/nixpkgs#235986 Then I switch back to Debian 11.4, it runs well without any problem. |
Beta Was this translation helpful? Give feedback.
-
Can you please share the log output after a connection attempt with I've just re-tested Debian 12 with OpenVPN 3 Linux v21, connecting to an OpenVPN Access Server with 2FA (which is known to cause issues with glib2-2.76), and that connected just fine. Since your configuration works with Debian 11, my hunch is that this is related to the OpenSSL versions. Debian 12 ships with OpenSSL 3.0.11 which has much stricter defaults and many (weak!) ciphers and algorithms are not available without explicitly enabling them. Debian 11 ships with OpenSSL 1.1.1w. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I delete the Debian 12 instance once I made the openvpn3 work in a fresh Debian 11.4 environment, so I can't reproduce the error, sorry for that. I also create an new Debian 12.4 instance to test it with same .ovpn file, it has no error shows after the session start, so it should be my set up issue I assume. Previously, the Debian 12 was running as a Lightsail instance on AWS which it has installed some other tools like WireGuard, NetworkManager, I was using |
Beta Was this translation helpful? Give feedback.
-
Your issue has nothing to do with NetworkManager. NetworkManager and OpenVPN 3 Linux will not interfere with each other. If you can't reproduce it, then it was something related to your host setup. Closing this issue and will convert it to a discussion, as this is not related to a bug in OpenVPN 3 Linux. |
Beta Was this translation helpful? Give feedback.
-
By follow the step by step instructions in the official document, successfully installed openvpn3 on Debian 12
When trying to start the openvpn client with the command:
sudo systemctl enable --now openvpn3-session@XXXX.service
the openvpn3-session failed to start
ERROR message: Got notification message from PID xxxxxx, but reception only permitted for main PID yyyyyy
is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions