Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ProtonVPN-CLI is a full rewrite of the bash protonvpn-cli in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability.
The official ProtonVPN Linux app is available for Debian 10, Ubuntu 20+, Mint 19+, MX Linux 19+, Fedora 31+ and Archlinux / Manjaro. Where possible, we recommend that you upgrade to the official app. The community Linux client described below remains available for those who need it.
For more detailed information on installing, updating and uninstalling, please view the extensive usage guide.
For the following Linux distribution(s), install the official protonvpn-cli
package:
sudo dnf install -y protonvpn-cli
protonvpn-cli
is available for CentOS/RHEL 7.x and 8.x via the EPEL repositories.
For CentOS/RHEL 7.x:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install protonvpn-cli
For CentOS/RHEL 8.x:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf install -y protonvpn-cli
Dependencies:
Depending on your distribution, run the appropriate following command to install the necessary dependencies
Distro | Command |
---|---|
Fedora/CentOS/RHEL | sudo dnf install -y openvpn dialog python3-pip python3-setuptools |
Ubuntu/Linux Mint/Debian and derivatives | sudo apt install -y openvpn dialog python3-pip python3-setuptools |
OpenSUSE/SLES | sudo zypper in -y openvpn dialog python3-pip python3-setuptools |
Arch Linux/Manjaro | sudo pacman -S openvpn dialog python-pip python-setuptools |
Installation happens via Python's package manager PIP.
Note: Make sure to run pip with sudo, so it installs globally and recognizes the command with sudo
sudo pip3 install protonvpn-cli
sudo pip3 install protonvpn-cli --upgrade
Disclaimer: If you are unsure about what you're doing, please follow the normal installation guide.
It is recommended to do the manual installation in a virtual environment. Especially if it serves the purpose of developing.
Clone this repository
git clone https://github.com/ProtonVPN/linux-cli-community
Step into the directory
cd linux-cli
Install
pip3 install -e .
For updating, you just need to pull the latest version of the repository with git.
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
).
If you want to contribute to this project, please read the contribution guide.
FAQs
Linux command-line client for ProtonVPN
We found that protonvpn-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.