ProtonVPN Command-Line Tool For Linux - ProtonVPN Support

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail

Support Center

 Have a question?

Support Center / Download and setup / ProtonVPN command-line tool for Linux

ProtonVPN command-line tool for Linux


We have updated our Linux VPN command-line tool! These instructions are for version 2.0 of our Linux client.

Link to the GitHub repository – https://github.com/ProtonVPN/protonvpn-cli-ng

For more extensive information about the features and how to use the VPN client, read the Usage Guide.

You will need the latest updates of the following dependencies installed on your Linux repository:

openvpn
python3.5+
dialog (optional, needed for interactive selection)
pip for python3 (pip3)

Instructions for installing these packages on different


distributions:

On Archlinux/ Manjaro, please use:

sudo pacman -S openvpn dialog python-pip python-setuptools

sudo pip3 install protonvpn-cli

Make sure to run pip as sudo, so it installs globally and recognizes the command with sudo

On SUSE, please use:

sudo zypper in -y openvpn dialog python3-pip python3-setuptools

https://protonvpn.com/support/linux-vpn-tool/ 1/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com
sudo pip3 install protonvpn-cli  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail

On Fedora / CentOS / RHEL, please use:

sudo dnf install -y openvpn dialog python3-pip python3-setuptools

sudo pip3 install protonvpn-cli

On Debian / Ubuntu / Linux Mint and other derivatives, please use:

sudo apt install -y openvpn dialog python3-pip python3-setuptools

sudo pip3 install protonvpn-cli

Manual installation from source

To perform a manual installation from source, visit the ProtonVPN Linux client project page on GitHub.

Commands

List of all Commands

Command Description

Initialize ProtonVPN profile.


protonvpn init

Select a ProtonVPN server and connect to it.


protonvpn connect, c

Connect to a specified server.


protonvpn c [servername]

Connect to a random server.


protonvpn c -r

Connect to the fastest server.


protonvpn c -f

https://protonvpn.com/support/linux-vpn-tool/ 2/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

 Return to protonvpn.com
 Command  Facebook    Twitter    Reddit    Instagram  
Description Mastodon   ProtonMail

Connect to the fastest P2P server.


protonvpn c --p2p

Connect to the fastest server in a specified country.


protonvpn c --cc [countrycode]

Connect to the fastest Secure Core server.


protonvpn c --sc

Reconnect or connect to the last server used.


protonvpn reconnect, r

Disconnect the current session.


protonvpn disconnect, d

Print connection status.


protonvpn status, s

Change CLI configuration.


protonvpn configure

Refresh OpenVPN configuration and server data.


protonvpn refresh

Print example commands.


protonvpn examples

Display version.
protonvpn --version

Show help message.


protonvpn --help

-p
All connect options can be used with the flag to explicitly specify which transmission protocol is used for that connection (either

udp tcp
or ).

Kill Switch

ProtonVPN-CLI has a built-in Kill Switch that protects your data in case your VPN connection is interrupted or cut unexpectedly.

Enabling Kill Switch

https://protonvpn.com/support/linux-vpn-tool/ 3/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook


protonvpn     Twitter    Reddit   5Instagram  
configure Mastodon   ProtonMail
To enable Kill Switch, open the configuration menu with , then select for Kill Switch and confirm the

1 2
activation with either or , depending on your preference.

1
will block access from your directly connected network (e.g. public WiFi) and is recommended for laptops that may connect to
untrusted networks.

2
will allow access from your directly connected network and is for computers that don’t leave a secure and trusted LAN, like your
home network.

On the next connection Kill Switch will be enabled.

Uninstall

If you want to uninstall ProtonVPN-CLI, run configure first and purge the configuration. Then uninstall through the package manager
you used for installation.

For PIP this would be:

sudo pip3 uninstall protonvpn-cli

Related articles:

Disabling IPV6 on Linux

ProtonVPN Android application

 289 comments Post Comment

Mike Would it be possible to get some sort of visual cue in gnome to know that the connection is
November 1, 2018 established? When using the (inferior) GUI, there is a lock symbol on the wifi icon. Would
at 9:02 pm something like this be possible when using the CMD line?

 Reply

ProtonVPN Team Hello Mike, currently there is no way of doing so but we had familiar requests before so its on
November 8, 2018 our to-do list to see what we can do .
at 11:01 am

 Reply

felix koenig hi
October 24, 2018 i have a routeur Asus rt-ac68u and i want to know if it compatible with your server???
at 3:40 pm thx

https://protonvpn.com/support/linux-vpn-tool/ 4/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

 Reply
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail

ProtonVPN Team Hello Felix, yes, this router is compatible with our services.
November 5, 2018 https://protonvpn.com/support/protonvpn-asuswrt-router-vpn-setup/
at 2:30 pm

 Reply

owen [!] Error: dialog is not installed. Install `dialog` package to continue.
October 15, 2018 i got this error after running sudo ./protonvpn-cli.sh –install
at 6:17 pm any help?

 Reply

ProtonVPN Team Hello Owen, it says that you did not install the “Dialog” package as per instructions. Please re-
October 18, 2018 fallow them and install everything that is require in the article.
at 8:30 am

 Reply

usualatoms While trying to install I get an error:


October 13, 2018 ****@**** ~ $ sudo protonvpn-cli -init
at 5:47 pm sudo: protonvpn-cli: command not found
Everything before this seemed to install and function as expected.

 Reply

ProtonVPN Team Hello, did you type in sudo chmod +x protonvpn-cli.sh? If so , please contact our customer
October 18, 2018 support team. https://protonvpn.com/support-form
at 8:36 am

 Reply

Element I am on Fedora 28 and the potonvpn-cli.sh installed requires, but offers to install update-resolv-
October 6, 2018 conf (if using this method) since Fedora doesn’t have this which I did… Unfortunately, that script
at 4:43 am intern failed because Fedora doesn’t have resolvconf.
Looking in that shell script, it was looking for this:
## RESOLVCONF=/usr/sbin/resolvconf
export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
RESOLVCONF=$(type -p resolvconf)
It wasn’t installed and no package for it either, so I installed openresolv from here and works
good since:
https://roy.marples.name/projects/openresolv
Hope this helps someone.

 Reply

Fooze This worked for me on Fedora as well. Thanks for taking the time to post it!
October 30, 2018
at 2:17 pm
 Reply

Chicken Hello, I’m getting the following whenever I try to connect to a VPN:
October 1, 2018 [!] Error connecting to VPN.
at 1:10 am [!] This is an error in enabling IPv6 on the machine. Please enable it manually.
I have already tried sudo apt-get install openresolv, and it doesn’t work.

 Reply

ProtonVPN Team Hello Chicken. Please use pvpn -update and then use pvpn -init to re-enter your OpenVPn
October 1, 2018 credentials.
at 8:36 am

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 5/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

Blaz to protonvpn.com
  Return Connecting…  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
September 28, 2018 [!] Error connecting to VPN.
at 8:07 pm [!] This is an error in enabling IPv6 on the machine. Please enable it manually.
This is my error code. I can not connect. Any ideas?

 Reply

ProtonVPN Team Hello. Please try installing open-resolv and updating the client using pvpn -update. After doing
October 1, 2018 so, re-initiate the client using pvpn -init and make sure you enter OpenVPN credentials and
at 8:48 am not ProtonVPN credentials.

 Reply

Blaz Connecting…
September 28, 2018 [!] Error connecting to VPN.
at 7:47 pm [!] Reason: Authentication failed. Please check your ProtonVPN OpenVPN credentials.
Ubuntu 16.04. Checked the credentials 3 times. Restarted the process and re installed twice.
Tried with GNOME GUI. Now I ran out of ideas. Any suggestions?
Thanks

 Reply

ProtonVPN Team Hello Blaz, are you sure you are connecting to the server that is appropriate to your current
October 1, 2018 subscription plan ?
at 12:49 pm

 Reply

gentux Hello,
September 28, 2018 I had to init several times as I didn’t notice the password field does not allow pasting from
at 9:32 am clipboard, at least not with Konsole on KDE. I had to type it. Maybe you could make it clear in
step 8 or check the credentials against a test connection while init?

But other than that, it’s great, protonvpn-cli is in AUR and with the init done correctly it just
worked without issues on my manjaro system.

Thank you very much, because until now I had several VPN profiles in my NetworkManager and
was never sure about the current load on the servers before connecting, this ncurses based tool
solves exactly my problem.

 Reply

RX Very frequently I get the message:


September 27, 2018 [!] Error connecting to VPN.
at 6:21 pm Sometimes I get the IPV6 message. The openresolv package is installed. This client used to
work reliably but now it very rarely works.

 Reply

ProtonVPN Team Hello. Please try updating the client using pvpn -update and then re-initiate it using pvpn -init.
October 1, 2018
at 12:45 pm
 Reply

RX Sometime this works. Sometime it does not. It always fails again after a while.
October 13, 2018
at 7:48 pm
 Reply

ProtonVPN Team Hey there, please contact our customer support team as we need to investigate this
October 18, 2018 issue better. https://protonvpn.com/support-form
at 2:00 pm

 Reply
https://protonvpn.com/support/linux-vpn-tool/ 6/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail


trazomtg hi,
September 26, 2018 i have a proton mail free basic and id’like to install proton vpn
at 4:08 pm which document should i use?
regards

 Reply

ProtonVPN Team Hello. Sorry, but we did not catch if you do have a ProtonVPN subscription already?
October 1, 2018
at 1:45 pm
 Reply

Peter_B. It’s great to see Proton put out a CLI tool, but this looks like a lot of extra steps than clicking the
September 22, 2018 standard Network-Manager app and selecting from the list of connections. It took me 5 minutes
at 7:21 am to input all the IP and VPN settings for all of the potential connections and it only takes me 10
seconds to switch from one to another using the NM. I realise many Linux users only use the
command line and this solution fits well with that environment, but for the many users who are
not comfortable with the CLI and wish to have a simple solution, the NM setup is a little more
user-friendly. I think there’s an opportunity for a simple graphical interface to handle the heavy
lifting in the background yet provide a less-complex interface for less-savvy users. I still applaud
the CLI tool; it’s a good step.

 Reply

Danilo Sevilla Connecting…


September 19, 2018 [!] Error connecting to VPN.
at 11:41 pm [!] There are issues in managing IPv6 in the system. Please test the system for the root cause.
Not being able to manage IPv6 by protonvpn-cli might cause issues in leaking the system’s IPv6
address.
Please explain me why i cannot connect ?
Thanks

 Reply

ProtonVPN Team Hello Danilo, it seems that you are missing openresolv config, please use apt-get install
September 20, 2018 openresolv and install this package. After doing so please try connecting again and if you face
at 9:07 am the same issues, contact our customer support team. https://protonvpn.com/support-form

 Reply

mike sudo wget -O protonvpn-cli.sh https://raw.githubusercontent.com/ProtonVPN/protonvpn-


September 18, 2018 cli/master/protonvpn-cli.sh
at 11:54 am responds with this error message
failed: Non-recoverable failure in name resolution.
wget: unable to resolve host address ‘raw.githubusercontent.com’
root@amnesia:~#

any ideas to help progress the install.

 Reply

ProtonVPN Team Hello Mike, if you are under restricted network, it could be that you cannot reach the github.
September 18, 2018 Can you open that link on the browser? If so, it has to work. You can try running a few of
at 12:16 pm these to see if you can reach the website with these commands.
nslookup https://raw.githubusercontent.com 8.8.8.8
nslookup https://raw.githubusercontent.com 1.1.1.1
Please contact our customer support team here for further troubleshooting –
https://protonvpn.com/support-form

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 7/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return
User to protonvpn.com Cant install dialog, cant open
 Facebook    
the config fileTwitter    Reddit
via terminal    ->
either    Mastodon
so the installation
Instagram   
doesnt work.
ProtonMail
September 11, 2018 Any ideas on how to fix this? Using Ubuntu 16.04 Lts (Peppermint 7)
at 5:34 pm

 Reply

ProtonVPN Team Hello, please let our customer support team know about the issues that you are facing here –
September 12, 2018 https://protonvpn.com/support-form
at 9:04 am

 Reply

Bruce I am at the part where it list the servers to choose from in the terminal. I am wondering how to tell
September 10, 2018 which are secure core servers. I see labels like none, free, plus, and plus-tor, but how do I
at 4:47 pm actually tell which ones are secure core servers? Are all the ones labeled plus secure core
servers?

 Reply

ProtonVPN Team Hello Bruce, step 10 in this guide, you can see the most right side column and it has none
September 11, 2018 most of the times in it, search secure core in that column and you will find the appropriate
at 9:01 am servers.

 Reply

Sam Thanks for the easy guide, please add a gui client like windows!
September 9, 2018
at 3:31 pm
 Reply

ProtonVPN Team Hello Sam, Currently we do not have plans for that, but we do know that our customers seek
September 10, 2018 for an easier way of connecting on Linux and we will be working towards that in the future!
at 8:30 am

 Reply

Just some person Wow! I just saw you guys implemented a P2P flag! Did my comment on 4 July play an role? I
September 3, 2018 might be kidding myself but I hope it did. And only two months later. Wow. You guys really do
at 11:40 pm listen! I assume most companies don’t listen to anything users say. This made my day! THANK
YOU PROTON!

 Reply

monrus Hello,
September 1, 2018 Is there a way to automate the connection at startup on a linux workstation?
at 10:39 am

 Reply

ProtonVPN Team Hello Monrus, there are many ways to initiate the script upon machine start on linux, but we
September 3, 2018 do not have an official way that would work for all of the customers, so we advise to check
at 10:16 am accordingly to your distribution.

 Reply

Sam I am very happy with the PVPN interface for use with Windows. But I’m a complete noobie on
August 30, 2018 Linux and the whole set-up is very disappointing to me as: a. I’ve got no idea how to set it up and
at 8:58 am b. there doesn’t appear to be an interface?
If there were some videos to assist it would be a help to me. I have signed up for the PLUS
contract after watching good reviews on YouTube but if I can’t get it to work is there any chance I
can get my money back?

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 8/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

ProtonVPN
  Return Team
to protonvpn.com Hello Sam, it would be the best if you contacted our customer support team
 Facebook    Twitter    Reddit    Instagram  
for the helpProtonMail
Mastodon  
September 3, 2018 regarding the linux client tool, and yes, its a command line tool and not a GUI for now.
at 1:53 pm https://protonvpn.com/support-form

 Reply

benjamin Hello,
August 26, 2018 I the CLI doesnt work on my machine. Every time I want to connect to the VPN I get the following
at 12:18 pm output without any specific error message after I selected a server:
Connecting…
[!] Error connecting to VPN.
Ive tried reinstalling it multiple times and made sure I initialized it without any typos. I also tried
multiple servers and both protocols available.
I currently run Void Linux with NetworkManager and all required packages installed. I have no
problems when connecting with OpenVPN, but the CLI seems like a better option to me.
Do you have any ideas on what I could do to make it work?
Thanks

 Reply

ProtonVPN Team Hello Benjamin, try installing openresolv or connecting to a few different servers. sudo apt-get
August 27, 2018 install openresolv
at 10:45 am

 Reply

Aurelio Hi
August 22, 2018 on the latest version on cli tool for Linux there is an error on disconnection command: after
at 7:11 pm disconnection from ProtonVPN I get an error getting my original IP (not shown) and after entire
connection ADSL go down. I can only reboot my PC. Killswitch is not enabled.
What do you think?

 Reply

ProtonVPN Team Hello Aurelio, this recent release has some issues that our developers are working on right
August 23, 2018 now, for this moment, the only solution is to downgrade the client version by following this:
at 3:25 pm sudo pvpn -uninstall

sudo wget https://github.com/ProtonVPN/protonvpn-cli/archive/v1.1.0.tar.gz

sudo tar -xvf v1.1.0.tar.gz

sudo cd protonvpn-cli-1.1.0

sudo chmod +x protonvpn-cli.sh

sudo ./protonvpn-cli.sh –install

 Reply

Fernando I have got my ProtonVPN connect after I have followed your instructions.
August 29, 2018 Thank You ProtonVPN Team.
at 7:18 pm

 Reply

Aurelio I have just launched ” sudo protonvpn-cli –update” and…


August 22, 2018 [#] Updating…
at 6:41 pm [#] protonvpn-cli has been updated successfully.
But the “protonvpn-cli.sh” file (owner root) isn’t updated: the github version is very different.
My questions are:

https://protonvpn.com/support/linux-vpn-tool/ 9/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

1) What do update the “protonvpn-cli –update” command?


  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
2) Do the “protonvpn-cli.sh” must be overwritten manually every time?
Thank you

 Reply

ProtonVPN Team Hello, pvpn -update command updates the script from the github and installs it. It does not
September 12, 2018 have to be overwritten every time. If you need more information, we suggest contacting our
at 9:10 am customer support team https://protonvpn.com/support-form

 Reply

franke Will this linux client tool installation work for Ubuntu 18.04 as well? If not, can you lead us
August 15, 2018 through the installation under Ubuntu 18.04?
at 9:15 am Thanks

 Reply

ProtonVPN Team Hello Franke, this linux client tool works just fine on Ubuntu 18.04.
August 16, 2018
at 7:47 am
 Reply

Jesse Well done on providing this excellent tool. Been using it for a couple of months now on my
August 14, 2018 Ubuntu 18.04 release. Just a question in regards to the commands: pvpn -cc [country-name]
at 7:23 am [protocol] AND pvpn -cc [server-name] [protocol].
Please can you give an example for the country name and server names as when I try pvpn -cc
[uk] [tcp] it returns with Invalid country name.
Thanks in advanced

 Reply

ProtonVPN Team Hello Jesse, “pvpn -cc [country-name] [protocol]” goes without the [] when executing the line,
September 12, 2018 so in your example “pvpn -cc uk tcp” will work. For the “pvpn -c [server-name] [protocol]” it will
at 9:21 am be the country name abbreviation with a hashtag, for example “pvpn -c uk#1 tcp”

 Reply

Foobar Hey Guys,


August 8, 2018 I use the CLI tool to connect to VPN servers in my Kubuntu installation.
at 9:36 am How would the users be informed of any disconnections from VPN server?

 Reply

ProtonVPN Team Hello. Since the connection is made using terminal and not some sort of system UI, you will
August 9, 2018 have to keep an eye on the terminal window where you connected to see if the connection is
at 8:44 am still active. Also you can always check websites like ipleak.net

 Reply

kes I am using a sub OS of Devuan OS, an offshoot of Debian minus systemD. I have all the files in
August 7, 2018 the Devuan repositoru, but “sysctl.” What the repository does have are the following:
at 12:37 am 1. erlang-cuttlefish — Erlang/OTP library for sysctl-like syntax
2. procps (INSTALLED) — /proc file system utilities
3. puppet-module-duritong-sysctl — Puppet module for Duriting-sysctl
and
4. statgrab — sysctl-style access to system statistics
What can I do?
Kes

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 10/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

ProtonVPN
  Return Team
to protonvpn.com Hello. Have you tried continuing to   install
 Facebook it without
 Twitter sysctl?
    Reddit    Instagram   Mastodon   ProtonMail
August 8, 2018
at 9:45 am
 Reply

Dezel Hi
August 6, 2018 if I want to switch from a ProtonVPN user to another (both free and on same PC) do I have to run
at 5:00 pm “sudo protonvpn-cli -init” everytime and to type the new username/password, right?

 Reply

ProtonVPN Team Hello Dezel, yes, you have to re-initiate the client to tell him that this is the user credentials
August 7, 2018 that you want to use.
at 7:58 am

 Reply

Shane Does anyone know how to create a desktop launcher for the client on Elementary OS?
August 3, 2018 It’s so easy on Mint. B-click and create. Boom.
at 7:00 pm I have searched a myriad of sites and I guess there is something technical I’m just not getting.
Thanks to anyone with any help.

 Reply

Nathan I am having some trouble following the instructions in this script, I have been using your
August 2, 2018 protonvpn product on windows 10 for some time now, with no issues, but now i am going back to
at 11:41 am linux, and I am using slackware 14.2, also i’m not what you’d call the most experienced linux
user, anyhow, I have been going over this setup with a more experienced user at LinuxQuestions
and I managed to get this installed, but it would only work as root, which i believe to be insecure,
and not at all what people would be after especially in terms of security, upon more digging, iwe
have discovered that this is limitation of openVPN, is this correct, ?

Is there some way you guys can re-write this script or something, so it it not locked to the root
account. ?
https://community.openvpn.net/openvpn/wiki/UnprivilegedUser

 Reply

ProtonVPN Team Hello Nathan. For now, we cannot change anything how the script works, as root is required,
August 8, 2018 but we will surely try to figure something out if its possible to rewrite it and use it without it.
at 9:49 am

 Reply

thx I don’t use IPv6 but I get:


August 2, 2018 “Connecting…
at 3:22 am [!] Error connecting to VPN.
[!] There are issues in managing IPv6 in the system. Please test the system for the root cause.
Not being able to manage IPv6 by protonvpn-cli might cause issues in leaking the system’s IPv6
address.”
How do I resolve this?

 Reply

ProtonVPN Team Hello, please try installing this: sudo apt-get install openresolv , and then connecting again.
August 6, 2018
at 7:54 am
 Reply

Nico Hello. After step 8 the terminal asks me “Would you like to use a custom DNS server? (Warning:
July 26, 2018 This would make your VPN connection vulnerable to DNS leaks. Only use it when you know
at 10:25 pm what you’re doing) [Y/N] (Default: N):”. In either case (Y or N), the terminal asks me after steps 9

https://protonvpn.com/support/linux-vpn-tool/ 11/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com : “[!] Error: OpenVPN is already running on this machine.” and I am unable toMastodon
 Facebook    Twitter    Reddit    Instagram  
reach step
   10.
ProtonMail
Please can you provide some help?

 Reply

ProtonVPN Team Hello Nico, that means somewhere there is a VPN client running on your machine already,
July 30, 2018 that is why it cannot create a new connection on top of that. You will have to find that
at 9:06 am connection and terminate in order to launch our VPN. If you do not know of any connection
that is active, please restart the machine and try again, it could be that its cached somewhere.

 Reply

jucu I have Linux mint OS (presumably the same as ubuntu for this purpose). I have downloaded
July 25, 2018 protonvpn-cli tool and associated programs but when I tried to connect to
at 7:39 am raw.githubuserconnect… I got an error 404 Not Found.

 Reply

ProtonVPN Team Hello Jucu, so when you are trying to download the script it seems, please make sure that the
July 30, 2018 link entered is correct, or copy paste it from our guide , otherwise you will get 404.
at 9:09 am

 Reply

Mike Hello there, do you have in plans a linux client like in Windows?
July 24, 2018
at 1:17 pm
 Reply

ProtonVPN Team Hello. For now, no, we do not have any plans to release the UI as in windows.
July 26, 2018
at 11:22 am
 Reply

Brent I’m getting the error telling me i couldn’t connect and i need to check my credentials, but they’re
July 16, 2018 correct and i’m using the free version. This is on a kali linux virtual machine
at 11:30 pm

 Reply

ProtonVPN Team Hello. Please make sure you use the OpenVPN/IKEv2 manual connection credentials which
July 17, 2018 you can find under your profile account.
at 11:09 am

 Reply

JoeSchmack I don’t understand… Why not just give us the OpenVPN config file(s) and let us manage the
July 14, 2018 connection. Why must I run a shell script?
at 5:30 pm Has anyone audited the shell script? What is the shell script installing beyond the OpenVPN
config files?
This seems like a very insecure way to use a secure service…

-JpeSchmack

 Reply

ProtonVPN Team Hello Joe. Using our vpn client is your choice, if you do not trust that, you can always use
July 16, 2018 plain terminal and configuration files to connect to our services.
at 7:38 am https://protonvpn.com/support/linux-vpn-setup/
Also, the script that we use for this client is open source, so feel free to rate it and inspect it
anytime!

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 12/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

Garredto protonvpn.com
  Return Dear ProtonVPN,  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
July 11, 2018 I have to thank you for the Linux ProtonVPN tool. I do however have a problem. I am getting an
at 9:36 am error “There are issues in managing IPv6 in the system. Please test to find the root cause”
I have tried turning off my IPv6 and even resetting it, however, I have had no success.

 Reply

ProtonVPN Team Hello Garred, it could be that you denied the open-resolv.conf installation when firstly initiating
July 11, 2018 the client. Please try installing open-resolv.conf or contact our customer support team for the
at 11:19 am troubleshooting. https://protonvpn.com/support-form

 Reply

Werwolf Works perfectly under Linux Mint 19, thanks!


July 9, 2018
at 4:16 pm
 Reply

Thyme After disabling ipv6 and then trying to connect to ProtonVPN servers again, I get messages:
July 8, 2018 Connecting…
at 2:31 am [!] Error connecting to VPN.
[!] Reason: Authentication Failed. Please check you ProtonVPN OpenVPN credentials.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
Then seeing advice to install resolvconf (which I had done before) I get:
E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Please advise.

 Reply

ProtonVPN Team Hello Thyme, please install openvresolv.conf and retry the connection again. If that does not
July 10, 2018 work, reinitiate the client using pvpn –init
at 8:06 am

 Reply

Just some person Is there a way to specify to connect just to the fastest P2P-friendly server? Or even simply
July 4, 2018 connect to any P2P server at random? If I use protonvpn-cli -f, I may be connected to one that
at 9:53 pm doesn’t allow P2P traffic and then torrent files will fail, correct?

 Reply

ProtonVPN Team Hello. Sadly for now we do not have an option like that in our client tool for Linux.
July 5, 2018 Nonetheless, we will mark this as a suggestion for our developers to consider.
at 11:18 am

 Reply

Just some person Thank you kindly! Also, I appreciate you adding the -l flag to get right back to the last
August 5, 2018 server chosen. I believe that’s a recent addition, and it’s pretty useful!
at 5:00 am

 Reply

Just some person Good people, is there a way to automate it so this starts up right away on bootup and won’t get
July 4, 2018 any IP address except the one from ProtonVPN? Using this on a Raspberry Pi.
at 9:39 pm

 Reply

ProtonVPN Team There are many different ways to automate it, but currently we do not have an official one.
July 5, 2018 You should lookup on how to start a script on boot with Raspberry, since our cli tool is only a
at 11:20 am python script.

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 13/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com
Just some person This tool is great! I’m using it Facebook    Twitter
on a Raspberry Pi.   I was     Instagram
wondering
 Reddit    Mastodon
if I’m running    over
headless ProtonMail
July 4, 2018 SSH or VCN, could it disconnect when I close SSH or VCN sessions? (I know it stays on when
at 7:15 am closing terminal sessions)
Also, how can I ensure there’s no leaks with the Pi?

 Reply

ProtonVPN Team Hello. Disconnecting from the SSH session should not disconnect the VPN itself on the
July 4, 2018 device. Also, for no leakage, you can use command “curl https://ipleak.net/json/” to see what
at 7:58 am IP ipleak website sees.

 Reply

Just some person Thank you so much!


July 4, 2018
at 9:37 pm
 Reply

Thorn I don’t like the name very much. Does it really need to be that long and include the ‘-‘ sign?
July 3, 2018
at 10:12 pm
 Reply

ProtonVPN Team Hello. Please provide more constructive feedback as we dont quite understand to what name
July 4, 2018 you are referring to. All of the protonvpn-cli commands can be used with “pvpn” , for example,
at 7:44 am “pvpn -c” will do the same as Protonvpn-cli –connect.

 Reply

Autostart? Hi,
June 30, 2018 One question and one observation:
at 4:45 am 1. How can I autostart the VPN connection in Linux? I have Linux Mint (but am no Linux expert)
and each time I reboot I have to open a Terminal, enter sudo protonvpn-cli -connect, choose my
server, choose UDP, then it connects. Is it possible to automate this?
2. I chanced upon an in-depth IP disclosure page http://ipleak.com/full-report/ and noticed that
websites can tell that I am using a VPN because my system time was different to the IP
timezone. That explained why Google search would not work (I use duckduckgo but sometimes
have to resort to Big Brother). I synchronized my system time with the VPN server time and now
Google search works, and other websites will have to dig a bit deeper to see that I am using a
VPN. Maybe you could mention this in your setup instructions.
Thanks for the VPN and encrypted email services.

 Reply

ProtonVPN Team Hello! Currently we do not have a specific method that we would recommend using to start
August 8, 2018 the linux client on boot, but there are many different ways for different distributions that you
at 10:02 am can look up, just search “starting a script on …” .
As per second observation, we appreciate giving us a heads up, this might become useful
information for some of our customers, bet to be honest, we have not heard almost any
reports of machine time sync issues with VPN server. They can detect that its a VPN, since
the IP itself, since its shared IP, does bring more traffic than a single user would and its ISP is
a server host, so its not that hard to identify VPN or proxy servers in general.

 Reply

Adrian Okay, I found a way for the connection error to go away.


June 29, 2018 On https://protonvpn.com/support/linux-vpn-setup/ it talks about resolvconf (I imagine as
at 4:09 pm opposed to openresolv) so I just had to “sudo apt-get update && sudo apt-get install resolvconf”
and now it connects.
I was trying with a new VM and noticed the following:

https://protonvpn.com/support/linux-vpn-tool/ 14/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com sudo apt-get update && sudo apt-get install openvpn
 Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
[…]
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
easy-rsa libpkcs11-helper1 opensc opensc-pkcs11
Suggested packages:
resolvconf

If this is not a security impairment, maybe it should be mentioned above.

 Reply

brito the last step off installation,after connecting , it gives error . what can y do? thank you.
June 26, 2018
at 9:49 pm
 Reply

ProtonVPN Team Hello Brito. It would be the best if you contacted our customer support team!
June 27, 2018 https://protonvpn.com/support-form
at 7:09 am

 Reply

dee Try using OpenVPN/IKEv2 Username and Password that are given in your account page.
June 29, 2018 Just copy and past.
at 12:18 am

 Reply

Anon Fellas I was having the same problem with the resolv.conf fileand internet connection failure. I
June 25, 2018 tried reinstalling resolvconf but it gave me an error at the end saying it was immutable it then
at 8:00 am advised me to run 2 commands one starting with chattr and the other dpkg –connect resolvconf
(unfortunately after the terminal gave the list of vpns it no longer shows me the previous
command history) . After running those commands I tried reinstalling resolvconf “apt-get install
resolvconf” and the errors where gone. I then went on to reconnect to my wifi “service network-
manager restart” and immediately after ran the command “protonvpn-cli -connect” and now
everything works and I no longer have dns leaks! I hope this helps fellas!

 Reply

sam I am protonmail professional level subscriber. I am running pvpn on gentoo. Ever since I up
June 22, 2018 graded pvpn several days ago I am getting the follwing error message:
at 8:06 pm [!] Error: OpenVPN is already running on this machine.
I am using the correct openvpn user name and password. I have also reinstalled and re initialized
pvpn.
Any guidance in correcting this issue would be appreciated.

 Reply

ProtonVPN Team Hello Sam, the error is what it states, it sees that there is some other VPN software or service
June 25, 2018 running at the same time and running two of them, using the cli, is impossible right now. Did
at 7:46 am you try restarting the pc? Maybe something is cached by your system.

 Reply

Steve Hi – I have an error when connecting.


June 20, 2018 Running Ubuntu 18.04
at 8:23 pm initialized correctly with “sudo protonvpn-cli -init. Then I disabled ipV6 with the additions to sysctl
as given above. But when I try to connect to VPN, it complains that I don’t have ipv6 enabled! Is
it necessary to re-enable ipv6 to get a successful login?

https://protonvpn.com/support/linux-vpn-tool/ 15/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com In detail:  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail


connect “sudo protonvpn-cli –connect
I chose a server, chose udp protocol, entered my correct protonvpn openvpn credentials ( not
protonvpn access credentials ) — but after some time with “Connecting .. ” prompt, it returns
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
Is it necessary to re-enable ipv6 to get a successful login?

 Reply

Steve followup: I installed openresolv per your advice to another poster. Now able to connect the
June 20, 2018 VPN. what are the (in)security risks in using openresolv? Thanks!
at 8:56 pm

 Reply

ProtonVPN Team Hello Steve, openresolv has no security risks and is required to install whenever installing
June 21, 2018 the pvpn tool. You’ve must have pressed no where it was required. It manages the DNS
at 3:07 pm addresses, when you connect to the VPN server and disconnect.

 Reply

NotYour$!t I get to the “Connecting…” point and it fails


June 20, 2018 Connecting…
at 6:20 am [!] Error connecting to VPN.
[!] Reason: Authentication Failed. Please check you ProtonVPN OpenVPN credentials.

Checked, double checked, changed password, same thing.

 Reply

ProtonVPN Team Hello. Are you sure that you are using the Openvpn credentials for the client tool? If so,
June 20, 2018 please contact our customer support team for detailed investigation!
at 7:37 am https://protonvpn.com/support-form

 Reply

Migougou Hello. I had this error when I make ctrl-p (copy then paste) my credentials from my protonvpn
June 22, 2018 account. Then I typed directly my credentials in the terminal and now all is ok.
at 3:28 pm

 Reply

John Is there a way to directly change the vpn server without disconnecting/reconnecting with ‘ sudo
June 13, 2018 protonvpn-cli -disconnect’ / ‘sudo protonvpn-cli -connect’ ?
at 7:13 am

 Reply

ProtonVPN Team Hello John, you can try using pvpn -f to reconnect to the fastest. If it says that the openvpn
June 13, 2018 client is already running, then you will have to disconnect manually and reconnect to the vpn
at 7:44 am server.

 Reply

DavidN I’ve got everything installed but when I connect I get:


June 6, 2018 protonvpn-cli -c
at 10:21 pm Connecting…
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.

I don’t have/need IPv6?

https://protonvpn.com/support/linux-vpn-tool/ 16/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

 Reply
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail

DavidN I did get protonvpn working using the NetworkManager-openvpn-gnome method. I thought I
June 10, 2018 once saw a guide describing the naming conventions for the configuration file names. Can
at 4:02 pm you post it again?
Thanks!

 Reply

ProtonVPN Team Hello David, its pretty simple. The first to letters stand for the Country, if it has more letters
June 13, 2018 going afterwards, then its a state in that country, for example, lets say us-il-
at 8:02 am 01.protonvpn.com , that would be that the server is in the united states and in Illinois and
its the 1st server in that state. if there are more servers in the same location, they will go
after that one numerically, 2,3,4 and so on.

 Reply

ProtonVPN Team Hello David, please try installing : sudo apt-get install openresolv
June 19, 2018
at 7:55 am
 Reply

Lighuj Hi, does the Linux client already implement the failsafe mechanism? So that, if for some reason
June 6, 2018 the connection to VPN drops, the Linux client stops being connected to the internet.
at 10:58 am

 Reply

ProtonVPN Team Hello, Sadly, but no. As the killswitch is hard to implement to be working on all of the linux
June 6, 2018 distributions, but we are surely looking for a way to do that!
at 11:03 am

 Reply

bluetide I think its easy to create a kill switch with gufw/ufw and even better than a vpn app kill switch.
June 30, 2018 This should give you an idea on how to do it. https://www.smarthomebeginner.com/vpn-kill-
at 12:50 am switch-with-ufw/

 Reply

Marcus Hello,
June 6, 2018 What Ip does sudo protonvpn-cli -connect pull the servers from? I need to whitelist it in my
at 10:43 am firewall rules. Thank you

 Reply

ProtonVPN Team Hello Marcus, please contact our customer support team and we will let you know about it.
June 13, 2018
at 8:03 am
https://protonvpn.com/support-form

 Reply

KDE user Hi! I tested Kubuntu 18.04 LTS (clean install) and this Linux client tool is the ONLY WAY for me to
June 1, 2018 have no DNS leaks. If i connect with standard OpenVPN client or KDE NetworkManager – I have
at 11:30 pm stable DNS leaks.
But anyway this Linux client tool is a nice thing!

 Reply

Ali Hello, I just started to have an error message while trying to connect on Ubuntu 16.04 using
May 31, 2018 client-tool… I successfully complete all the process until selecting the server, and when I hit the
at 8:42 pm OK button I receive this message :
[!] Error connecting to VPN.

https://protonvpn.com/support/linux-vpn-tool/ 17/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com [!] There are issues in managing IPv6 in the system. Please test the system for
 Facebook    Twitter    Reddit    Instagram  
the root cause.
Mastodon   ProtonMail
Not being able to manage IPv6 by protonvpn-cli might cause issues in leaking the system’s IPv6
address.

Thanks..

 Reply

ProtonVPN Team Hello Ali, are you sure you have entered the correct credentials of your OpenVPN username
June 4, 2018 and password in to the tool when using pvpn -init?
at 8:55 am

 Reply

Uygar I think it’s related to the VPN bans here in Turkey (Ali is a Turkish name soo I assumed he
June 9, 2018 was from Turkey), I’m getting the same error under Ubuntu 18.04 with this client.
at 7:30 pm

 Reply

ProtonVPN Team Hello, are you able to connect using the terminal or network manager? Please contact
June 13, 2018 our support team, it will be easier for us to troubleshoot your issue.
at 8:07 am https://protonvpn.com/support-form

 Reply

sas such user-friendly


May 30, 2018
at 12:11 pm
 Reply

James Hi there,
May 29, 2018 I am also getting this error:
at 6:31 pm sudo protonvpn-cli -c
[!] Error: OpenVPN is already running on this machine.
And yes, I have a PiVPN Server running. But why is your client doing this? I want my own
OpenVPN server running for my clients to be able to connect and at the same time this machine
should have the possibility to make a client VPN connection to your servers…why shouldn’t this
be possible and how can we fix that?

 Reply

ProtonVPN Team Hello James, that`s most likely the nature of the OpenVPN . You can test that using not our
June 6, 2018 cli-tool, but the Terminal connection method from here and see if you get the same error
at 11:06 am message. https://protonvpn.com/support/linux-vpn-setup/

 Reply

J All I get is Error connecting to VPN…My os is Kali-Rolling …any help is appreciated . thanks
May 28, 2018
at 1:16 am
 Reply

ProtonVPN Team Hello. Could you please make sure that you are using your OpenVPN credentials within the
May 28, 2018 client-tool. You can find them on our website, when you log in with your account. They are
at 6:57 am called OpenVPN/IKEv2 credentials.

 Reply

J Yes , I used the correct credentials. This is what I get.


May 28, 2018
at 3:16 pm
[!] Error connecting to VPN.
[!] There are issues in managing IPv6 in the system. Please test the system for the root
cause.

https://protonvpn.com/support/linux-vpn-tool/ 18/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com Not being able to manage IPv6 by protonvpn-cli might cause issues inMastodon
 Facebook    Twitter    Reddit    Instagram  
leaking the
   system’s
ProtonMail
IPv6 address.
thanks for any help.

 Reply

ProtonVPN Team Hello J. please try installing the: sudo apt-get install openresolv
June 19, 2018
at 7:56 am
 Reply

J Nope still nothing..still says IPv6 issues


July 3, 2018
at 5:29 am

ProtonVPN Team Hey, please contact our customer support team for more in depth troubleshooting.
July 3, 2018 https://protonvpn.com/support-form
at 7:31 am

K Problem installing. Received message


May 27, 2018 “Reading package lists… Done
at 5:10 pm Building dependency tree
Reading state information… Done
E: Unable to locate package sysctl ”
I went ahead and tried connecting via the VPN country list but I was unable to. I am just
wondering if this might have been the reason. Running Linux Mint, I don’t know where I would go
to get the package ” sysctl ”

 Reply

ProtonVPN Team Hello. Sysctl package is embedded in almost all of the linux platforms so this what you get
May 28, 2018 while trying to install is totally normal. Are you sure that you are using the OpenVPN
at 6:59 am credentials required to make a connection to the VPN server? You can find them when you
log in to your account on our page.

 Reply

J Smith May 27, 2018 K reported “E: Unable to locate package sysctl”
August 1, 2018 May 28, 2018 ProtonVPN Team replied “Sysctl package is embedded in almost all of the
at 11:52 pm linux platforms so this what you get while trying to install is totally normal.”
I don’t understand. (1) Since the Sysctl package is embedded in almost all of the linux
platforms, why did K get that error and why would it be normal? (2) In a situation where
sysctl is not installed, how and from where do we download it?
Thank You.

 Reply

ProtonVPN Team Hello. Please try proceeding without Sysctl installment. It should be as good to go too.
August 8, 2018
at 9:50 am
 Reply

K I am having problems connecting to the VPN using Linux Mint and the Terminal command line.
May 27, 2018 The problem appears after I enter “sudo protonvpn-cli -connect” I get the list of Proton VPN
at 8:14 am servers to choose, I choose one. Next screen is a choice of UDP or TCP, then I choose one.
Next, a message comes up saying connecting. I get a reply message saying Error Connecting to
the VPN. Ive tried connecting to a number of the VPN servers, choosing either UDP and TCP
without luck. What am I doing wrong?

 Reply

ProtonVPN Team Hello. Could you please make sure that you are using your OpenVPN credentials within the

https://protonvpn.com/support/linux-vpn-tool/ 19/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

May 28, 2018 client-tool. You can find them on our website, when you log in with your account. They are
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
at 7:00 am called OpenVPN/IKEv2 credentials.

 Reply

K Yes I am using my OpenVPN credentials, and I made sure I did not use my ProtonVPN
May 29, 2018 login username or password information as per the Account pages information provided
at 7:01 am (what to do and what not to do).. I am able to log in, I am able to select which plan I am on,
I am able to select the country IP, I am able to start the connection, then I get the message
” Connecting… [!] Error connecting to VPN. ”

 Reply

ProtonVPN Team Hello. Please contact our customer support team and we will do our best to help you
June 6, 2018 out with the connection issues on your Linux machine! https://protonvpn.com/support-
at 11:08 am form

 Reply

Joop I used to be able to connect to ProtonVPN on openSUSE Tumbleweed but for some reason, the
May 23, 2018 VPN has stopped working. It will still connect and I get confirmation of a new IP address. But
at 1:20 pm when I issue the command “sudo pvpn –status” the last line always shows me as disconnected. I
can’t browse or connect to mail and it appears DNS isn’t working, even though /etc/resolv.conf
gets updated.

Any thoughts?

 Reply

ProtonVPN Team Hello Joop, please contact our customer support team and we will do our best to investigate
June 6, 2018 this issue with your linux device! https://protonvpn.com/support-form
at 10:53 am

 Reply

DSrocks Hey, so everything worked great until I got an error about the program not being able to manage
May 21, 2018 IPv6 connections, can you help me figure out the issue?
at 10:27 pm

 Reply

DSrocks Oh, and when I try running it through root (sudo -s, then running protonvpn-cli -c) it just says
May 21, 2018 “Error Connecting to VPN”
at 10:32 pm

 Reply

ProtonVPN Team Hello there. If the connection was fine before and started not working right now, we would
May 22, 2018 suggest to re-initiate it and type in “pvpn -init” , then enter the correct openvpn credentials and
at 7:40 am try connecting again!

 Reply

flauvert User of Linux Mint 17.3. I have subscribed the Free plan. I connect to the net over a UMTS
May 21, 2018 dongle. After several attempts to connect to VP server I get the message (!) Error connecting to
at 5:11 pm VPN. Have initialized the plan but the issue persists.

 Reply

ProtonVPN Team Hello. Please contact our customer support team for troubleshooting.
June 4, 2018 https://protonvpn.com/support-form
at 9:09 am

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 20/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return
Will to protonvpn.com Thank you. I’d tried in the past    Linux
to get my
 Facebook VM
Twitter    Reddit   but
connected    had
it always
Instagram a leak,   nowProtonMail
Mastodon that’s
May 20, 2018 gone. Do you have plans for a GUI for this in the future?
at 8:04 pm

 Reply

ProtonVPN Team Hello Will, we do not currently have any plans for the GUI as there are other priorities right
May 21, 2018 now in our services. But we wont forget our dearest linux users for sure!
at 7:46 am

 Reply

jack So the installation went fine. I’ve connected to the vpn via Network Manager a few times. I am
May 19, 2018 trying to set up an automatic connect file, via crontab, so I figured I would use the
at 8:49 pm

sudo protonvpn-cli -connect

But I get this error message


sudo protonvpn-cli -connect

For no apparent reason. I am using the correct username/password from the account page.
Nothing else was giving me an error message.

 Reply

ProtonVPN Team Hello Jack, you seem to have pasted the wrong error response. No worries. Have you tried to
May 21, 2018 re-initiate the client again? You can use shorter commands for our client like pvpn -init , or
at 9:00 am pvpn -c ; pvpn -f

 Reply

Anna Hello and thanks for your reply,


May 21, 2018 After playing around further with this issue, I noticed that I cannot connect to any of the
at 9:48 am available servers by using UDP protocol.
I used to be able to connect by typing “sudo protonvpn-cli -f” and it would auto-connect
me. However, now I have to do “sudo protonvpn-cli -c”, select a server and connect to it
using TCP. The connection will then be successful.
However, if I do try to connect to the servers using UDP the connection will fail, and it will
provide the same error message.

 Reply

Anna Oh it looks like I replied to the wrong comment, my apologies!


May 21, 2018
at 9:51 am
 Reply

ProtonVPN Team Hello Anna, no worries about the comment. It might be that the network that you are
May 21, 2018 currently in is not accepting the UDP protocol for one simple reason, the 1194 port
at 1:29 pm could be blocked (which UDP uses to connect you) and TCP (443 port) connects
because on most networks, its open and functional.

 Reply

jack ah yes, that is a mistake


May 22, 2018
at 7:41 pm
[!] Error connecting to VPN.

Is the error message I get. I ensured I have the right username and password going in and
have tried to reinitialize protonvpn

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 21/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return tojack
protonvpn.com when i use the login on my account after I login at the protonvpn.com home
 Facebook    Twitter    Reddit    Instagram  
page, it ProtonMail
Mastodon  
gives
May 22, 2018 me the aformentioned error message.
at 7:52 pm

When using the login I used to get into that account it says to enable ipv6 manually,
although it already is enabled.

 Reply

ProtonVPN Team Hello Jack, this means that our client cannot manage your IVP6 settings automatically,
June 6, 2018 IPV6 should be enabled at all times since the client during the connection will disable it
at 10:59 am and when disconnecting will change back to default and yes you have to use the
openvpn credentials, not the ones you use to log in to our website.

 Reply

jack My IPv6 is automatically enabled though through my vpn and router settings. How
June 11, 2018 would I get the tool to recognized the settings?
at 3:19 am

ProtonVPN Team Hello Jack, please contact our customer support team for more convenient
June 13, 2018 troubleshooting. https://protonvpn.com/support-form
at 11:47 am

Anna Okay, after reinstalling protonvpn I get this:


May 19, 2018 Fetching ProtonVPN Servers…
at 7:53 pm Connecting…
[!] Error connecting to VPN.

 Reply

ProtonVPN Team Hello Anna, please make sure you use the right credentials of OpenVPN from your account
May 21, 2018 and re-initiate the connection when making sure the you enter them correctly. pvpn -init
at 7:51 am

 Reply

Anna Hello,
May 19, 2018 When I try to connect to a server I get the following errors:
at 7:44 pm Fetching ProtonVPN Servers…
Connecting…
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
IPV6 is enabled, however.
Last time it worked with no issues, however after re-installing my system, I was never able to
connect again.

 Reply

Nazar [!] Error connecting to VPN


May 16, 2018 I had a randomly generated password with non-alphanumeric characters. Something was getting
at 3:27 am lost when pasting the password. Logs showed openvpn authentication failure. Changing the
password to all alphanumeric characters resolved the issue.
ProtonVPN team, would be great if authentication failures would be reported as such instead of a
generic message.

 Reply

ProtonVPN Team Hello Nazar, Thank you for the feedback and we are happy to hear that it is fixed for now. The
May 17, 2018 logging is done by OpenVPN and you can change the verbose level in the configuration file
at 7:39 am
https://protonvpn.com/support/linux-vpn-tool/ 22/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com (server file) that you are connecting to. Some OpenVPN clients have settings
Facebook    Twitter    Reddit    Instagram  
where you
Mastodon  
can
ProtonMail
change the verbose in the UI.

 Reply

Arthur Hello, I keep getting a, “[!] Error: python is not installed. Install `python` package to continue.”
May 7, 2018 after I “sudo ./protonvpn-cli.sh –install”. I try “sudo apt-get install python3” but I still get the same
at 6:23 pm error message after re-entering “sudo ./protonvpn-cli.sh –install” again afterwards. What am I
missing? Thanks.

 Reply

ProtonVPN Team Hello Arthur. We already communicated via the emails, could you please try this?
May 17, 2018 $ which python
at 7:44 am If there is an error, then there will be an error.
Then search for the python executable path, and symlink it to /usr/bin/python.

 Reply

Marc Does this connect on boot, or do I have to manually start it?


May 6, 2018
at 4:11 am
 Reply

ProtonVPN Team Hello Marc, you have to start the client manually as for now there is no option to connect on
May 7, 2018 boot.
at 7:45 am

 Reply

Mark Works perfectly on Debian 9. Is there a way to make it connect on boot?


May 1, 2018
at 5:12 pm
 Reply

ProtonVPN Team Hello Mark, currently we do not have a way for that, sorry .
May 2, 2018
at 7:59 am
 Reply

valcik My fresh Lubuntu 18.04 LTS often ends up with new IP that doesn’t match the Exit IP listed next
May 1, 2018 to any of the free NL and US servers I’d choose from the fetched server list, after connecting
at 4:25 pm successfully. Note that everything worked flawlessly in Ubuntu 16.04 LTS on the same machine
for a couple of weeks – no matter what server did I choose to connect, new IP did match the
listed Exit IP every time.

Just letting you know, and thank you for this handy way to strenghten my online privacy, dear
PVPN team!

 Reply

ProtonVPN Team Dear Valcik, thank you for reaching us out, if you could contact our customer support team
May 3, 2018 with this information, we will gladly do our best to dig in to this deeper.
at 2:14 pm https://protonvpn.com/support-form

 Reply

Keith Do you have Ubuntu 18.04 specific instructions?


April 30, 2018 Thanks
at 7:43 pm

 Reply

ProtonVPN Team Hello Keith, Ubuntu 18.04 should work the same way as for ubuntu 16.04 LTS.
May 2, 2018
https://protonvpn.com/support/linux-vpn-tool/ 23/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

at 9:15 am Reply
 ProtonMail
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  

Alexander Just installed the protonVPN cli and it can’t connect:


April 27, 2018 [!] Error connecting to VPN.
at 12:42 pm Because there is no explanation why it can’t connect, I’m a bit stuck.
Credentials are correct and no FW rules that block.

 Reply

Alexander NVM……figured it out…..connection is set.


April 27, 2018
at 12:56 pm
 Reply

ProtonVPN Team Hello Alexander, glad to hear that it is set right now, so what was the issue in the first
April 30, 2018 place?
at 7:40 am

 Reply

Oliver I am receiving the following error message when trying to connect to one of your servers:
April 27, 2018 Connecting…
at 12:20 pm [!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
How do I enable the connection manually, using Linux Mint 18.3?
Thanks for your help.
Oliver

 Reply

ProtonVPN Team Hello Oliver, could you please contact our customer support team with your information and
May 3, 2018 we will do our best to help you out! https://protonvpn.com/support-form
at 2:10 pm

 Reply

James Last line : “Closing Terminal window will not disconnect the VPN connection. Use “protonvpn-cli -
April 23, 2018 disconnect” to close the VPN connection.”
at 10:24 am Please change et add “sudo” : (protonvpn-cli -disconnect -> sudo protonvpn-cli -disconnect)

 Reply

ProtonVPN Team Hello James, thank you for your attention, we’ve fixed it.
April 23, 2018
at 11:40 am
 Reply

James I’m on UBUNTU and I found the solution (for me) concerning :
April 23, 2018 [!] Error connecting to VPN.
at 10:01 am [!] There are issues in managing ipv6 in the system. Please test the system for the root cause.
Not able to manage ipv6 by protonvpn-cli might cause issues in leaking the system’s ipv6
address.

First I applied the following : https://protonvpn.com/support/disable-ipv6-protocol-linux/ (but I


don’t know if it really had an impact)

You MUST USE the OPENVPN username and password ! (Log in to the ProtonVPN dashboard
and click on Account tab to find it).

NOT NOT NOT your protonVPN login and password !!

https://protonvpn.com/support/linux-vpn-tool/ 24/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  


Reply
 ProtonMail

nn thank you for this, you just spared the support a ticket
June 7, 2018
at 9:16 am
 Reply

Toni Hello,
April 22, 2018 I have a problem with connecting to the protonvpn-cli. Every time i try to connect it just says “[!]
at 2:31 pm Error: There is an internet connection issue.”
I already disabled/enabled wifi but it didn’t helped.

 Reply

Toni ps: I am currently using Linux Mint 18.3 on a Lenovo Thinkpad T430.
April 22, 2018
at 2:41 pm
 Reply

ProtonVPN Team Hello Toni, may we ask, do you have Firejail installed or any other sort of firewall or security
April 23, 2018 package? This could cause the issue of not being able to allow our client to fetch for the
at 8:41 am servers for you to connect to.

 Reply

phur Just got it running on Mint 18.3 Thinkpad T410 (not that I think the hardware’s got much to
April 24, 2018 do with it).
at 4:03 pm Caveat… Not sure which of these steps got it running but, at some point, one of them
did…
~I changed the IPV6 to “IGNORE” in Network Connections Manager
~ >_ service networking restart
~Set a UFW rule for port 1194/UDP ALLOW anywhere (inc v6)
~(weirdly, it only seemed to work since I did this)… Changed the OpenVPN password in
mail.protonmail.com/vpn and then manually udpated the OpenVPN password on my box:
sudo nano ~/.protonvpn-cli/protonvpn_openvpn_credentials
I’d originally changed the password to a preset algo in KeePass that contains special
chars. When running protonvpn-cli -init it appears that it’s escaped a character. Because
there was a discrepancy when I checked what I’d entered against what was in the file. It
was only after I changed the password (on protonmail.com) to something simple (10 char
alphanumeric), that it started working. I’ve since changed it a 30+ Alphanumeric and it’s
still working.
Like I say, I’m not sure *which* of these steps got it working, (if any – maybe you guys did
something in the background while I was doing this) but it’s now working for me.
HTH.

 Reply

phur *Sorry, posted reply to wrong comment.


April 24, 2018 But while I’m here, I also ran >_ sudo protonvpn-cli -update
at 4:12 pm It did have an update ready.

 Reply

santosh badola I do all the information provided by you but I am not able to use protonvpn (free plan)
April 20, 2018 It shows error in connecting to VPN. How I connect it.
at 12:57 pm

 Reply

ProtonVPN Team Hello Santosh, are you sure that you are using the correct credentials for openvpn from your
April 23, 2018 account page? https://account.protonvpn.com/settings
at 7:56 am

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 25/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

systemd-tty-ask-
  Return to protonvpn.com Kubuntu 17.10. I simply dideverything as I should, I can select servers normally,
Facebook    Twitter    Reddit    Instagram  
but whenProtonMail
Mastodon  
this
password-agent tries the final connection, it returns me this error which I do not know how to solve:
April 20, 2018 ” Please enter password with the systemd-tty-ask-password-agent tool! ”
at 4:18 am

 Reply

ProtonVPN Team Hello, here is the ubuntu forum with the provided possible solution to your issue.
April 23, 2018 https://askubuntu.com/questions/765951/starting-openvpn-error-please-enter-password-with-
at 9:00 am the-systemd-tty-ask-password#809861

 Reply

J I followed the instructions and I got the following error code.


April 19, 2018 Connecting…
at 9:42 pm [!] Error connecting to VPN.
[!] There are issues in managing IPv6 in the system. Please test the system for the root cause.
Not being able to manage IPv6 by protonvpn-cli might cause issues in leaking the system’s IPv6
address.

I’m using Linux Mint 18.3 with Cinnamon on a Lenovo Yoga 2 Pro.
I don’t know how to go to github and send a message to your programmers so…
Is there some sort of debug mode that I can get more information on this error??

 Reply

ProtonVPN Team Hello, could you please make sure to run protonvpn-cli -init again ant inform our support if that
April 23, 2018 was successful to connect afterwards or not ? https://protonvpn.com/support-form
at 9:01 am

 Reply

Mike I would like to confirm that this current LInux Client Tool will still be compatible with the upcoming
April 19, 2018 release of Ubuntu 18.04?
at 4:20 pm

 Reply

ProtonVPN Team Hello Mike, as we tested it on our VM machine, it is functioning as it normally would. If it
April 20, 2018 will get not supported after some updates, we will adjust the cli tool accordingly to support it.
at 9:03 am

 Reply

Rob On Fedora 27, I got a couple of errors relating to ipv6, and then it took to failing with the unhelpful
April 19, 2018 [!] Error connecting to VPN.
at 7:26 am I have got it to run on a Fedora vm in Qubes OS.
ps. Fedora:
“yum – /usr/bin/yum to /usr/bin/dnf redirecting executable
YUM executable is now powered by DNF. If you are sure you really
want to use YUM, it is still available as yum-deprecated.”

 Reply

ProtonVPN Team Hello Rob, make sure to enter correct credentials from OpenVPN logins provided here
April 23, 2018 https://account.protonvpn.com/settings
at 12:34 pm

 Reply

ProtonUser Maybe this info will be useful to the devs…


April 18, 2018 Last night I ran through these steps and after selecting ‘udp’ in the curses interface the ipv6 error
at 3:38 am popped up:
Connecting…
[!] Error connecting to VPN.

https://protonvpn.com/support/linux-vpn-tool/ 26/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com [!] There are issues in managing ipv6 in the system. Please test the system for
 Facebook    Twitter    Reddit    Instagram  
the root cause.
Mastodon   ProtonMail
Tried it again tonight, now it works and was verified by checking the ipleak link. I’m running Arch
and didn’t have to make any ipv6 or any other extra configuration changes. Looking forward to
more testing, so far so good!

 Reply

ProtonVPN Team Hello, thank you for letting us know about the issue, we will do our best to look in to it and
April 20, 2018 reproducing it.
at 9:26 am

 Reply

Anton I’m currrently on the latest version of ParrotSec OS (with working internet), yet I still get this error.
April 16, 2018 What can I do?
at 10:33 pm └──╼ $sudo ./protonvpn-cli.sh -c
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/__init__.py”, line 339, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 382, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/__init__.py”, line 339, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 382, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/json/__init__.py”, line 339, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 382, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
[!] Error: There is an internet connection issue.

 Reply

ProtonVPN Team Hello Anton, we are currently investigating the situation with ParrotSec, since we can
April 20, 2018 reproduce it.
at 9:21 am

 Reply

proph Hi, i have an issue too but without all this stuff i just have
April 21, 2018 [!] Error: There is an internet connection issue.
at 10:41 pm I already use protonvpn-cli in the past on parrotOS and all was good but i bought a new pc
so new installation of parrotOS and impossible to connect. due to connection issue. Can
you resolve that with them? because i pay a plus subscription and i need to use it. Thanks
for the job done

 Reply

ProtonVPN Team Hello Proph, we are currently investigating the parrotSec issue with our linux tool client.
April 23, 2018

https://protonvpn.com/support/linux-vpn-tool/ 27/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

at 7:13 am Reply
 ProtonMail
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  

proph sorry for multiple message but seems to be a python version error because he used
April 21, 2018 python2.7 and you wrote on github tha we need python3 so start here and the other
at 11:05 pm problem with parrotOS( and i was faced to this problem) is the sandbox FIREJAIL so you
have 2 solutions:
1/ Make a firejail-profile for protonvpn (the harder solutions when like me you dont know
anything about firejail)
OR
2/ sudo apt autoremove firejail
I did the second options because i have others app which bug with firejail. After i remove it,
thats work perfectly.
If protonvpn or parrot make a firejail profile or at least a guide

 Reply

proph do you have python3 installed?


April 21, 2018
at 10:42 pm
 Reply

Pavan You have made a typo in the solus package management command. It’s “eopkg” not “eopgk” as
April 14, 2018 written above.
at 9:34 pm

 Reply

ProtonVPN Team Hello Pavan, good spotting! We fixed it, thank you.
April 16, 2018
at 7:22 am
 Reply

ʟ·ɪɴᴀᴅᴀᴩᴛé IF YOU CAN’T CONNECT,


April 14, 2018
at 5:08 pm
THINK TO USE YOUR “OpenVPN / IKEv2” IDs VISIBLE ON YOUR ACCOUNT AT :
https://account.protonvpn.com/settings

 Reply

Guest Hi! There is NO “sysctl” package in Ubuntu 18.04 (beta2).


April 14, 2018 It’s important to install this package?
at 4:58 pm

 Reply

ProtonVPN Team Hello, Yes, its required to have that package installed for the client to run and connect
April 16, 2018 successfully.
at 7:21 am

 Reply

Mark It is included with procps


April 18, 2018
at 1:42 am
 Reply

Nazar procps instead of sysctl package on Debian 9 as well.


May 16, 2018
at 3:21 am
 Reply

Rob Hi,
April 12, 2018 I am unable to connect I get the following:
at 9:52 pm Connecting…
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
Thanks,

https://protonvpn.com/support/linux-vpn-tool/ 28/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  


Reply
 ProtonMail

ProtonVPN Team Hello Rob, please contact our customer support team with the information of you OS version
April 13, 2018 and what else have you tried to perform to establish the connection –
at 7:52 am https://protonvpn.com/support-form

 Reply

Rob Ok thanks, will do that. Also I was wondering if you have any plans to release a GUI
April 14, 2018 version for Linux just like you have for Windows and Android?
at 3:00 pm Thanks.

 Reply

ProtonVPN Team Hello Rob, it is in our plans, but not as a main priority right now, so we cannot estimate
April 16, 2018 any time frame for that to be released. For now, we are polishing the Cli-tool.
at 7:19 am

 Reply

Mr. ToDoList GREETINGS FROM MOTHER RUSSIA! GOD BLESS YOU FOR YOUR WORK!
April 7, 2018 Please add support for upcoming Ubuntu(Kubuntu) 18.04 LTS release.
at 11:00 am Please add auto-connect on startup option – this would be awesome!
Thanks!

 Reply

Just some person I agree wholeheartedly! This is a great idea.


August 5, 2018
at 5:02 am
 Reply

bp Hi there,
April 5, 2018 linux beginner here. I’ve followed the tutorial and everything is working fine so far. Now I want the
at 8:26 pm client to auto-connect on startup. How can I achieve this? I already tried with setting up a
crontab, but this doesn’t seem to work.

sudo crontab -e
@reboot /home/[USERNAME]/protonvpn-cli.sh -f

What I’m doing wrong?

 Reply

ProtonVPN Team Hello, as we tested with crontab, the script starts before the network does so it would be
April 6, 2018 better to try doing so via systemd init.d file. We don’t actually have an official guide yet, but
at 10:53 am will make sure to do one soon.

 Reply

aVPNnewbieToo hi, i would also love to see a guide to make it work from startup on ubuntu/debian.
April 7, 2018 also, on android there is this nice feature showing a key icon in the top bar when we are
at 8:19 pm logged into a VPN, do you know how to achieve that too in gnome ?
great product you have here! thank you to make it accessible

 Reply

ProtonVPN Team Hello. We will try to find a working way for most of the platforms and when we do we
April 9, 2018 will update the article. For the key, you are talking about two different operating systems
at 7:25 am thus it does not work that way There is no way to do so on Gnome sadly.

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 29/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

proph you can add a script which you can launch auto on every startup with the startup app
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
April 21, 2018
at 10:45 pm
 Reply

Frank Hello, here are some issue.Vpn didn’t work after disabled the IPv6, error like “Fetching
April 4, 2018 ProtonVPN Servers…
at 3:37 am Connecting…
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.”
However I enable IPv6, it also didn’t work, and got the same error info, so what could I do?

 Reply

ProtonVPN Team Thanks for contacting protonvpn support.


April 4, 2018
at 2:17 pm
We have reviewed the report, may you please report it to github
(https://github.com/ProtonVPN/protonvpn-cli), so our developers can review and fix your
reported issue.

 Reply

Tom I get this message when I try to connect: “There are issues in managing IPv6 in the system.
April 3, 2018 Please test the system for the root cause.” Do you have any suggestions for how to debug or fix
at 5:58 pm this issue? I’m on Ubuntu 16.04. Thank you!

 Reply

ProtonVPN Team Hello Tom,


April 4, 2018 Are you currently using any Host blocker for example like this one on your machine?
at 9:43 am https://github.com/StevenBlack/hosts

 Reply

rborsaru Getting this error when trying to start the VPN. Running on Debian 8.x.
April 2, 2018 Connecting…
at 11:51 am [!] Error connecting to VPN.
/usr/local/bin/protonvpn-cli: line 170: /root/.protonvpn-cli//.ipv6_address: No such file or directory
Tried as root or normal user using sudo. Same error. IPv6 is disabled.

 Reply

ProtonVPN Team Thanks for contacting protonvpn support.


April 4, 2018
at 2:17 pm
We have reviewed the report, may you please report it to github
(https://github.com/ProtonVPN/protonvpn-cli), so our developers can review and fix your
reported issue.

 Reply

ArchUser This is awesome, thank you for thinking of us Linux users I was wondering if you have an
April 2, 2018 iptables script that acts as a killswitch laying around. Preferably one calls on all protonvpn server
at 8:10 am IP address’s and automatically sets the rules to only allow traffic via those addresses.

 Reply

ProtonVPN Team Hello there,


April 3, 2018 Our client tool will see an update with possilbe iptables killswitch, as one user created it but
at 7:33 am we have yet to test it our and debug it if we find anything, so stay tooned!

https://protonvpn.com/support/linux-vpn-tool/ 30/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  


Reply
 ProtonMail

Mr. ToDoList GOD BLESS YOU GUYS!!! Build-in killswitch is a VERY IMPORTANT THING! A lot of us
April 7, 2018 don’t know how setup a killswitch in Linux/Ubuntu. Build-in solution would be nice. Please
at 11:08 am do it. Please test it on Ubuntu(Kubuntu) 16.04/18.04 LTS releases.

 Reply

ProtonVPN Team Will do so!


April 9, 2018
at 7:44 am
 Reply

Reilly I have used this OpenVPN iptables kill-switch script for awhile now, so anyone looking to
April 13, 2018 really lock up any possible DNS leaks your gonna want to go with something like this,
at 10:30 am basically iptables will only allow traffic to flow through the tunnel, if the tunnel or connection
goes down it will kill all traffic. No leaks, just like huggies.
https://gist.github.com/RiFi2k/19139323dd92cd0de54482c2a5d0f00d

 Reply

Alex Works perfectly with Debian stable, using basic instructions above.
April 1, 2018 Many Thanks to the Proton Team!!
at 1:44 am

 Reply

Rasmussen It is nice to hear that VPN providers are prepared to offer at some point in time, in the distant
March 31, 2018 future, long after everyone has forgotten the promise, a native Linux client. You are promising it,
at 6:27 pm NordVPN are promising it, but few are offering the spit and polish that your windows client does.
Why then are Linux users getting crumbs? We pay the same as Windows users and Mac users,
but our options for a service from you requires us to jump through hoops as with most other
providers. I recognize the effort that may have gone into the command line tool, I doubt many
linux users would like this. I believe it is massively underestimated how many Linux users there
actually are out there. People are fed up with Windows and Linux just works for us, so long as we
don’t have to spend messing around at the command line. If any VPN provider wants to take the
course of avoiding Linux users because of an assumption that their numbers are insignificant, I
think that would be a mistake.

 Reply

lala Hi team,
March 30, 2018 using linux mint. Everything ok with openvpn with command lines in terminal but if I try with sudo
at 5:48 pm protonvpn-cli -connect, I have these lines :
Connecting…
[!] Error connecting to VPN.
[!] There are issues in managing ipv6 in the system. Please test the system for the root cause.
Not able to manage ipv6 by protonvpn-cli might cause issues in leaking the system’s ipv6
address.
I’m not sure but I think my FAI isn’t yet “IPV6 ready”

 Reply

ProtonVPN Team Hello,


April 4, 2018 May we ask, are you using any sort of hosts blocker on your machine?
at 9:22 am

 Reply

Andrew This problem has just started for me today. I have been running just fine on Ubuntu 16.04
April 5, 2018 LTS for sometime (including yesterday). But after rebooting today I started to receive:
at 3:06 pm [!] Error connecting to VPN.
[!] There are issues in managing ipv6 in the system. Please test the system for the root
cause.

https://protonvpn.com/support/linux-vpn-tool/ 31/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com Not able to manage ipv6 by protonvpn-cli might cause issues in leaking
 Facebook    Twitter    Reddit    Instagram  
the system’sProtonMail
Mastodon  
ipv6
address.
It has also started timing out asking for my password most of the time. I tried reenabling
IPV6 but that just gave a different error message.

 Reply

ProtonVPN Team Thanks for contacting protonvpn support.


April 6, 2018
at 8:20 am
We have reviewed the report, may you please report it to github
(https://github.com/ProtonVPN/protonvpn-cli), so our developers can review and fix
your reported issue.

 Reply

Edilmo Hello,
March 30, 2018
at 3:25 pm
I am getting the following error:

Connecting…
[!] Error connecting to VPN.
[!] This is an error in enabling ipv6 on the machine. Please enable it manually.
Thanks!

 Reply

Edilmo Nevermind! I’ve used the wrong user…


March 30, 2018
at 3:29 pm
Thanks a lot!

 Reply

ProtonVPN Team Thanks for contacting protonvpn support.


April 4, 2018
at 2:16 pm
We have reviewed the report, may you please report it to github
(https://github.com/ProtonVPN/protonvpn-cli), so our developers can review and fix your
reported issue.

 Reply

Joop I’ve installed this on openSUSE 42.3 and it works very nicely. No more DNS leaks, stable
March 30, 2018 connection, etc.
at 2:59 pm I’ve just noticed one problem. Once you disconnect the VPN, IPv6 connectivity isn’t restored
automatically. I’ve tried this with both Networkmanager and wickedd for network manager. Could
you look into this please?

 Reply

Joop And I just noticed that if you wait longer (10 mins), it does come back. Please disregard.
March 30, 2018
at 3:00 pm
 Reply

ProtonVPN Team Hello Joop,


March 30, 2018 We are happy to hear that its fine and working great! If you spot any issues feel free to let
at 3:04 pm our support know or create an issue on git repo.

 Reply

rollschild Hello,
March 31, 2018 This also happened to me today. I’m using openSUSE Tumbleweed. protonvpn-cli
https://protonvpn.com/support/linux-vpn-tool/ 32/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

at 7:44 am connected fine. But when I did -disconnect it said error enabling IPv6. I thought itProtonMail
was
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon  
nothing, but truth is I completely lost Internet connection. I tried Wicked Network
settings and reboot but it did not help. After a while the connection did NOT come back.
Please look into this. After seeing the original post I believe every openSUSE user
might have encountered this. Really frustrating. Thank you very much.

 Reply

ProtonVPN Team Thanks for contacting protonvpn support.


April 4, 2018
at 2:17 pm
We have reviewed the report, may you please report it to github
(https://github.com/ProtonVPN/protonvpn-cli), so our developers can review and fix
your reported issue.

Joop The above comment was for openSUSE Leap 42.3. On another machine, I am running
April 17, 2018 openSUSE Tumbleweed. On this machine, I can install and run the client just fine.
at 8:30 am However, once it connects, I lose DNS resolution completely. I see that /etc/resolv.conf
is updated with a new DNS server for the VPN but it appears to be unable to resolve
anything. Can you look into this please?

 Reply

ProtonVPN Team Hello Joop, did you install the resolv.conf updater when installing our client, you
April 20, 2018 should have gotten additional Y/N for installing it, when entering ./protonvpn-cli.sh -
at 9:25 am install

Peter DNS leaks are common with Ubuntu based distros even with resolved and openvpn-systemd-
March 27, 2018 resolved properly installed. In my experience, the only way to truly stop dns leaks is by installing
at 9:47 pm dnscrypt-proxy2: https://github.com/jedisct1/dnscrypt-proxy

 Reply

sue Thanks Peter. Mine always leaks DNS, and I have been unable to find a solution. Will try this.
April 4, 2018
at 9:48 pm
 Reply

gilbert try on Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l, raspbian
March 25, 2018 jessie
at 3:30 pm first try : /#!/usr/bin/env: not found
after delete the first slash in line 1 it work (whith #!/usr/bin/env bash)

 Reply

Jonathan Tried this on my Linux mint setup and it worked flawlessly. I do have a question though, will we
March 25, 2018 ever get a native linux client?
at 5:29 am

 Reply

ProtonVPN Team Hello Jonathan.


March 26, 2018 Its our goal to create a native linux client, but for now, we are focused on realeasing stable
at 8:07 am applications for all main platforms. So just to clarify, you can expect that from us, but we dont
have a time frame for that.

 Reply

John Works perfectly here!

https://protonvpn.com/support/linux-vpn-tool/ 33/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

March 25, 2018 One question though, how can we set it the VPN to connect when the computer boots?
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
at 12:13 am Thanks

 Reply

ProtonVPN Team Hello John.


March 26, 2018 Currently we do not have a way to connect it on boot, but we will register it as a suggestion for
at 8:08 am the next client tool update.

 Reply

el +1 for the effort.


March 24, 2018 dns leak is still present. Kubuntu 17.10. connect via cli and the ip is changing. but the dns is not.
at 6:03 pm http://www.dnsleaktest.com and http://www.ipleak.net reports the ISP own dns servers like the
same and not protonvpn dns servers.

(for reference, using openvpn on the terminal also never prevented the dns leaks).

Is there a way to prevent the dns leaks?

 Reply

ProtonVPN Team Hello El,


March 26, 2018 We have just tested it and it does not leak DNS addresses. If you leaked even with openvpn
at 10:31 am via terminal without our tool, then you could be missing some updates or resolv conf.
You could install all of the latest updates and provide our support information about your
/etc/resolv.conf and whats in it when you are connected to the VPN.
https://protonvpn.com/support-form

 Reply

Mr. ToDoList Just installed Kubuntu 16.04/18.04 LTS.


April 7, 2018 Tested here: https://ipleak.net/
at 11:16 am No DNS leaks for me.

 Reply

sweeps Thanks guys! I know linux users don’t make up the majority of your user base at this time- but I
March 24, 2018 was really beginning to think we were forgotten! This was a fantastic way to start my day!
at 5:30 pm

 Reply

ProtonVPN Team Hello,


March 26, 2018 We are always aware of our customers issues and suggestions. Also, its trully amazing to
at 7:58 am hear that we lightend up your day!
If you have any suggestions feel free to contact us and lets us know about it.

 Reply

Gentoo Linux user I wrote a comment saying there are dns leaks on gentoo both with protonvpn-cli and openvpn.
March 23, 2018 This is a correction to that comment: do not forget to install openresolv (as I did); once installed
at 10:49 pm you will not have leaks any more.

 Reply

ProtonVPN Team Hello,


March 26, 2018 Thank you for letting us know, we will make sure to include that in our guide as a note.
at 7:53 am

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 34/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

non to protonvpn.com openSUSE Tumbleweed here:


  Return  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
March 23, 2018 sudo ./protonvpn-cli.sh –install
at 8:54 pm Done.

sudo protonvpn-cli -init


sudo: protonvpn-cli: command not found
connecting via openvpn directly works without any problems.

 Reply

ProtonVPN Team Hello,


March 26, 2018 Thank you for your feedback, we will register this and test it out. Currently we update the
at 7:50 am client with Solus distributions and we will do so with openSUSE.

 Reply

Ess I’ve installed it and got it working fine. But once connected there isn’t really a way to tell you are
March 23, 2018 on a VPN (besides checking on a website). I wouldn’t know if i got disconnected. Where as the
at 8:32 pm old method of using OpenVPN, at least you’d have the lock symbol on the network icon. Can
anything be done about that?

 Reply

ProtonVPN Team Hello,


March 26, 2018 Thank you for your feedback. We just tried our client tool on freshly isntalled OpenSuse
at 7:48 am tumbleweed with all latest updates, and the client tool initiated like it should on any
distribution. Could you please try to reinstall it and try agian ?

 Reply

tcpudp Could you provide a guide for Manjaro/Arch linux?


March 23, 2018
at 7:27 pm
 Reply

ProtonVPN Team For Manjaro or Archlinux please use ” pacman -S packagename” For example “sudo pacman
March 26, 2018 -S openvpn” ; “sudo pacman -S wget”; “sudo pacman -S python” ; “sudo pacman -S dialog”
at 8:52 am and then update everything using “sudo pacman -Syu” , restart the machine and isntall the
client Just like in the tutorial.

 Reply

Andreas Hello,
March 22, 2018 working great on Debian 9!
at 11:21 pm I can see p2p, TOR and secure-core servers showing under features. Would it be possible to
show the “Plus-servers” in the features field as well?
Thanks for your great work!

 Reply

ProtonVPN Team Hello Andreas,


March 23, 2018 Thank you for your suggestion!
at 8:21 am For now, you can use this to see what server belongs to what subscription type:
http://www.protonvpn.com/vpn-servers

 Reply

Heironymous Thanks for this, Proton*. I’ve just tried this on Ubuntu 17.10 (artful), and it seems to work, and
March 22, 2018 with no DNS leakage too.
at 9:16 pm I wonder, though, is storing the password as plaintext in the file at ~/.protonvpn-

https://protonvpn.com/support/linux-vpn-tool/ 35/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

cli/protonvpn_openvpn_credentials really best practice? Might a future version of the scripts use
  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
a more secure scheme?

 Reply

ProtonVPN Team Hello there,


March 23, 2018
at 8:33 am
Thank you for your feedback! As for the password, we have registered this as for a discussion
to see what we can improve.

 Reply

Faisal Awesome! Finally my IP and DNS match perfectly. One point I need to make is in regards to
March 22, 2018 instruction #4 where I had to insert a sudo in front of the chmod in order to complete. Now I am
at 1:01 am very happy to have subscribed for 2 years.

 Reply

ProtonVPN Team Hello Faisal,


March 22, 2018 Thank you for pointing that out! We are genuinely happy to have you in our community!
at 8:53 am

 Reply

Privacy [!] Error connecting to VPN.


March 21, 2018 Any reason?
at 11:42 pm

 Reply

ProtonVPN Team Hello,


March 22, 2018 Please make sure that you are entering your correct OpenVPN credentials and selecting the
at 8:50 am correct plan that you subscribed with ProtonVPN. Re-initiate the client by using protonvpn-cli -
init. If still no luck, please contact our customer support team.

 Reply

Privacy Was totally my fault entered my OpenVPN password wrong. Everything is great thank you
March 23, 2018 awesome job.
at 1:41 pm

 Reply

ProtonVPN Team Hello,


March 23, 2018 No problem, happens to the best of us!
at 2:56 pm

 Reply

n Hi,
March 21, 2018 Really interested in the software but i have problems with my distribution. I am using Solus and
at 10:01 pm once installed (everything goes well during the install) I have an error “sudo: protonvpn-cli:
command not found” even after a reboot.

What can I do to make it work (if it is possible)?

 Reply

ProtonVPN Team Hello,


March 22, 2018 Could you please contact our support team with the command lines that you exactly enter?
at 8:51 am https://protonvpn.com/support-form

 Reply

https://protonvpn.com/support/linux-vpn-tool/ 36/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return tonprotonvpn.com I made a ticket on the git repo about this error. This should be enough?
 Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail
March 22, 2018
at 1:25 pm
 Reply

ProtonVPN Team Yes, this should be enough for us to investigate.


March 22, 2018
at 3:23 pm
 Reply

pyjter I have exactly same problem on my Solus machine.


March 22, 2018
at 10:48 am
 Reply

ProtonVPN Team Hello,


March 22, 2018 Thank you for your feedback! We have replicated the issue and will look in to it.
at 2:57 pm

 Reply

Pavan Should the terminal stay opened after connecting or can it be closed?
March 21, 2018
at 11:39 am
 Reply

ProtonVPN Team Hello Pavan,


March 21, 2018 You can close the terminal and the connection will stay active until you will open it again and
at 12:05 pm type in : sudo protonvpn-cli -dsiconnect

 Reply

Shane Nope. Close it.


August 3, 2018
at 7:02 pm
 Reply

Phil Scarr Awesome job, guys. Works like a charm!


March 20, 2018
at 11:31 pm
 Reply

any ideas Getting this-


March 20, 2018 ~/Desktop$ sudo protonvpn-cli -connect
at 9:44 pm [!] Error: OpenVPN is already running on this machine.
any thoughts?

 Reply

ProtonVPN Team Hello.


March 21, 2018 That means OpenVPN connection is already connected and running on your device. Ether
at 7:38 am you are using a different way to connect or you are already connected to the VPN server via
this tool . Please disconnect that VPN and connect using our tool.

 Reply

Greg Good job!!! I have two questions for you:


March 20, 2018 1) how to disconnect from ProtonVPN?
at 7:49 pm 2) why should I use ProtonVPN instead of TOR?
Thanks!

 Reply

ProtonVPN Team Hello,


March 21, 2018 1 – sudo protonvpn-cli -disconnect
at 7:45 am This will disconnect you from the server.
2 – Its totally up to your preference, if you want to use static IP`s that our VPN provide plus

https://protonvpn.com/support/linux-vpn-tool/ 37/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com +AES256 encryption, orbounce your connection trough TOR random nodes
Facebook    Twitter    Reddit    Instagram  
each time ProtonMail
Mastodon  
you
use it. Why not use both eh? You can do so with our TOR servers. When connecting to them
you will firstly connect to the VPN server and then will exit trough TOR node which provides
real high security levels.

 Reply

Leave a Reply
Name

Email (not published)

Comment

Post Comment

Don't find your answer? We're happy to help you!     CONTACT OUR SUPPORT TEAM

SECURE YOUR INTERNET TODAY


GET PROTONVPN

https://protonvpn.com/support/linux-vpn-tool/ 38/39
1/24/2020 ProtonVPN command-line tool for Linux - ProtonVPN Support

  Return to protonvpn.com  Facebook    Twitter    Reddit    Instagram   Mastodon   ProtonMail

PROTONVPN LEGAL COMPANY SOCIAL CONTACT

Pricing Report Abuse Imprint  Facebook Support: protonvpn.com/support

Security Privacy Policy About  Twitter General: contact@protonvpn.com


Media: media@protonvpn.com
Download Terms & Conditions Blog  Reddit
Security:
VPN Servers Threat Model Careers  Instagram security@protonvpn.com
Abuse: abuse@protonvpn.com
Press/Media Kit Transparency Report Support Mastodon

ProtonMail

ProtonVPN AG BUILT WITH THE SUPPORT OF

Chemin du Pré-Fleuri, 3
CH-1228 Plan-les-Ouates,
Genève, Switzerland

https://protonvpn.com/support/linux-vpn-tool/ 39/39

You might also like