openvpn3-systemd support for web authentication #143
-
I have tried to use openvpn3-systemd on my profile which needs web authentication. However, it does not try to open a browser window, it just sticks at Manually opening the link (and authenticating) found in journalctl enables the rest of the flow to continue.
This is on Pop!_OS 22.04. Is this a bug, or is this just not supported yet? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey! Starting VPN sessions via systemd is typically done to start sessions during boot; where there is no browser available. But it's not completely unsupported - the authentication can happen later on, the OpenVPN session will just not start until authentication has completed. In v17_beta, the
This command can be run without arguments, where it will list all running VPN sessions waiting for authentication to happen in some way or another. This list will contain an ID. By running |
Beta Was this translation helpful? Give feedback.
-
It would be nice if |
Beta Was this translation helpful? Give feedback.
-
Alright, now I see more what you're doing and expecting. First, the issue you describe seems odd. No status and no device indicate that the backend VPN process died/crashed or somehow got lost. That should not be related to the main issue in this discussion. But I would recommend you to have a look at using a different approach than the OpenVPN 3 Linux ships with it's own openvpn3 Python module, which should provide most functionality needed to manager both configurations and sessions. I would recommend to have a look at the Using that approach will give you far better fine-grained control for your own management front-end. |
Beta Was this translation helpful? Give feedback.
Hey!
Starting VPN sessions via systemd is typically done to start sessions during boot; where there is no browser available. But it's not completely unsupported - the authentication can happen later on, the OpenVPN session will just not start until authentication has completed.
In v17_beta, the
openvpn3 session-auth
command was added. This aims to help authentications which has not completed yet.This command can be run without ar…