Closed justmedev closed 2 months ago
The GUI already supports this in some form. Start a connection and then exit the GUI without pressing disconnect. The GUI will kill the connection and exit. Now restart the GUI and all connections that were active in the last session will be automatically connected. Same if you logout with the GUI running and some connections active. On next logon the GUI and those connections will restart automatically.
This behaviour can be changed from the settings menu -- see "Auto restart of active connections"
(Feature Request/Discussion)
Hey,
I would like to implement a setting, that, when active, instantly reconnects to the last connected vpn when the application is started. My reasoning is, that whenever I start OpenVPN I always want to connect to my work vpn and it would be faster to just open the app and let it connect by itself then to wait for the loading and then press the connect switch.
Any opinions on the idea before I start implementing and opening a pull request?