Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

ProtonVPN-CLI is a full rewrite of the [bash protonvpn-cli](https://github.com/ProtonVPN/protonvpn-cli/blob/master/protonvpn-cli.sh) in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability.

## Important information
The [official ProtonVPN Linux](https://protonvpn.com/blog/protonvpn-linux-app/) 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](https://protonvpn.com/support/linux-vpn-setup/).
The community Linux client described below remains available for those who need it.
## Deprecation notice
Proton VPN is upgrading its OpenVPN infrastructure. This means the legacy OpenVPN configuration will stop working on 31 March 2025. After this date, you’ll need to switch to the [official Proton VPN for Linux app](https://protonvpn.com/support/linux-vpn-setup/), or reconfigure [OpenVPN](https://protonvpn.com/support/vpn-config-download/) or [WireGuard](https://protonvpn.com/support/wireguard-configurations/) manually.

## Installation & Updating

Expand Down
21 changes: 16 additions & 5 deletions protonvpn_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@
get_config_value, is_valid_ip, pull_server_data,
set_config_value, wait_for_network)

DEPRECATION_NOTICE = """
/******************************************DEPRECATION NOTICE********************************************/
/* */
/* Proton VPN is upgrading its OpenVPN infrastructure. */
/* This means the legacy OpenVPN configuration will stop working on 31 March 2025. */
/* After this date, you’ll need to switch to the official Proton VPN for Linux app, */
/* or reconfigure OpenVPN or WireGuard manually. */
/* See: */
/* - Official app: https://protonvpn.com/support/linux-vpn-setup/ */
/* - WireGuard: https://protonvpn.com/support/wireguard-configurations/ */
/* - OpenVPN: https://protonvpn.com/support/vpn-config-download/ */
/* */
/********************************************************************************************************/
"""


def main():
"""Main function"""
Expand All @@ -78,11 +93,7 @@ def main():
def cli():
"""Run user's input command."""

if shutil.which("NetworkManager") or shutil.which("nmcli"):
print(
"\nProtonVPN now offers an official Linux app which includes a graphical user interface.\n"
"Visit https://protonvpn.com/support/official-linux-client to upgrade."
)
print(DEPRECATION_NOTICE)

# Initial log values
change_file_owner(os.path.join(CONFIG_DIR, "pvpn-cli.log"))
Expand Down
Loading