Debian Buster: Free VPN with ProtonVPN

Share your own howto's etc. Not for support questions!

Debian Buster: Free VPN with ProtonVPN

Postby Hallvor » 2019-12-09 17:56

What to do
In this howto, we will install a completely free VPN service. This requires installation of software from an external source.

What is VPN?
A virtual private network (VPN) extends a private network across a public network, and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.

ProtonVPN
There are numerous providers out there, but very few are free. ProtonVPN utilizes OpenVPN (UDP/TCP) and the IKEv2 protocol, with AES-256 encryption. The company has a strict no-logging policy for user connection data, and also prevents DNS and Web-RTC leaks from exposing users' true IP addresses. ProtonVPN also includes Tor access support and a kill switch to shut off Internet access in the event of a lost VPN connection.

Getting started
We'll need to run a few commands as root to install the protonvpn application.

Open a console and type

Code: Select all
$ su -



Install the necessary dependencies

Code: Select all
# apt install openvpn dialog python3-pip python3-setuptools


We will use pip to install the protonvpn-cli client
Code: Select all
# pip3 install protonvpn-cli


If you haven't done so already, you need to register at https://protonvpn.com to get your username and password. You will need them in your next step.

Initialize your client
Code: Select all
# protonvpn init


Type your username and password, select your plan, and choose your protocol. Everything is well explained as you go. Confirm that your information is correct, and you are ready to connect! Choose your server. They are located in the Netherlands, in the US and in Japan.

Code: Select all
# protonvpn c


If you just want to connect to the fastest server, type
Code: Select all
# protonvpn c -f


That's it. Test that your IP-address has changed, for instance by trying the following link: https://ipleak.net/

If you want to use your regular connection, just shut down your connection:
Code: Select all
# protonvpn d




Credits:
https://en.wikipedia.org/wiki/Virtual_private_network
https://en.wikipedia.org/wiki/ProtonVPN
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 1068
Joined: 2009-04-16 18:35
Location: Norway

Re: Debian Buster: Free VPN with ProtonVPN

Postby arochester » 2019-12-09 19:39

1) ProtonVPN limits the number of countries you can pretend to be browsing from to just three.
2) It throttles speeds
3) It only lets you run on one device.

You get a seven-day trial of the paid-for version with the free download.
arochester
 
Posts: 1695
Joined: 2010-12-07 19:55

Re: Debian Buster: Free VPN with ProtonVPN

Postby oswaldkelso » 2019-12-09 22:50

https://protonvpn.com/pricing
I have a protonmail account and looked at their vpn but saw nothing about a 7 day limit but not tried signing up. Is it in the small print? I liked it was Swiss based so away from 14 eyes. also don't be put off by the lack of servers as proton only use servers they actually man iirc. In the end I took a paid plan and went for airvpn as they're free-software friendly and have good forums. https://airvpn.org/ they have a nice GNU/Linux gui client which will also work with other vpns (source code on github. it's a bit fat and written in c##) :shock: They also provide a custom config file for pure openvpn. So you can be light if you want/need to.

Anyway VPN is the way to go but there are many dodgy reviews out there so tread carefully.
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1255
Joined: 2005-07-26 23:20
Location: UK

Re: Debian Buster: Free VPN with ProtonVPN

Postby Hallvor » 2019-12-10 08:11

Here is what they write about their free plan. If anyone knows of a better free deal, please let me know.

Free
$0 /mo

3 Countries
1 Device
Speed: Medium
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 1068
Joined: 2009-04-16 18:35
Location: Norway

Re: Debian Buster: Free VPN with ProtonVPN

Postby Debian4l1fe » 2019-12-10 15:25

Very useful.
Apartheid Cyberwar Edition
Debian4l1fe
 
Posts: 4
Joined: 2019-11-19 15:01

Re: Debian Buster: Free VPN with ProtonVPN

Postby sickpig » 2019-12-18 07:52

why would anyone need a vpn? benefits?
User avatar
sickpig
 
Posts: 407
Joined: 2019-01-23 10:34


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable