[Tutorial] [Edited 2023-09-17] How to install and set up free Proton VPN

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

[Tutorial] [Edited 2023-09-17] How to install and set up free Proton VPN

Post by MikeNovember »

Hi,

This tutorial shows you how to:
- Create a free Proton e-mail address.

- Install and set-up Proton VPN and use its free version with your e-mail credentials.

Warning: as usual, backup your files before to install Proton VPN.


Why a VPN?
- With a VPN you have a partial anonymity: while your true IP address is hidden to the websites you visit, the VPN provider knows all what you do: it just replaces your ISP provider.

- You can use Tor Network within your VPN: visiting the Darknet, your anonymity is reinforced (in the past, flaws in Tor could be used to identify users; and your browser javascript can reveal things about you; with Tor in a VPN you have a double anonymity layer).
[NB: paid versions of Proton VPN include access to Tor network without the need of Tor service or Tor Browser installation; with free Proton VPN you need to use Tor Browser, or Mullvad Browser over Tor, see the "Annex 8: Mullvad Browser Flatpak on Tor Network, a Secure Alternative to Tor Browser" of my "Security, Privacy and Anonymity in Linux Mint" Guide, viewtopic.php?t=397740].


Why Proton VPN?
- You need to trust your VPN provider: Proton is based in Switzerland, its VPN code is Open Source, and it has been independently audited; Proton VPN can be trusted. See https://en.wikipedia.org/wiki/Proton_VPN

- Its free VPN has the same speed as its paid versions: pay VPN users pay for free VPN ones. There are however some limitations:
* Free VPN is limited to one connection,
* Free VPN has three exit countries (Japan, Netherlands, United States), while pay versions have 66 more exit countries,
* Secure Core and Netshield are not available,
* The browser extension does not work with free Proton VPN.
* [...]
See comparison at https://protonvpn.com/pricing

- Proton VPN is simple to install and to use.


Get a free Proton e-mail address
- Create your Proton account here: https://account.proton.me/mail/signup:
* You choose your username and password, and get an e-mail address of the kind "username@proton.me".
* If you use your usual ISP parameters, you will probably be just asked to solve a captcha; if you use Tor or a VPN, you will be probably asked to use an e-mail address that will be verified, and if you don't want to use your usual e-mail address, you will use a disposable one (go to https://yopmail.com/ and create your disposable address, of the kind "anything_you_want@yopmail.com"; it requires no password; once your address created, the inbox will open, keep it in a tab of your browser).

- When proton e-mail creation account is completed, save your Proton credentials (e-mail address, password).


Get and install free Proton VPN
- Download Proton VPN repository installer from this page https://protonvpn.com/support/official-linux-vpn-mint/.

- Once downloaded, open it and install it with gdebi. When done, mintsources will show a new repository:
Capture du 2023-09-14 14-29-03.png

- Install Proton VPN

Code: Select all

sudo apt-get update
sudo apt-get install protonvpn
# installation of tray icon
sudo apt install gir1.2-appindicator3-0.1
When installing tray icon, you may be requested to select your default displays manager. You can get its full path with:

Code: Select all

grep '/usr/s\?bin' /etc/systemd/system/display-manager.service
(for me the answer is "ExecStart=/usr/sbin/lightdm").

- Restart your computer.


Launch and connect Proton VPN
- From your menu, in internet category, launch Proton VPN GUI client.

- At first launch, enter your Proton e-mail address (username@proton.me); at next screen, connect by clicking on "Quick Connect" button.
Here is the result in Proton VPN window:
Capture du 2023-09-14 14-39-18.png

The tray icon shows Proton VPN is connected:
Capture du 2023-09-14 14-42-13.png
Capture du 2023-09-14 14-42-13.png (7.69 KiB) Viewed 460 times

Disconnect Proton VPN
You can disconnect Proton VPN using its main window (click on "Disconnect" button). You can also use the tray icon.
Once done, you will get your former connection again, without VPN.


Proton VPN removal
If you want to remove Proton VPN from your operating system:
* At 1st, disable Kill Swicth in Proton VPN GUI
* 2nd, uninstall Proton VPN and its settings

Code: Select all

sudo apt-get autoremove protonvpn
rm -rf ~/.cache/protonvpn
rm -rf ~/.config/protonvpn
(NB: you can keep "gir1.2-appindicator3-0.1" since it can be used by other applications).
* Finally, check in mintsources that "Protonvpn / stable" repository has been removed, or remove it manually. Check in Synaptic that none of the following packages is still installed: "protonvpn", "protonvpn-cli", "protonvpn-gui", "protonvnp-stable-release", "python3-proton-client", "python3-protonvpn-nm-lib".

If Kill Switch has not been set to OFF before uninstalling Proton VPN, the internet access will not be possible.
Here is how to disable Kill Switch once Proton VPN has been uninstalled (from: https://protonvpn.com/support/official-linux-vpn-mint/, "2. How to disable Kill Switch if you have uninstalled the app"):
If the app is still installed, you can disable the kill switch from within the app. If you have uninstalled the app with the kill switch still enabled, then this won’t be possible and you may not be able to access the internet. To fix this:

a) Identify the name of the Proton VPN connection. To do this, run:
nmcli connection show --active
You will now see a list of active connections.

b) Look for any connections with names that start pvpn- This usually includes pvpn-killswitch and pvpn-ipv6leak-protection, and may include pvpn-routed-killswitch. Delete all these connections using the following command:
nmcli connection delete [connection name]
For example:
nmcli connection delete pvpn-killswitch

c) Once you’ve done this, run the following command again to make sure that all Proton VPN connections have been deleted:
nmcli connection show --active
If any remain, delete them as described above.
My advice: don't use Kill Switch, because it can generate troubles, see viewtopic.php?t=402483


Feel free to comment,

Regards,

MN
Last edited by MikeNovember on Sun Sep 17, 2023 5:16 am, edited 8 times in total.
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
User avatar
Lady Fitzgerald
Level 13
Level 13
Posts: 4888
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: [Tutorial] How to install and set up free Proton VPN

Post by Lady Fitzgerald »

While reading your directions, you said,

"- Download Proton VPN repository installer from this page https://protonvpn.com/support/official-linux-vpn-mint/.

- Once downloaded, open it and install it with gdebi. When done, mintsources will show a new repository:"

What is gdebi and how do you install with it?

What is Mint resources?
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] How to install and set up free Proton VPN

Post by MikeNovember »

Lady Fitzgerald wrote: Thu Sep 14, 2023 9:52 am [...]
What is gdebi and how do you install with it?

What is Mint resources?
Hi,

Gdebi is a deb installer; you open your file manager, select the deb, right click and "install with gdebi". If not installed on your computer, sudo apt-get install gdebi

Mintsources is a software configuration tool, it allows the user to adjust software repositories, select a mirror, include PPAs and do package management tasks. It should be in your menu or appear in Update manager/Edition as "Software Sources". You can also launch it by typing "mintsources" in a terminal.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
User avatar
Lady Fitzgerald
Level 13
Level 13
Posts: 4888
Joined: Tue Jan 07, 2020 3:12 pm
Location: AZ, SSA (Squabbling States of America)

Re: [Tutorial] How to install and set up free Proton VPN

Post by Lady Fitzgerald »

MikeNovember wrote: Thu Sep 14, 2023 1:41 pm
Lady Fitzgerald wrote: Thu Sep 14, 2023 9:52 am [...]
What is gdebi and how do you install with it?

What is Mint resources?
Hi,

Gdebi is a deb installer; you open your file manager, select the deb, right click and "install with gdebi". If not installed on your computer, sudo apt-get install gdebi

Mintsources is a software configuration tool, it allows the user to adjust software repositories, select a mirror, include PPAs and do package management tasks. It should be in your menu or appear in Update manager/Edition as "Software Sources". You can also launch it by typing "mintsources" in a terminal.

Regards,

MN
Thank you!
Jeannie

To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
User avatar
Pippin
Level 4
Level 4
Posts: 433
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: [Tutorial] How to install and set up free Proton VPN

Post by Pippin »

MikeNovember wrote: Thu Sep 14, 2023 8:55 am Proton VPN removal
If you want to remove Proton VPN from your operating system:

Code: Select all

sudo apt-get purge protonvpn protonvpn-cli protonvpn-gui protonvnp-stable-release python3-proton-client python3-protonvpn-nm-lib
(NB: you can keep "gir1.2-appindicator3-0.1" since it can be used by other applications).
Finally, check in mintsources that "Protonvpn / stable" repository has been removed, or remove it manually.
If one has the kill switch enabled and then uninstall the app, one will end up with no network access.
So first disable the kill switch then uninstall.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] How to install and set up free Proton VPN

Post by MikeNovember »

Pippin wrote: Thu Sep 14, 2023 2:47 pm [...]
If one has the kill switch enabled and then uninstall the app, one will end up with no network access.
So first disable the kill switch then uninstall.
Hi,

You have not completely read my message: with the free Proton VPN, Kill Switch is not available.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
User avatar
Pippin
Level 4
Level 4
Posts: 433
Joined: Wed Dec 13, 2017 11:14 am
Location: The Shire

Re: [Tutorial] How to install and set up free Proton VPN

Post by Pippin »

Hi,

Indeed, I have missed that you wrote that.

Not going to try it but they must have done something in the app to determine if one has a free account.
A kill switch is implemented client side.....
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] How to install and set up free Proton VPN

Post by MikeNovember »

Pippin wrote: Fri Sep 15, 2023 4:11 am [...]
Not going to try it but they must have done something in the app to determine if one has a free account.
A kill switch is implemented client side.....
Hi,

It is related to your credentials: with your proton mail address, the app can recognize if you have a free or paid account.

Note that this page has instructions to disable Kill Switch after app uninstallation, https://protonvpn.com/support/official-linux-vpn-mint/.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] How to install and set up free Proton VPN

Post by MikeNovember »

Correction:

Though Secure Core, Netshield and Kill Switch are said not available in Free Proton VPN, Kill Switch is available and functions!

Net Shield and Secure Core are there in the app, but when clicking on them a Proton VPN web page opens, requiring to update plan.

So, I have updated the tutorial.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
mmm
Level 3
Level 3
Posts: 187
Joined: Sun Sep 03, 2017 6:57 am

Re: [Tutorial] [Edited 2023-09-15] How to install and set up free Proton VPN

Post by mmm »

There are however some limitations:
* Free VPN is limited to one connection,
Can I install it on several machines as long as I am only using it on one machine at a time?
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] [Edited 2023-09-15] How to install and set up free Proton VPN

Post by MikeNovember »

mmm wrote: Sun Sep 17, 2023 2:40 am
There are however some limitations:
* Free VPN is limited to one connection,
Can I install it on several machines as long as I am only using it on one machine at a time?
Hi,

Of course, you can install Proton VPN on several machines (Linux, Windows, MacOS, iOS, Android etc.).
But I have not tested if, once installed and run on a computer, this computer is identified as THE only computer allowed to run Proton VPN.

You can probably run it, once at a time, on different computers, but you have to test it.

Pay versions allow to protect 10 devices at a time.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
mmm
Level 3
Level 3
Posts: 187
Joined: Sun Sep 03, 2017 6:57 am

Re: [Tutorial] [Edited 2023-09-15] How to install and set up free Proton VPN

Post by mmm »

There are however some limitations:
* Free VPN is limited to one connection,
Can I install it on several machines as long as I am only using it on one machine at a time?
[/quote]
Of course, you can install Proton VPN on several machines (Linux, Windows, MacOS, iOS, Android etc.).
But I have not tested if, once installed and run on a computer, this computer is identified as THE only computer allowed to run Proton VPN.
You can probably run it, once at a time, on different computers, but you have to test it.
[/quote]

I tried to test it - but it seemed impossible to even install it on another machine.
Has anyone reading this forum managed to do that?
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] [Edited 2023-09-15] How to install and set up free Proton VPN

Post by MikeNovember »

mmm wrote: Sun Sep 17, 2023 4:33 am [...]
I tried to test it - but it seemed impossible to even install it on another machine.
Has anyone reading this forum managed to do that?

Hi,

Here is what says the FAQ:
Capture du 2023-09-17 10-46-31.png

It speaks of number of connections, not of number of installations.

Note that, if you have a compatible router, you can install Proton VPN on your router, and it will protect all the devices connected to the router. See https://protonvpn.com/support/installin ... -a-router/.

You can also create as many different Proton e-mail addresses as the number of devices on which you want to install free Proton VPN. :mrgreen:

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
apollos
Level 1
Level 1
Posts: 7
Joined: Sat Dec 17, 2022 4:24 pm

Re: [Tutorial] [Edited 2023-09-17] How to install and set up free Proton VPN

Post by apollos »

Hi, very good tutorial well explained thank you for sharing
User avatar
MikeNovember
Level 7
Level 7
Posts: 1606
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: [Tutorial] [Edited 2023-09-17] How to install and set up free Proton VPN

Post by MikeNovember »

Hi,

A caveat to be mentioned: when Proton VPN is active, I don't see my local network, except my router.

So, I can't print on my Wi-Fi printer: I need to disconnect Proton VPN before to print.

It seems that Windows and Android apps have settings menu, where you can define the list of addresses that you don't want to be tunneled. But Linux GUI doesn't have this option.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
Post Reply

Return to “Tutorials”