Linux CLI connection status
I use the ProtonVPN CLI on my Ubuntu MATE system. (I don't use the GUI app because I do not use Gnome.)
It works well and I'm happy with it, but after I enter protonvpn connect and it exits successfully with news of an established connection, I don't know much of anything about the connection itself.
According to the CLI --help argument the available commands are: ('signin', 'signout', 'info', 'connect', 'disconnect').
I would like to suggest adding a command to this list, "status". That is, protonvpn status .
This command would show whether the VPN connection is established or not, which city, and maybe some other basic info (health check, bytes passed, whatever).
Note that this is different from the existing 'info' command which only shows Proton account login info for the VPN, nothing about the connection itself.
This would be a big help while managing my VPN connection on my desktop.
-
Masq
commented
_Please_, it's such a basic functionality that we should be able to call `protonvpn status` from the command line to tell us some info about the connection.
I actually ended up creating a bit of this functionality myself, but it's definitely not perfect by any means. I've created a basic functionality for this and [made a PR to the main GH](https://github.com/ProtonVPN/proton-vpn-cli/pull/8).
I'm using i3 with polybar and created a small polybar widget to display ProtonVPN status there, but I can't reliably get my external IP address from the CLI tool and I'm not sure why. It seems like whenever the server list refreshes—not using the cache—then I am able to get the IP address how it's gotten in the connect command but otherwise it's not available.