Home » today » Technology » PiVPN: How to secure your home connection via VPN for free

PiVPN: How to secure your home connection via VPN for free

Do you need to securely connect to the Internet in different environments? If you have a public IP address, you may want to use your own VPN. There is a relatively simple way to create it using a Raspberry PI minicomputer and VPN Wireguard. It also works on Ubuntu and Debian distributions. The instructions can also be partially used in a VPS environment.

Why have your own VPN?

If one has one’s own public IP address, one reason for one’s own VPN may be to save money. Why pay commercial fees when I need to connect from other locations so that I can see on the network that I am in the Czech Republic.

However, even if I don’t need to deal with this situation, it has advantages in terms of safety and possibly convenience.

  • Security is especially important in a situation where we need to log in from an unsecured Wi-Fi network to services with high security requirements. I would behave the same way in case of movement in any other network where I do not trust the security. In everyday life, it is most often internet banking.
  • From the point of view of convenience and also security, it is about secured access to your home, to your own data at any time, when needed. Then we don’t have to worry that we don’t have the exact file we need on our mobile phone or laptop, but it’s enough that it’s available in the home storage.

In case we have a public Ip address, we can have a VPN installed at home. However, a VPS service can also be used.

I will look at the PiVPN project, a program that solves simplified installation and configuration for OpenVPN and WireGuard VPN programs. It is primarily intended for the Raspberry PI microcomputer, but it also works on Ubuntu and Debian distributions. The project website can be found at address pivpn.io.

They can also be downloaded directly from the command line. For this we can use this command which also starts the program.

curl -L https://install.pivpn.io | bash

And we get to the actual installation and configuration of the version with WireGuard.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.