0% found this document useful (0 votes)
46 views

Kill Switch: Command Description

The document describes the commands available for ProtonVPN-CLI, a command line interface for ProtonVPN. It lists commands for initializing the profile, connecting to servers, reconnecting, checking status, and getting help. It also describes how to enable the kill switch to block network access if the VPN disconnects, how to update the CLI with new features, and how to uninstall it.

Uploaded by

Martin NDOGMO
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Kill Switch: Command Description

The document describes the commands available for ProtonVPN-CLI, a command line interface for ProtonVPN. It lists commands for initializing the profile, connecting to servers, reconnecting, checking status, and getting help. It also describes how to enable the kill switch to block network access if the VPN disconnects, how to update the CLI with new features, and how to uninstall it.

Uploaded by

Martin NDOGMO
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Command Description

protonvpn init Initialize ProtonVPN profile.


protonvpn connect, c Select a ProtonVPN server and connect to it.
protonvpn c [servername] Connect to a specified server.
protonvpn c -r Connect to a random server.
protonvpn c -f Connect to the fastest server.
protonvpn c --p2p Connect to the fastest P2P server.
protonvpn c --cc [countrycode] Connect to the fastest server in a specified country.
protonvpn c --sc Connect to the fastest Secure Core server.
protonvpn reconnect, r Reconnect or connect to the last server used.
protonvpn disconnect, d Disconnect the current session.
protonvpn status, s Print connection status.
protonvpn configure Change CLI configuration.
protonvpn refresh Refresh OpenVPN configuration and server data.
protonvpn examples Print example commands.
protonvpn --version Display version.
protonvpn --help Show help message.
All connect options can be used with the -p flag to explicitly specify which
transmission protocol is used for that connection (either udp or tcp).

Kill Switch
ProtonVPN-CLI has a built-in Kill Switch that protects your data in case your VPN
connection is interrupted or cut unexpectedly.

Enabling Kill Switch

To enable Kill Switch, open the configuration menu with protonvpn configure, then
select 5 for Kill Switch and confirm the activation with either 1 or 2, depending on your
preference.

1 will block access from your directly connected network (e.g. public WiFi) and is
recommended for laptops that may connect to untrusted networks.

2 will allow access from your directly connected network and is for computers that
don’t leave a secure and trusted LAN, like your home network.

On the next connection Kill Switch will be enabled.

Update
We will periodically update the ProtonVPN-CLI to deal with bugs or to introduce new
features.
The command to update ProtonVPN-CLI is: sudo pip3 install protonvpn-cli
--upgrade.

Uninstall
If you want to uninstall ProtonVPN-CLI, run configure first and purge the
configuration. Then uninstall through the package manager you used for installation.

For PIP this would be:

sudo pip3 uninstall protonvpn-cli

You might also like