User Tools

Site Tools


proton

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
proton [2025/09/24 17:45] – [Troubleshooting] mikoproton [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
 +</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 bash>
 +sudo apt install protonvpn-cli
 +</code>
 +
 +If not, follow the repository setup instructions from the GUI installation page.
 +
 +===== Step 2: Initialize the CLI =====
 +
 +<code bash>
 +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 bash>
 +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 bash>
 +protonvpn-cli connect --fastest
 +</code>
 +
 +To connect to a specific country:
 +
 +<code bash>
 +protonvpn-cli connect DE
 +</code>
 +
 +To disconnect:
 +
 +<code bash>
 +protonvpn-cli disconnect
 +</code>
 +
 +===== Step 5: Status and Diagnostics =====
 +
 +Check connection status:
 +
 +<code bash>
 +protonvpn-cli status
 +</code>
 +
 +View current IP and server:
 +
 +<code bash>
 +protonvpn-cli info
 +</code>
 +
 +===== Optional Commands =====
 +
 +Enable kill switch:
 +
 +<code bash>
 +protonvpn-cli killswitch --on
 +</code>
 +
 +Enable auto-connect on boot:
 +
 +<code bash>
 +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.txt · Last modified: by miko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki