Return to protonvpn.com Facebook   Twitter   Reddit   ProtonMail
Support Center / Setup and use / ProtonVPN client tool for Linux

ProtonVPN client tool for Linux

We are introducing our first Linux VPN client tool created by ProtonVPN team!

This is a step-by-step guide for installing Linux VPN client tool used on Ubuntu 16.04 LTS.

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

The list of what you will need:

All of the latest updates installed on your Linux repository;

  • openvpn
  • python
  • dialog
  • wget

To install packages on different distributions:

For Archlinux/ Manjaro please use :

sudo pacman -S NameOfPackage

For example – sudo pacman -S openvpn

For Solus use:

sudo eopkg install NameOfPackage

For Fedora based:

sudo yum install NameOfPackage

Firstly, let’s start with the setup:

Please open terminal by locating it on your application list or simply pressing CTRL+ALT+T at the same time.

1. Type in:

sudo apt-get install openvpn

Then simply type Y to continue the installation. You will have to do so to install all of the required packages.

2. Proceed installing these packages the same way you installed the first one.

  • sudo apt-get install dialog
  • sudo apt-get install python
  • sudo apt-get install wget

Some of these might be already installed so pay attention if it says that it already exists.

3. Once all of the packages are installed, you’ll have to download the script to your Linux device. Use this command :

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

4. After downloading the script, launch this command:

sudo chmod +x protonvpn-cli.sh

5. Then install the Linux VPN client by running this command:

sudo ./protonvpn-cli.sh --install

How to use the Linux VPN client:

6. Now the client is installed and ready to use. To initialize the ProtonVPN Linux client, type in this:

sudo protonvpn-cli -init

Or

sudo pvpn -init

7. You will need to enter your OpenVPN username and password which you have to configure on our https://account.protonvpn.com/settings page.

8. After entering the credentials, you will have to select the subscription plan that you have for ProtonVPN. Trial users should select 3) Plus.

IMPORTANT: after your trial expires, you need to reconfigure to 1) Free. To set it up, follow instructions starting from step 6.

9. Now please enter this command line to start connecting to the servers :

sudo protonvpn-cli -connect

Or

sudo pvpn -c

10. A detailed country list with all of the available ProtonVPN servers for you should appear. Select the server of your preference and click OK.

11. Then select either UDP or TCP protocol to use and click OK:

The connection will be established. You’ve managed to connect to the ProtonVPN servers via the Linux VPN client:

Once you are connected to the VPN client tool for Linux, you can ensure that there are no IP or DNS leaks here.

Closing Terminal window will not disconnect the VPN connection. Use ” sudo protonvpn-cli -disconnect” to close the VPN connection.

Client tool functionality list:

pvpn” can be used instead of “protonvpn-cli” command when its installed, so for example, pvpn -c is the same as protonvpn-cli -c.

protonvpn-cli --init Initialize ProtonVPN profile on the machine.
protonvpn-cli -c, --connect Select and connect to a ProtonVPN server.
protonvpn-cli -c [server-name] [protocol] Connect to a ProtonVPN server by name.
protonvpn-cli -r, --random-connect Connect to a random ProtonVPN server.
protonvpn-cli -l, --last-connect Connect to the previously used ProtonVPN server.
protonvpn-cli -f, --fastest-connect Connect to the fastest available ProtonVPN server.
protonvpn-cli -p2p, --p2p-connect Connect to the fastest available P2P ProtonVPN server.
protonvpn-cli -cc, --country-connect Select and connect to a ProtonVPN server by country.
protonvpn-cli -cc [country-name] [protocol] Connect to the fastest available server in a specific country.
protonvpn-cli -d, --disconnect Disconnect the current session.
protonvpn-cli --reconnect Reconnect to the current server.
protonvpn-cli --ip Print the current public IP address.
protonvpn-cli --status Print connection status.
protonvpn-cli --update Update protonvpn-cli.
protonvpn-cli --install Install protonvpn-cli.
protonvpn-cli --uninstall Uninstall protonvpn-cli.
protonvpn-cli --help

Related articles:

Disabling IPV6 on Linux

ProtonVPN Android application

Post Comment

239 comments

  1. Foobar

    Hey Guys,
    I use the CLI tool to connect to VPN servers in my Kubuntu installation.
    How would the users be informed of any disconnections from VPN server?

  2. ProtonVPN Team

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

  3. kes

    I am using a sub OS of Devuan OS, an offshoot of Debian minus systemD. I have all the files in the Devuan repositoru, but “sysctl.” What the repository does have are the following:
    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

  4. ProtonVPN Team

    Hello. Have you tried continuing to install it without sysctl?

  5. Dezel

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

  6. ProtonVPN Team

    Hello Dezel, yes, you have to re-initiate the client to tell him that this is the user credentials that you want to use.

  7. Shane

    Does anyone know how to create a desktop launcher for the client on Elementary OS?
    It’s so easy on Mint. B-click and create. Boom.
    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.

  8. Nathan

    I am having some trouble following the instructions in this script, I have been using your protonvpn product on windows 10 for some time now, with no issues, but now i am going back to 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

  9. ProtonVPN Team

    Hello Nathan. For now, we cannot change anything how the script works, as root is required, but we will surely try to figure something out if its possible to rewrite it and use it without it.

  10. thx

    I don’t use IPv6 but I get:
    “Connecting…
    [!] 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?

  11. ProtonVPN Team

    Hello, please try installing this: sudo apt-get install openresolv , and then connecting again.

  12. Nico

    Hello. After step 8 the terminal asks me “Would you like to use a custom DNS server? (Warning: This would make your VPN connection vulnerable to DNS leaks. Only use it when you know what you’re doing) [Y/N] (Default: N):”. In either case (Y or N), the terminal asks me after steps 9 : “[!] Error: OpenVPN is already running on this machine.” and I am unable to reach step 10. Please can you provide some help?

  13. ProtonVPN Team

    Hello Nico, that means somewhere there is a VPN client running on your machine already, that is why it cannot create a new connection on top of that. You will have to find that 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.

  14. jucu

    I have Linux mint OS (presumably the same as ubuntu for this purpose). I have downloaded protonvpn-cli tool and associated programs but when I tried to connect to raw.githubuserconnect… I got an error 404 Not Found.

  15. ProtonVPN Team

    Hello Jucu, so when you are trying to download the script it seems, please make sure that the link entered is correct, or copy paste it from our guide , otherwise you will get 404.

  16. Mike

    Hello there, do you have in plans a linux client like in Windows?

  17. ProtonVPN Team

    Hello. For now, no, we do not have any plans to release the UI as in windows.

  18. Brent

    I’m getting the error telling me i couldn’t connect and i need to check my credentials, but they’re correct and i’m using the free version. This is on a kali linux virtual machine

  19. ProtonVPN Team

    Hello. Please make sure you use the OpenVPN/IKEv2 manual connection credentials which you can find under your profile account.

  20. JoeSchmack

    I don’t understand… Why not just give us the OpenVPN config file(s) and let us manage the connection. Why must I run a shell script?
    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

  21. ProtonVPN Team

    Hello Joe. Using our vpn client is your choice, if you do not trust that, you can always use plain terminal and configuration files to connect to our services. 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! 🙂

  22. Garred

    Dear ProtonVPN,
    I have to thank you for the Linux ProtonVPN tool. I do however have a problem. I am getting an 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.

  23. ProtonVPN Team

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

  24. Werwolf

    Works perfectly under Linux Mint 19, thanks!

  25. Thyme

    After disabling ipv6 and then trying to connect to ProtonVPN servers again, I get messages:
    Connecting…
    [!] 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.

  26. ProtonVPN Team

    Hello Thyme, please install openvresolv.conf and retry the connection again. If that does not work, reinitiate the client using pvpn –init

  27. Just some person

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

  28. ProtonVPN Team

    Hello. Sadly for now we do not have an option like that in our client tool for Linux. Nonetheless, we will mark this as a suggestion for our developers to consider.

  29. Just some person

    Thank you kindly! Also, I appreciate you adding the -l flag to get right back to the last server chosen. I believe that’s a recent addition, and it’s pretty useful!

  30. Just some person

    Good people, is there a way to automate it so this starts up right away on bootup and won’t get any IP address except the one from ProtonVPN? Using this on a Raspberry Pi.

  31. ProtonVPN Team

    There are many different ways to automate it, but currently we do not have an official one. You should lookup on how to start a script on boot with Raspberry, since our cli tool is only a python script.

  32. Just some person

    This tool is great! I’m using it on a Raspberry Pi. I was wondering if I’m running headless over SSH or VCN, could it disconnect when I close SSH or VCN sessions? (I know it stays on when closing terminal sessions)
    Also, how can I ensure there’s no leaks with the Pi?

  33. ProtonVPN Team

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

  34. Just some person

    Thank you so much!

  35. Thorn

    I don’t like the name very much. Does it really need to be that long and include the ‘-‘ sign?

  36. ProtonVPN Team

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

  37. Autostart?

    Hi,
    One question and one observation:
    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.

  38. ProtonVPN Team

    Hello! Currently we do not have a specific method that we would recommend using to start the linux client on boot, but there are many different ways for different distributions that you 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.

  39. Adrian

    Okay, I found a way for the connection error to go away.
    On https://protonvpn.com/support/linux-vpn-setup/ it talks about resolvconf (I imagine as 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:

    sudo apt-get update && sudo apt-get install openvpn
    […]
    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.

  40. brito

    the last step off installation,after connecting , it gives error . what can y do? thank you.

  41. ProtonVPN Team

    Hello Brito. It would be the best if you contacted our customer support team! https://protonvpn.com/support-form

  42. dee

    Try using OpenVPN/IKEv2 Username and Password that are given in your account page. Just copy and past.

  43. Anon

    Fellas I was having the same problem with the resolv.conf fileand internet connection failure. I tried reinstalling resolvconf but it gave me an error at the end saying it was immutable it then 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!

  44. sam

    I am protonmail professional level subscriber. I am running pvpn on gentoo. Ever since I up graded pvpn several days ago I am getting the follwing error message:
    [!] 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.

  45. ProtonVPN Team

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

  46. Steve

    Hi – I have an error when connecting.
    Running Ubuntu 18.04
    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?

    In detail:
    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?

  47. Steve

    followup: I installed openresolv per your advice to another poster. Now able to connect the VPN. what are the (in)security risks in using openresolv? Thanks!

  48. ProtonVPN Team

    Hello Steve, openresolv has no security risks and is required to install whenever installing the pvpn tool. You’ve must have pressed no where it was required. It manages the DNS addresses, when you connect to the VPN server and disconnect.

  49. NotYour$!t

    I get to the “Connecting…” point and it fails
    Connecting…
    [!] Error connecting to VPN.
    [!] Reason: Authentication Failed. Please check you ProtonVPN OpenVPN credentials.

    Checked, double checked, changed password, same thing.

  50. ProtonVPN Team

    Hello. Are you sure that you are using the Openvpn credentials for the client tool? If so, please contact our customer support team for detailed investigation! https://protonvpn.com/support-form

  51. Migougou

    Hello. I had this error when I make ctrl-p (copy then paste) my credentials from my protonvpn account. Then I typed directly my credentials in the terminal and now all is ok.

  52. John

    Is there a way to directly change the vpn server without disconnecting/reconnecting with ‘ sudo protonvpn-cli -disconnect’ / ‘sudo protonvpn-cli -connect’ ?

  53. ProtonVPN Team

    Hello John, you can try using pvpn -f to reconnect to the fastest. If it says that the openvpn client is already running, then you will have to disconnect manually and reconnect to the vpn server.

  54. DavidN

    I’ve got everything installed but when I connect I get:
    protonvpn-cli -c
    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?

  55. DavidN

    I did get protonvpn working using the NetworkManager-openvpn-gnome method. I thought I once saw a guide describing the naming conventions for the configuration file names. Can you post it again?
    Thanks!

  56. ProtonVPN Team

    Hello David, its pretty simple. The first to letters stand for the Country, if it has more letters going afterwards, then its a state in that country, for example, lets say us-il-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.

  57. ProtonVPN Team

    Hello David, please try installing : sudo apt-get install openresolv

  58. Lighuj

    Hi, does the Linux client already implement the failsafe mechanism? So that, if for some reason the connection to VPN drops, the Linux client stops being connected to the internet.

  59. ProtonVPN Team

    Hello, Sadly, but no. As the killswitch is hard to implement to be working on all of the linux distributions, but we are surely looking for a way to do that!

  60. bluetide

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

  61. Marcus

    Hello,
    What Ip does sudo protonvpn-cli -connect pull the servers from? I need to whitelist it in my firewall rules. Thank you

  62. ProtonVPN Team

    Hello Marcus, please contact our customer support team and we will let you know about it.

    https://protonvpn.com/support-form

  63. KDE user

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

  64. Ali

    Hello, I just started to have an error message while trying to connect on Ubuntu 16.04 using client-tool… I successfully complete all the process until selecting the server, and when I hit the OK button I receive this message :
    [!] 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.

    Thanks..

  65. ProtonVPN Team

    Hello Ali, are you sure you have entered the correct credentials of your OpenVPN username and password in to the tool when using pvpn -init?

  66. Uygar

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

  67. ProtonVPN Team

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

  68. sas

    such user-friendly

  69. James

    Hi there,
    I am also getting this error:
    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?

  70. ProtonVPN Team

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

  71. J

    All I get is Error connecting to VPN…My os is Kali-Rolling …any help is appreciated . thanks

  72. ProtonVPN Team

    Hello. Could you please make sure that you are using your OpenVPN credentials within the client-tool. You can find them on our website, when you log in with your account. They are called OpenVPN/IKEv2 credentials.

  73. J

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

    [!] 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.
    thanks for any help.

  74. ProtonVPN Team

    Hello J. please try installing the: sudo apt-get install openresolv

  75. J

    Nope still nothing..still says IPv6 issues

  76. ProtonVPN Team

    Hey, please contact our customer support team for more in depth troubleshooting. https://protonvpn.com/support-form

  77. K

    Problem installing. Received message
    “Reading package lists… Done
    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 ”

  78. ProtonVPN Team

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

  79. J Smith

    May 27, 2018 K reported “E: Unable to locate package sysctl”
    May 28, 2018 ProtonVPN Team replied “Sysctl package is embedded in almost all of the 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.

  80. ProtonVPN Team

    Hello. Please try proceeding without Sysctl installment. It should be as good to go too.

  81. K

    I am having problems connecting to the VPN using Linux Mint and the Terminal command line. The problem appears after I enter “sudo protonvpn-cli -connect” I get the list of Proton VPN 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?

  82. ProtonVPN Team

    Hello. Could you please make sure that you are using your OpenVPN credentials within the client-tool. You can find them on our website, when you log in with your account. They are called OpenVPN/IKEv2 credentials.

  83. K

    Yes I am using my OpenVPN credentials, and I made sure I did not use my ProtonVPN login username or password information as per the Account pages information provided (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. ”

  84. ProtonVPN Team

    Hello. Please contact our customer support team and we will do our best to help you out with the connection issues on your Linux machine! https://protonvpn.com/support-form

  85. Joop

    I used to be able to connect to ProtonVPN on openSUSE Tumbleweed but for some reason, the VPN has stopped working. It will still connect and I get confirmation of a new IP address. But 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?

  86. ProtonVPN Team

    Hello Joop, please contact our customer support team and we will do our best to investigate this issue with your linux device! https://protonvpn.com/support-form

  87. DSrocks

    Hey, so everything worked great until I got an error about the program not being able to manage IPv6 connections, can you help me figure out the issue?

  88. DSrocks

    Oh, and when I try running it through root (sudo -s, then running protonvpn-cli -c) it just says “Error Connecting to VPN”

  89. ProtonVPN Team

    Hello there. If the connection was fine before and started not working right now, we would suggest to re-initiate it and type in “pvpn -init” , then enter the correct openvpn credentials and try connecting again!

  90. flauvert

    User of Linux Mint 17.3. I have subscribed the Free plan. I connect to the net over a UMTS dongle. After several attempts to connect to VP server I get the message (!) Error connecting to VPN. Have initialized the plan but the issue persists.

  91. ProtonVPN Team

    Hello. Please contact our customer support team for troubleshooting. https://protonvpn.com/support-form

  92. Will

    Thank you. I’d tried in the past to get my Linux VM connected but it always had a leak, now that’s gone. Do you have plans for a GUI for this in the future?

  93. ProtonVPN Team

    Hello Will, we do not currently have any plans for the GUI as there are other priorities right now in our services. But we wont forget our dearest linux users for sure!

  94. jack

    So the installation went fine. I’ve connected to the vpn via Network Manager a few times. I am trying to set up an automatic connect file, via crontab, so I figured I would use the

    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.

  95. ProtonVPN Team

    Hello Jack, you seem to have pasted the wrong error response. No worries. Have you tried to re-initiate the client again? You can use shorter commands for our client like pvpn -init , or pvpn -c ; pvpn -f

  96. Anna

    Hello and thanks for your reply,
    After playing around further with this issue, I noticed that I cannot connect to any of the 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.

  97. Anna

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

  98. ProtonVPN Team

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

  99. jack

    ah yes, that is a mistake

    [!] 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

  100. jack

    when i use the login on my account after I login at the protonvpn.com home page, it gives me the aformentioned error message.

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

  101. ProtonVPN Team

    Hello Jack, this means that our client cannot manage your IVP6 settings automatically, IPV6 should be enabled at all times since the client during the connection will disable it 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.

  102. jack

    My IPv6 is automatically enabled though through my vpn and router settings. How would I get the tool to recognized the settings?

  103. ProtonVPN Team

    Hello Jack, please contact our customer support team for more convenient troubleshooting. https://protonvpn.com/support-form

  104. Anna

    Okay, after reinstalling protonvpn I get this:
    Fetching ProtonVPN Servers…
    Connecting…
    [!] Error connecting to VPN.

  105. ProtonVPN Team

    Hello Anna, please make sure you use the right credentials of OpenVPN from your account and re-initiate the connection when making sure the you enter them correctly. pvpn -init

  106. Anna

    Hello,
    When I try to connect to a server I get the following errors:
    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.

  107. Nazar

    [!] Error connecting to VPN
    I had a randomly generated password with non-alphanumeric characters. Something was getting 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.

  108. ProtonVPN Team

    Hello Nazar, Thank you for the feedback and we are happy to hear that it is fixed for now. The logging is done by OpenVPN and you can change the verbose level in the configuration file (server file) that you are connecting to. Some OpenVPN clients have settings where you can change the verbose in the UI.

  109. Arthur

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

  110. ProtonVPN Team

    Hello Arthur. We already communicated via the emails, could you please try this?
    $ which python
    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.

  111. Marc

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

  112. ProtonVPN Team

    Hello Marc, you have to start the client manually as for now there is no option to connect on boot.

  113. Mark

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

  114. ProtonVPN Team

    Hello Mark, currently we do not have a way for that, sorry .

  115. valcik

    My fresh Lubuntu 18.04 LTS often ends up with new IP that doesn’t match the Exit IP listed next to any of the free NL and US servers I’d choose from the fetched server list, after connecting 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!

  116. ProtonVPN Team

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

  117. Keith

    Do you have Ubuntu 18.04 specific instructions?
    Thanks

  118. ProtonVPN Team

    Hello Keith, Ubuntu 18.04 should work the same way as for ubuntu 16.04 LTS.

  119. Alexander

    Just installed the protonVPN cli and it can’t connect:
    [!] Error connecting to VPN.
    Because there is no explanation why it can’t connect, I’m a bit stuck.
    Credentials are correct and no FW rules that block.

  120. Alexander

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

  121. ProtonVPN Team

    Hello Alexander, glad to hear that it is set right now, so what was the issue in the first place?

  122. Oliver

    I am receiving the following error message when trying to connect to one of your servers:
    Connecting…
    [!] 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

  123. ProtonVPN Team

    Hello Oliver, could you please contact our customer support team with your information and we will do our best to help you out! https://protonvpn.com/support-form

  124. James

    Last line : “Closing Terminal window will not disconnect the VPN connection. Use “protonvpn-cli -disconnect” to close the VPN connection.”
    Please change et add “sudo” : (protonvpn-cli -disconnect -> sudo protonvpn-cli -disconnect)

  125. ProtonVPN Team

    Hello James, thank you for your attention, we’ve fixed it. 🙂

  126. James

    I’m on UBUNTU and I found the solution (for me) concerning :
    [!] 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.

    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 !!

    😉

  127. nn

    thank you for this, you just spared the support a ticket 😉

  128. Toni

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

  129. Toni

    ps: I am currently using Linux Mint 18.3 on a Lenovo Thinkpad T430.

  130. ProtonVPN Team

    Hello Toni, may we ask, do you have Firejail installed or any other sort of firewall or security package? This could cause the issue of not being able to allow our client to fetch for the servers for you to connect to.

  131. phur

    Just got it running on Mint 18.3 Thinkpad T410 (not that I think the hardware’s got much to do with it).
    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.

  132. phur

    *Sorry, posted reply to wrong comment.
    But while I’m here, I also ran >_ sudo protonvpn-cli -update
    It did have an update ready.

  133. santosh badola

    I do all the information provided by you but I am not able to use protonvpn (free plan)
    It shows error in connecting to VPN. How I connect it.

  134. ProtonVPN Team

    Hello Santosh, are you sure that you are using the correct credentials for openvpn from your account page? https://account.protonvpn.com/settings

  135. systemd-tty-ask-password-agent

    Kubuntu 17.10. I simply did everything as I should, I can select servers normally, but when this tries the final connection, it returns me this error which I do not know how to solve:
    ” Please enter password with the systemd-tty-ask-password-agent tool! ”

  136. ProtonVPN Team

    Hello, here is the ubuntu forum with the provided possible solution to your issue. https://askubuntu.com/questions/765951/starting-openvpn-error-please-enter-password-with-the-systemd-tty-ask-password#809861

  137. J

    I followed the instructions and I got the following error code.
    Connecting…
    [!] 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??

  138. ProtonVPN Team

    Hello, could you please make sure to run protonvpn-cli -init again ant inform our support if that was successful to connect afterwards or not ? https://protonvpn.com/support-form

  139. Mike

    I would like to confirm that this current LInux Client Tool will still be compatible with the upcoming release of Ubuntu 18.04?

  140. ProtonVPN Team

    Hello Mike, as we tested it on our VM machine, it is functioning as it normally would. 🙂 If it will get not supported after some updates, we will adjust the cli tool accordingly to support it.

  141. Rob

    On Fedora 27, I got a couple of errors relating to ipv6, and then it took to failing with the unhelpful [!] Error connecting to VPN.
    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.”

  142. ProtonVPN Team

    Hello Rob, make sure to enter correct credentials from OpenVPN logins provided here https://account.protonvpn.com/settings

  143. ProtonUser

    Maybe this info will be useful to the devs…
    Last night I ran through these steps and after selecting ‘udp’ in the curses interface the ipv6 error popped up:
    Connecting…
    [!] Error connecting to VPN.
    [!] There are issues in managing ipv6 in the system. Please test the system for the root cause.
    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!

  144. ProtonVPN Team

    Hello, thank you for letting us know about the issue, we will do our best to look in to it and reproducing it.

  145. Anton

    I’m currrently on the latest version of ParrotSec OS (with working internet), yet I still get this error. What can I do?
    └──╼ $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.

  146. ProtonVPN Team

    Hello Anton, we are currently investigating the situation with ParrotSec, since we can reproduce it.

  147. proph

    Hi, i have an issue too but without all this stuff i just have
    [!] Error: There is an internet connection issue.
    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

  148. ProtonVPN Team

    Hello Proph, we are currently investigating the parrotSec issue with our linux tool client.

  149. proph

    sorry for multiple message but seems to be a python version error because he used python2.7 and you wrote on github tha we need python3 so start here and the other 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 😉

  150. proph

    do you have python3 installed?

  151. Pavan

    You have made a typo in the solus package management command. It’s “eopkg” not “eopgk” as written above.

  152. ProtonVPN Team

    Hello Pavan, good spotting! We fixed it, thank you.

  153. ʟ·ɪɴᴀᴅᴀᴩᴛé

    IF YOU CAN’T CONNECT,

    THINK TO USE YOUR “OpenVPN / IKEv2” IDs VISIBLE ON YOUR ACCOUNT AT :
    https://account.protonvpn.com/settings

  154. Guest

    Hi! There is NO “sysctl” package in Ubuntu 18.04 (beta2).
    It’s important to install this package?

  155. ProtonVPN Team

    Hello, Yes, its required to have that package installed for the client to run and connect successfully.

  156. Mark

    It is included with procps

  157. Nazar

    procps instead of sysctl package on Debian 9 as well.

  158. Rob

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

  159. ProtonVPN Team

    Hello Rob, please contact our customer support team with the information of you OS version and what else have you tried to perform to establish the connection – https://protonvpn.com/support-form

  160. Rob

    Ok thanks, will do that. Also I was wondering if you have any plans to release a GUI version for Linux just like you have for Windows and Android?
    Thanks.

  161. ProtonVPN Team

    Hello Rob, it is in our plans, but not as a main priority right now, so we cannot estimate any time frame for that to be released. For now, we are polishing the Cli-tool.

  162. Mr. ToDoList

    GREETINGS FROM MOTHER RUSSIA! GOD BLESS YOU FOR YOUR WORK! 😀
    Please add support for upcoming Ubuntu(Kubuntu) 18.04 LTS release.
    Please add auto-connect on startup option – this would be awesome!
    Thanks! 🙂

  163. Just some person

    I agree wholeheartedly! This is a great idea.

  164. bp

    Hi there,
    linux beginner here. I’ve followed the tutorial and everything is working fine so far. Now I want the 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?

  165. ProtonVPN Team

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

  166. aVPNnewbieToo

    hi, i would also love to see a guide to make it work from startup on ubuntu/debian.
    also, on android there is this nice feature showing a key icon in the top bar when we are 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

  167. ProtonVPN Team

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

  168. proph

    you can add a script which you can launch auto on every startup with the startup app 😉

  169. Frank

    Hello, here are some issue.Vpn didn’t work after disabled the IPv6, error like “Fetching ProtonVPN Servers…
    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?

  170. ProtonVPN Team

    Thanks for contacting protonvpn support.

    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.

  171. Tom

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

  172. ProtonVPN Team

    Hello Tom,
    Are you currently using any Host blocker for example like this one on your machine? https://github.com/StevenBlack/hosts

  173. rborsaru

    Getting this error when trying to start the VPN. Running on Debian 8.x.
    Connecting…
    [!] 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.

  174. ProtonVPN Team

    Thanks for contacting protonvpn support.

    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.

  175. ArchUser

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

  176. ProtonVPN Team

    Hello there,
    Our client tool will see an update with possilbe iptables killswitch, as one user created it but we have yet to test it our and debug it if we find anything, so stay tooned!

  177. Mr. ToDoList

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

  178. ProtonVPN Team

    Will do so!

  179. Reilly

    I have used this OpenVPN iptables kill-switch script for awhile now, so anyone looking to really lock up any possible DNS leaks your gonna want to go with something like this, 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

  180. Alex

    Works perfectly with Debian stable, using basic instructions above.
    Many Thanks to the Proton Team!!

  181. Rasmussen

    It is nice to hear that VPN providers are prepared to offer at some point in time, in the distant future, long after everyone has forgotten the promise, a native Linux client. You are promising it, 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.

  182. lala

    Hi team,
    using linux mint. Everything ok with openvpn with command lines in terminal but if I try with sudo 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”

  183. ProtonVPN Team

    Hello,
    May we ask, are you using any sort of hosts blocker on your machine?

  184. Andrew

    This problem has just started for me today. I have been running just fine on Ubuntu 16.04 LTS for sometime (including yesterday). But after rebooting today I started to receive:
    [!] 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.
    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.

  185. ProtonVPN Team

    Thanks for contacting protonvpn support.

    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.

  186. Edilmo

    Hello,

    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!

  187. Edilmo

    Nevermind! I’ve used the wrong user…

    Thanks a lot!

  188. ProtonVPN Team

    Thanks for contacting protonvpn support.

    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.

  189. Joop

    I’ve installed this on openSUSE 42.3 and it works very nicely. No more DNS leaks, stable connection, etc.
    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?

  190. Joop

    And I just noticed that if you wait longer (10 mins), it does come back. Please disregard.

  191. ProtonVPN Team

    Hello Joop,
    We are happy to hear that its fine and working great! If you spot any issues feel free to let our support know or create an issue on git repo. 🙂

  192. rollschild

    Hello,
    This also happened to me today. I’m using openSUSE Tumbleweed. protonvpn-cli connected fine. But when I did -disconnect it said error enabling IPv6. I thought it was 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.

  193. ProtonVPN Team

    Thanks for contacting protonvpn support.

    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.

  194. Joop

    The above comment was for openSUSE Leap 42.3. On another machine, I am running openSUSE Tumbleweed. On this machine, I can install and run the client just fine. 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?

  195. ProtonVPN Team

    Hello Joop, did you install the resolv.conf updater when installing our client, you should have gotten additional Y/N for installing it, when entering ./protonvpn-cli.sh -install

  196. Peter

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

  197. sue

    Thanks Peter. Mine always leaks DNS, and I have been unable to find a solution. Will try this.

  198. gilbert

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

  199. Jonathan

    Tried this on my Linux mint setup and it worked flawlessly. I do have a question though, will we ever get a native linux client?

  200. ProtonVPN Team

    Hello Jonathan.
    Its our goal to create a native linux client, but for now, we are focused on realeasing stable applications for all main platforms. So just to clarify, you can expect that from us, but we dont have a time frame for that. 🙂

  201. John

    Works perfectly here!
    One question though, how can we set it the VPN to connect when the computer boots?
    Thanks

  202. ProtonVPN Team

    Hello John.
    Currently we do not have a way to connect it on boot, but we will register it as a suggestion for the next client tool update. 🙂

  203. el

    +1 for the effort.
    dns leak is still present. Kubuntu 17.10. connect via cli and the ip is changing. but the dns is not. 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?

  204. ProtonVPN Team

    Hello El,
    We have just tested it and it does not leak DNS addresses. If you leaked even with openvpn 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

  205. Mr. ToDoList

    Just installed Kubuntu 16.04/18.04 LTS.
    Tested here: https://ipleak.net/
    No DNS leaks for me.

  206. sweeps

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

  207. ProtonVPN Team

    Hello,
    We are always aware of our customers issues and suggestions. Also, its trully amazing to hear that we lightend up your day!
    If you have any suggestions feel free to contact us and lets us know about it. 🙂

  208. Gentoo Linux user

    I wrote a comment saying there are dns leaks on gentoo both with protonvpn-cli and openvpn. This is a correction to that comment: do not forget to install openresolv (as I did); once installed you will not have leaks any more.

  209. ProtonVPN Team

    Hello,
    Thank you for letting us know, we will make sure to include that in our guide as a note.

  210. non

    openSUSE Tumbleweed here:
    sudo ./protonvpn-cli.sh –install
    Done.

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

  211. ProtonVPN Team

    Hello,
    Thank you for your feedback, we will register this and test it out. Currently we update the client with Solus distributions and we will do so with openSUSE.

  212. Ess

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

  213. ProtonVPN Team

    Hello,
    Thank you for your feedback. We just tried our client tool on freshly isntalled OpenSuse 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 ?

  214. tcpudp

    Could you provide a guide for Manjaro/Arch linux?

  215. ProtonVPN Team

    For Manjaro or Archlinux please use ” pacman -S packagename” For example “sudo pacman -S openvpn” ; “sudo pacman -S wget”; “sudo pacman -S python” ; “sudo pacman -S dialog” and then update everything using “sudo pacman -Syu” , restart the machine and isntall the client Just like in the tutorial. 🙂

  216. Andreas

    Hello,
    working great on Debian 9!
    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!

  217. ProtonVPN Team

    Hello Andreas,
    Thank you for your suggestion!
    For now, you can use this to see what server belongs to what subscription type:
    http://www.protonvpn.com/vpn-servers

  218. Heironymous

    Thanks for this, Proton*. I’ve just tried this on Ubuntu 17.10 (artful), and it seems to work, and with no DNS leakage too.
    I wonder, though, is storing the password as plaintext in the file at ~/.protonvpn-cli/protonvpn_openvpn_credentials really best practice? Might a future version of the scripts use a more secure scheme?

  219. ProtonVPN Team

    Hello there,

    Thank you for your feedback! As for the password, we have registered this as for a discussion to see what we can improve. 🙂

  220. Faisal

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

  221. ProtonVPN Team

    Hello Faisal,
    Thank you for pointing that out! We are genuinely happy to have you in our community! 🙂

  222. Privacy

    [!] Error connecting to VPN.
    Any reason?

  223. ProtonVPN Team

    Hello,
    Please make sure that you are entering your correct OpenVPN credentials and selecting the 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.

  224. Privacy

    Was totally my fault entered my OpenVPN password wrong. Everything is great thank you awesome job.

  225. ProtonVPN Team

    Hello,
    No problem, happens to the best of us! 🙂

  226. n

    Hi,
    Really interested in the software but i have problems with my distribution. I am using Solus and 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)?

  227. ProtonVPN Team

    Hello,
    Could you please contact our support team with the command lines that you exactly enter? https://protonvpn.com/support-form

  228. n

    I made a ticket on the git repo about this error. This should be enough?

  229. ProtonVPN Team

    Yes, this should be enough for us to investigate.

  230. pyjter

    I have exactly same problem on my Solus machine.

  231. ProtonVPN Team

    Hello,
    Thank you for your feedback! We have replicated the issue and will look in to it. 🙂

  232. Pavan

    Should the terminal stay opened after connecting or can it be closed?

  233. ProtonVPN Team

    Hello Pavan,
    You can close the terminal and the connection will stay active until you will open it again and type in : sudo protonvpn-cli -dsiconnect

  234. Shane

    Nope. Close it.

  235. Phil Scarr

    Awesome job, guys. Works like a charm!

  236. any ideas

    Getting this-
    ~/Desktop$ sudo protonvpn-cli -connect
    [!] Error: OpenVPN is already running on this machine.
    any thoughts?

  237. ProtonVPN Team

    Hello.
    That means OpenVPN connection is already connected and running on your device. Ether 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.

  238. Greg

    Good job!!! I have two questions for you:
    1) how to disconnect from ProtonVPN?
    2) why should I use ProtonVPN instead of TOR?
    Thanks!

  239. ProtonVPN Team

    Hello,
    1 – sudo protonvpn-cli -disconnect
    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 +AES256 encryption, or bounce your connection trough TOR random nodes each time 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Don't find your answer? We're happy to help you!     Contact Our Support Team

Secure Your Internet Today

Get ProtonVPN