Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to OpenVPN is not restored after waking up from sleep mode #280

Open
Katarn opened this issue Sep 24, 2022 · 0 comments
Open

Comments

@Katarn
Copy link

Katarn commented Sep 24, 2022

Hello!

I'm using OpenVPN and I need it to reconnect to the VPN server after I put the computer to sleep mode and then wake it up. But only if it was active at the time the computer went to sleep. I would like to have the same logic when you restart the computer: if the connection was active, it should be restored after the reboot. If the connection was inactive, then after the reboot, it should not automatically connect to the VPN.

However, the problem is that when I wake up the computer from sleep mode, the VPN connection is lost and does not re-connect itself.

I tried to solve this problem through the connman-vpn configuration file, setting the AutoConnect = true parameter, however, every time I connect to the VPN via cmst, this parameter turns out to be false.

On the Details tab, when choosing a VPN connection, the Configuration button is in a disabled state.

Cmst version: 2022.05.01-1
Connman version: 1.41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant