proton
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proton [2025/09/24 17:45] – [Troubleshooting] miko | proton [2025/10/13 15:07] (current) – [Troubleshooting] miko | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== Step 1: Add the GPG Key ===== | ===== Step 1: Add the GPG Key ===== | ||
- | < | + | < |
sudo apt install gnupg | sudo apt install gnupg | ||
wget -q -O - https:// | wget -q -O - https:// | ||
Line 19: | Line 19: | ||
===== Step 2: Add the ProtonVPN Repository ===== | ===== Step 2: Add the ProtonVPN Repository ===== | ||
- | < | + | < |
echo "deb https:// | echo "deb https:// | ||
</ | </ | ||
Line 25: | Line 25: | ||
===== Step 3: Update Package Sources ===== | ===== Step 3: Update Package Sources ===== | ||
- | < | + | < |
sudo apt update | sudo apt update | ||
</ | </ | ||
Line 31: | Line 31: | ||
===== Step 4: Install the GNOME Desktop App ===== | ===== Step 4: Install the GNOME Desktop App ===== | ||
- | < | + | < |
sudo apt install proton-vpn-gnome-desktop | sudo apt install proton-vpn-gnome-desktop | ||
</ | </ | ||
Line 37: | Line 37: | ||
===== Step 5 (Optional): Enable System Tray Support ===== | ===== Step 5 (Optional): Enable System Tray Support ===== | ||
- | < | + | < |
sudo apt install libayatana-appindicator3-1 gir1.2-ayatanaappindicator3-0.1 gnome-shell-extension-appindicator | sudo apt install libayatana-appindicator3-1 gir1.2-ayatanaappindicator3-0.1 gnome-shell-extension-appindicator | ||
</ | </ | ||
Line 46: | Line 46: | ||
* Check the contents of the repository file: | * Check the contents of the repository file: | ||
- | < | + | < |
- | cat / | + | cat / |
</ | </ | ||
- | | + | |
+ | It should contain: | ||
< | < | ||
- | | + | deb https:// |
</ | </ | ||
* Run: | * Run: | ||
- | < | + | < |
- | sudo apt clean && sudo apt update | + | sudo apt clean && sudo apt update |
</ | </ | ||
Line 62: | Line 64: | ||
If you prefer the command-line interface: | If you prefer the command-line interface: | ||
- | < | + | < |
sudo apt install protonvpn-cli | sudo apt install protonvpn-cli | ||
</ | </ | ||
Then log in and connect: | Then log in and connect: | ||
- | < | + | < |
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: | ||
+ | |||
+ | < | ||
+ | sudo apt install protonvpn-cli | ||
+ | </ | ||
+ | |||
+ | If not, follow the repository setup instructions from the GUI installation page. | ||
+ | |||
+ | ===== Step 2: Initialize the CLI ===== | ||
+ | |||
+ | < | ||
+ | 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 ===== | ||
+ | |||
+ | < | ||
+ | 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: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli connect --fastest | ||
+ | </ | ||
+ | |||
+ | To connect to a specific country: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli connect DE | ||
+ | </ | ||
+ | |||
+ | To disconnect: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli disconnect | ||
+ | </ | ||
+ | |||
+ | ===== Step 5: Status and Diagnostics ===== | ||
+ | |||
+ | Check connection status: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli status | ||
+ | </ | ||
+ | |||
+ | View current IP and server: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli info | ||
+ | </ | ||
+ | |||
+ | ===== Optional Commands ===== | ||
+ | |||
+ | Enable kill switch: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli killswitch --on | ||
+ | </ | ||
+ | |||
+ | Enable auto-connect on boot: | ||
+ | |||
+ | < | ||
+ | protonvpn-cli configure --autoconnect on | ||
</ | </ | ||
===== References ===== | ===== References ===== | ||
- | * https:// | + | * https:// |
proton.1758735959.txt.gz · Last modified: by miko