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