proton
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
proton [2025/09/24 17:45] – [Troubleshooting] miko | proton [2025/09/24 17:49] (current) – miko | ||
---|---|---|---|
Line 70: | Line 70: | ||
protonvpn-cli login YOUR_USERNAME | protonvpn-cli login YOUR_USERNAME | ||
protonvpn-cli connect --fastest | protonvpn-cli connect --fastest | ||
+ | </ | ||
+ | |||
+ | ====== Using ProtonVPN CLI on Ubuntu ====== | ||
+ | |||
+ | This guide explains how to install and use ProtonVPN via the command-line interface (CLI) on Ubuntu. | ||
+ | |||
+ | ===== Requirements ===== | ||
+ | * Ubuntu system (any desktop environment) | ||
+ | * ProtonVPN account | ||
+ | * sudo/root access | ||
+ | |||
+ | ===== Step 1: Install the CLI tool ===== | ||
+ | |||
+ | If the ProtonVPN repository is already added, simply run: | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install protonvpn-cli | ||
+ | </ | ||
+ | |||
+ | If not, follow the repository setup instructions from the GUI installation page. | ||
+ | |||
+ | ===== Step 2: Initialize the CLI ===== | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli init | ||
+ | </ | ||
+ | |||
+ | This will prompt you to choose: | ||
+ | * VPN protocol (OpenVPN or WireGuard) | ||
+ | * DNS settings | ||
+ | * Kill switch behavior | ||
+ | * Auto-connect options | ||
+ | |||
+ | ===== Step 3: Log in ===== | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli login YOUR_USERNAME | ||
+ | </ | ||
+ | |||
+ | Replace `YOUR_USERNAME` with your actual ProtonVPN account name. | ||
+ | |||
+ | ===== Step 4: Connect to VPN ===== | ||
+ | |||
+ | To connect to the fastest available server: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli connect --fastest | ||
+ | </ | ||
+ | |||
+ | To connect to a specific country: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli connect DE | ||
+ | </ | ||
+ | |||
+ | To disconnect: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli disconnect | ||
+ | </ | ||
+ | |||
+ | ===== Step 5: Status and Diagnostics ===== | ||
+ | |||
+ | Check connection status: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli status | ||
+ | </ | ||
+ | |||
+ | View current IP and server: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli info | ||
+ | </ | ||
+ | |||
+ | ===== Optional Commands ===== | ||
+ | |||
+ | Enable kill switch: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli killswitch --on | ||
+ | </ | ||
+ | |||
+ | Enable auto-connect on boot: | ||
+ | |||
+ | <code bash> | ||
+ | protonvpn-cli configure --autoconnect on | ||
</ | </ | ||
===== References ===== | ===== References ===== | ||
- | * https:// | + | * https:// |
proton.txt · Last modified: by miko