GlobalProtect-openconnect
GlobalProtect-openconnect copied to clipboard
globalproctect-openconnect cli in detach mode
can we add detach mode for globalproctect-openconnect cli for ubuntu, so that we don't need to keep terminal window open in order for VPN to stay alive.
I also believe this would be a significant improvement in the UX.
One option I consider is creating a control interface for gpclient by using a local Unix socket. This would allow us to:
- Complete the interactive steps required for connecting to the VPN.
- Connect and disconnect as needed, rather than stopping the entire daemon/service.
I have ever tried to add the run in background feature for CLI, but failed. It hangs whenever it is in the background.
@yuezk Maybe you can look into openvpn3 cli for linux code to fix the background issue
https://codeberg.org/OpenVPN
@pushkargogte You can use 'screen' to detach your terminal session https://superuser.com/questions/454907/how-to-execute-a-command-in-screen-and-detach