LinuxCommandLibrary

protonvpn

Connect to ProtonVPN servers

TLDR

Initialize ProtonVPN profile

$ protonvpn init
copy

Connect to ProtonVPN interactively
$ protonvpn [c|connect]
copy

Display connection status
$ protonvpn [s|status]
copy

Disconnect from ProtonVPN
$ protonvpn [d|disconnect]
copy

Reconnect or connect to the last server used
$ protonvpn [r|reconnect]
copy

Refresh OpenVPN configuration and server data
$ protonvpn refresh
copy

Display help for a subcommand
$ protonvpn [subcommand] --help
copy

SYNOPSIS

protonvpn [options]

PARAMETERS

connect
    Connect to the VPN using the last used profile, or the profile specified by the argument to this command.

disconnect
    Disconnect from the VPN.

status
    Display the current connection status.

configure
    Configure various settings, such as kill switch, DNS servers, and connection protocol.

init
    Setup your account for using ProtonVPN. Can be used to log in or create a new account

reconnect
    Reconnect to the last connected server.

refresh
    Refresh the server list.

profile
    Manage the VPN profiles. You can add, remove, list, or select different profiles.

locations
    List available server locations.

servers
    List available servers for selected locations

--version
    Display the version number of the ProtonVPN CLI.

--help
    Display help information about the command.

DESCRIPTION

The `protonvpn` command provides a command-line interface (CLI) to manage your ProtonVPN connection on Linux. It allows you to connect to VPN servers, disconnect, check your connection status, switch between server locations, configure your preferences, and manage profiles. This tool is designed to be an alternative or supplement to the GUI application, providing more flexibility and control for users who prefer working from the terminal. Using this command you can access a rich set of features from a light weight and fast interface without needing to use the GUI app, or if there is no GUI access to the linux OS.
It also enables easy scripting of VPN related tasks. Its well-structured output is helpful for creating automation pipelines with the rest of the CLI tools available in most systems.

The ProtonVPN CLI allows for secure browsing using WireGuard/OpenVPN protocols, and makes it possible to ensure secure data transfer for Linux users of ProtonVPN.

CAVEATS

The `protonvpn` command requires that the ProtonVPN application is properly installed and configured on the system. Make sure that the `openvpn` and `wireguard` packages are installed as well, if you are using them as the communication protocols.

PROFILES

Profiles store your connection settings and allows you to easly swap between locations.

AUTHENTICATION

To use protonvpn, you must have a valid account. You can use `protonvpn init` to log in or create a new account.

HISTORY

The `protonvpn` command-line interface was developed to offer a more flexible and scriptable way to interact with the ProtonVPN service on Linux systems. It complements the GUI application, enabling users to automate VPN connections and integrate them into their workflows.

SEE ALSO

openvpn(8), wireguard(8), ip(8)

Copied to clipboard