Skip to content

Instantly share code, notes, and snippets.

@cogumm
Created January 13, 2021 16:19
Show Gist options
  • Save cogumm/236c3d7c8544b218727d05506dde6887 to your computer and use it in GitHub Desktop.
Save cogumm/236c3d7c8544b218727d05506dde6887 to your computer and use it in GitHub Desktop.

Aliases for ProtonVPN!

How to use the official Linux beta app

Command Desciption
protonvpn-cli login [ProtonVPN username] Log in
protonvpn-cli connect (or protonvpn-cli c) Connect to VPN
protonvpn-cli disconnect (or protonvpn-cli d) Disconnect from VPN.
protonvpn-cli status (or protonvpn-cli s) See the connection status.

How to use the kill switch

Command Desciption
protonvpn-cli ks --on Kill switch. The basic kill switch will block all your internet connections when the VPN app is running and the connection to one of our servers fails.
protonvpn-cli ks --always-on Always-on kill switch. This prevents all internet connections unless the VPN app is running and connected to one of our servers.
protonvpn-cli ks --off Disable the kill switch

How to connect using the command-line

Command Desciption
protonvpn-cli c --help Help
protonvpn-cli c -f To connect to the fastest ProtonVPN server for your location
protonvpn-cli c -tor Connect to the fastest Tor server
protonvpn-cli config --help Additional connection options, including specifying a custom DNS server

How to uninstall the official Linux CLI app

Command Desciption
1 - protonvpn-cli ks --off Disable the kill switch (if it is running).
2 - sudo apt-get autoremove protonvpn Uninstall the app with
3 - rm -rf ~/.cache/protonvpn Remove any leftover files
4 - rm -rf ~/.config/protonvpn Remove files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment