User Tools

Site Tools


proton

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
proton [2025/09/24 17:41] – created mikoproton [2025/10/13 15:07] (current) – [Troubleshooting] miko
Line 10: Line 10:
 ===== Step 1: Add the GPG Key ===== ===== Step 1: Add the GPG Key =====
  
-<code bash>+<code>
 sudo apt install gnupg sudo apt install gnupg
 wget -q -O - https://repo.protonvpn.com/debian/public_key.asc | sudo apt-key add - wget -q -O - https://repo.protonvpn.com/debian/public_key.asc | sudo apt-key add -
Line 19: Line 19:
 ===== Step 2: Add the ProtonVPN Repository ===== ===== Step 2: Add the ProtonVPN Repository =====
  
-<code bash>+<code>
 echo "deb https://repo.protonvpn.com/debian stable main" | sudo tee /etc/apt/sources.list.d/protonvpn-stable-release.list echo "deb https://repo.protonvpn.com/debian stable main" | sudo tee /etc/apt/sources.list.d/protonvpn-stable-release.list
 </code> </code>
Line 25: Line 25:
 ===== Step 3: Update Package Sources ===== ===== Step 3: Update Package Sources =====
  
-<code bash>+<code>
 sudo apt update sudo apt update
 </code> </code>
Line 31: Line 31:
 ===== Step 4: Install the GNOME Desktop App ===== ===== Step 4: Install the GNOME Desktop App =====
  
-<code bash>+<code>
 sudo apt install proton-vpn-gnome-desktop sudo apt install proton-vpn-gnome-desktop
 </code> </code>
Line 37: Line 37:
 ===== Step 5 (Optional): Enable System Tray Support ===== ===== Step 5 (Optional): Enable System Tray Support =====
  
-<code bash>+<code>
 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
 </code> </code>
Line 46: Line 46:
  
   * Check the contents of the repository file:   * Check the contents of the repository file:
-    <code bash+<code> 
-    cat /etc/apt/sources.list.d/protonvpn-stable-release.list +cat /etc/apt/sources.list.d/protonvpn-stable-release.list 
-    </code> +</code>
-    It should contain: +
-    <code> +
-    deb https://repo.protonvpn.com/debian stable main +
-    </code>+
  
 +It should contain:
 +
 +<code>
 +deb https://repo.protonvpn.com/debian stable main
 +</code>
   * Run:   * Run:
-    <code bash+<code> 
-    sudo apt clean && sudo apt update +sudo apt clean && sudo apt update 
-    </code>+</code>
  
 ===== Alternative: Install CLI Version ===== ===== Alternative: Install CLI Version =====
Line 63: Line 64:
 If you prefer the command-line interface: If you prefer the command-line interface:
  
-<code bash>+<code>
 sudo apt install protonvpn-cli sudo apt install protonvpn-cli
 </code> </code>
  
 Then log in and connect: Then log in and connect:
-<code bash>+<code>
 protonvpn-cli login YOUR_USERNAME protonvpn-cli login YOUR_USERNAME
 protonvpn-cli connect --fastest protonvpn-cli connect --fastest
 +</code>
 +
 +====== 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>
 +sudo apt install protonvpn-cli
 +</code>
 +
 +If not, follow the repository setup instructions from the GUI installation page.
 +
 +===== Step 2: Initialize the CLI =====
 +
 +<code>
 +protonvpn-cli init
 +</code>
 +
 +This will prompt you to choose:
 +  * VPN protocol (OpenVPN or WireGuard)
 +  * DNS settings
 +  * Kill switch behavior
 +  * Auto-connect options
 +
 +===== Step 3: Log in =====
 +
 +<code>
 +protonvpn-cli login YOUR_USERNAME
 +</code>
 +
 +Replace `YOUR_USERNAME` with your actual ProtonVPN account name.
 +
 +===== Step 4: Connect to VPN =====
 +
 +To connect to the fastest available server:
 +
 +<code>
 +protonvpn-cli connect --fastest
 +</code>
 +
 +To connect to a specific country:
 +
 +<code>
 +protonvpn-cli connect DE
 +</code>
 +
 +To disconnect:
 +
 +<code>
 +protonvpn-cli disconnect
 +</code>
 +
 +===== Step 5: Status and Diagnostics =====
 +
 +Check connection status:
 +
 +<code>
 +protonvpn-cli status
 +</code>
 +
 +View current IP and server:
 +
 +<code>
 +protonvpn-cli info
 +</code>
 +
 +===== Optional Commands =====
 +
 +Enable kill switch:
 +
 +<code>
 +protonvpn-cli killswitch --on
 +</code>
 +
 +Enable auto-connect on boot:
 +
 +<code>
 +protonvpn-cli configure --autoconnect on
 </code> </code>
  
 ===== References ===== ===== References =====
-  * https://protonvpn.com/support/official-linux-vpn-ubuntu/+  * https://protonvpn.com/support/linux-vpn-tool/ 
  
proton.1758735684.txt.gz · Last modified: by miko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki